/account/mosaic/owned - NEM
Example code for the /account/mosaic/owned rest method. Сomplete guide on how to use /account/mosaic/owned rest in GetBlock.io Web3 documentation.
Parameters
address
-
The address of the account.
Request
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/account/mosaic/owned?address=NCXIQA4FF5JB6AMQ53NQ3ZMRD3X3PJEWDJJJIGHT' \
--header 'Content-Type: application/json'
Response
{
"data": [
{
"mosaicId": {
"name": "xem",
"namespaceId": "nem"
},
"quantity": 20612640711967
},
{
"mosaicId": {
"name": "ch0459804891b",
"namespaceId": "asset"
},
"quantity": 2000000
}
]
}
Last updated