For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

//Response Sample Result
{
    "status": "200",
    "message": "success",
    "results": {
        "data": {
            "total_supply": "100000000000000000000000000"
        }
    }
}

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

//Response Sample Result
{
    "status": "200",
    "message": "success",
    "results": {
        "data": {
            "balance": "461538000000000"
        }
    }
}

Get MRC-721 Token Held by Holder Inventory

Returns the list of MRC721 held by the holder.

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.

Query Parameters

Parameter

Description

contract_hash

type: String

value: Address of contract

required: true

Last updated