balance_of
An entrypoint that retrieves a user's LP tokens amount and sends it to the callback contract. Works exactly like FA2 balance_of entrypoint according to TZIP-012.
Call parameters
bal_request_t
Field
Type
Description
owner
address
Owner of tokens
toeken_id
token_id_t
Token ID
bal_response_t
Field
Type
Description
balance
nat
Balance of token
balance_of_t
Field
Type
Description
Usage
Errors
412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).FA2_TOKEN_UNDEFINED
- token withtoken_id
doesn't exist.
Last updated