Generalized Account
@aeternity/aepp-sdk/es/contract/ga
Generalize Account module - routines to use generalize account
Example
import GeneralizeAccount from '@aeternity/aepp-sdk/es/contract/ga' (Using tree-shaking)
Example
import { GeneralizeAccount } from '@aeternity/aepp-sdk' (Using bundle)
- @aeternity/aepp-sdk/es/contract/ga
- createGeneralizeAccount(authFnName, source, args, options) ⇒
Promise.<Readonly.<{result: \*, owner: \*, createdAt: Date, address, rawTx: \*, transaction: \*}>>
⏏ - createMetaTx(rawTransaction, authData, authFnName, options) ⇒
String
⏏
- createGeneralizeAccount(authFnName, source, args, options) ⇒
createGeneralizeAccount(authFnName, source, args, options) ⇒ Promise.<Readonly.<{result: \*, owner: \*, createdAt: Date, address, rawTx: \*, transaction: \*}>>
⏏
Convert current account to GA account
Kind: Exported function
Param | Type | Description |
---|---|---|
authFnName | String |
Authorization function name |
source | String |
Auth contract source code |
args | Array |
init arguments |
options | Object |
Options |
createMetaTx(rawTransaction, authData, authFnName, options) ⇒ String
⏏
Create a metaTx transaction
Kind: Exported function
Param | Type | Description |
---|---|---|
rawTransaction | String |
Inner transaction |
authData | Object |
Object with gaMeta params |
authFnName | String |
Authorization function name |
options | Object |
Options |