Values.GetTokenBalanceInputSourceGets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain. Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
type nonrec t = {tokenIdentifier : TokenIdentifier.t;The container for the identifier for the token, including the unique token ID and its blockchain network.
*)ownerIdentifier : OwnerIdentifier.t;The container for the identifier for the owner.
*)atBlockchainInstant : BlockchainInstant.t option;The time for when the TokenBalance is requested or the current time if a time is not provided in the request. This time will only be recorded up to the second.
*)}val make :
?atBlockchainInstant:??? ->
tokenIdentifier:TokenIdentifier.t ->
ownerIdentifier:OwnerIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `String of ChainAddress.t
| `Timestamp of Timestamp.t ])
list ])
list ]