Skip to main content

ContractBalance

Represents a token balance held by a contract. This type is exposed through the GraphQL API to allow clients to query unshielded token balances for any contract action (Deploy, Call, Update).

type ContractBalance {
tokenType: HexEncoded!
amount: String!
}

Fields

ContractBalance.tokenType ● HexEncoded! non-null scalar

Hex-encoded token type identifier.

ContractBalance.amount ● String! non-null scalar

Balance amount as string to support larger integer values (up to 16 bytes).

Member Of

ContractAction interface ● ContractCall object ● ContractDeploy object ● ContractUpdate object