Utils
These functions allow users to search tokens recorded on the blockchain network or search the owner of the tokens.
Contents
Name | Description |
---|---|
Search token information using token ID. | |
Search all tokens recorded on the chain network. | |
Search the list of token ID owned by the wallet. | |
Parameters required to call API. |
1. getTokenData
Imports token ID information.
Parameters
Name | Type | Example |
---|---|---|
tokenID | String | "ufirma" |
Return value
2. getTokenDataAll
Search all token data recorded on the blockchain network.
Return value
3. getTokenDataListFromOwner
Search the token ID list owned by the wallet.
Parameters
Name | Type | Example |
---|---|---|
ownerAddress | String | "firma1nssuz67am2uwc2hjgvphg0fmj3k9l6cx65ux9u" |
Return value
4. Parameter Description
Name | Description |
---|---|
tokenID | This is an ID generated at the time of token creation. |
ownerAddress | For this parameter, please enter your FirmaChain wallet address. The owner of the wallet can be anyone. (e.g. “Service Wallet Address” or “Signatory’s Wallet Address”). |
Last updated