Properties
Readonly config
config: any
Methods
account
- account(accountId: string): Promise<Account>
-
Parameters
Returns Promise<Account>
createAccount
-
Parameters
Returns Promise<Account>
loadContract
- loadContract(contractId: string, options: { changeMethods: string[]; sender: string; viewMethods: string[] }): Promise<Contract>
-
Parameters
-
contractId: string
-
options: { changeMethods: string[]; sender: string; viewMethods: string[] }
-
changeMethods: string[]
-
sender: string
-
viewMethods: string[]
Returns Promise<Contract>
sendTokens
- sendTokens(amount: BN, originator: string, receiver: string): Promise<string>
-
Parameters
-
amount: BN
-
originator: string
-
receiver: string
Returns Promise<string>