Tokens
Get MRC20-Token Total Supply by Contract's Address
Returns the total MRC20 token supply of the contract's address.
GET https://testnetapi.metadium.com/v1/tokens/{contract_hash/total-supply
api-key: Your API Key
Query Parameters
Parameter
Description
contract_hash
type: String
value: Address of contract
required: true
Get MRC20-Token Account Balance
Returns the balance of the MRC20 token account.
GET https://testnetapi.metadium.com/v1/tokens/{contract_hash}/balance/{address_hash}
api-key: Your API Key
Query Parameters
Parameter
Description
contract_hash
type: String
value: Address of contract
required: true
address_hash
type: String
value: Address (sender/receiver/contract)
required: true
Get MRC-721 Token Held by Holder Inventory
Returns the list of MRC721 held by the holder.
GET https://testnetapi.metadium.com/v1/tokens/{contract_hash}/inventory
api-key: Your API Key
Query Parameters
Parameter
Description
contract_hash
type: String
value: Address of contract
required: true
address_hash
type: String
value: Address (sender/receiver/contract)
required: true
Token Holder count lookup
Returns the number of holders holding the token.
GET https://testnetapi.metadium.com/v1/tokens/{contract_hash}/holder-count
api-key: Your API Key
Query Parameters
Parameter
Description
contract_hash
type: String
value: Address of contract
required: true
Last updated