token decimals getter

[blockchain/ethereum/contracts/erc20/token decimals getter]

Input ports

  • token address: string

    The address of the token contract from which the user wants to transfer.

  • token abi: {string: any}

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

Output ports

  • decimals: number

    The decimals field of the ERC20 contract.

  • error: {"error": string}

Last updated