TokenBalance
Description
TokenBalance - Returns the balance of a token for a given address.
Action ID
0x019d9978
SDK Action
const tokenBalanceAction = new dfs.actions.basic.TokenBalanceAction(
tokenAddr,
holderAddr
);Action Type
STANDARD_ACTION
Input Parameters
/// @param tokenAddr Address of the token
/// @param holderAddr Address of the holder
struct Params {
address tokenAddr;
address holderAddr;
}Return Value
return bytes32(inputData.tokenAddr.getBalance(inputData.holderAddr));Events and Logs
Last updated
Was this helpful?