📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

xem
NEM (XEM)

Method: GET /account/mosaic/definition/page

dropdown

Method REST /account/mosaic/definition/page example for NEM (XEM)

GET /account/mosaic/definition/page

Gets an array of mosaic definition objects for a given account address. The parent parameter is optional. If supplied, only mosaic definitions for the given parent namespace are returned. The id parameter is optional and allows retrieving mosaic definitions in batches of 25 mosaic definitions.

Parameters

address - string

The address of the account.

parent - string

The optional parent namespace id.

id - string

The optional mosaic definition database id up to which mosaic definitions are returned.

Request

curl --location --request GET 'https://xem.getblock.io/account/mosaic/definition/page?address=NC4T246ALCPNBTAOCSC5EAVFMDFBOACSQAF6WKHV' \
 --header 'x-api-key: YOUR-API-KEY' \
 --header 'Content-Type: application/json'


Response

{
    "data": [
        {
            "creator": "10cfe522fe23c015b8ab24ef6a0c32c5de78eb55b2152ed07b6a092121187100",
            "id": {
                "namespaceId": "makoto.metal.coins",
                "name": "silver coin"
            },
            "description": "Real silver coins, pure silver",
            "properties": [
                {
                    "name": "divisibility",
                    "value": "0"
                },
                {
                    "name": "initialSupply",
                    "value": "1000"
                },
                {
                    "name": "supplyMutable",
                    "value": "false"
                },
                {
                    "name": "transferable",
                    "value": "true"
                }
            ]
        }
    ]
}