Token transferer

[blockchain/ethereum/contracts/erc20/Token transferer]

Transfers ERC20 token to the target address. More:

Keywords: ethereum, blockchain, erc20, token transfer.

Input ports

  • token address: string

    Receives the address of the token contract from which the user wants to transfer. Example: "0xb794f5ea0ba39494ce839613fffba74279579268"

  • target address: string

    Receives recipient's address for the transaction. Example: "0xc794f5ea0ba39494ce839613fffba74279579269"

  • token amount: number

    Receives the number of tokens to be transferred. Example: 1

  • credentials: {"providerUrl": string, "privateKey": string}

    Recives the node provider URL and the wallet private key.

      "providerUrl": "",<br>
      "privateKey": "XXXXXXXXXXXXXXXXXXXXXX"<br>

Output ports

  • result: any

    Sends the transaction receipt.

  • error: {"error": string}

    Sends the error, if any.

Last updated