Transfer ERC20
Use this method to transfer an ERC721 token.
Usage in your script
Member Functions
.Initialize()
Parameter
Type
Required
Description
destroyAtEnd
bool
Optional
defines if this component will be destroyed after .Run()
.SetParameters()
Parameter
Type
Required
Description
contract_addr
String
Yes
the token contract address
chainId
String
Yes
The chain id
amount
String
Yes
the amount of tokens to transfer
to_addr
String
Yes
address of receiver
.onError()
Action on Error: returns error information.
.onComplete()
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last updated
Was this helpful?