New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

2 min read

Method /account/mosaic/owned Nem (XEM)
connect with REST protocol

/account/mosaic/owned

info-circle-fill

Gets an array of mosaic objects for a given account address.

Parameters

address -

The address of the account.

Request

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

Response

{
    "data": [
        {
            "mosaicId": {
                "name": "xem",
                "namespaceId": "nem"
            },
            "quantity": 20612640711967
        },
        {
            "mosaicId": {
                "name": "ch0459804891b",
                "namespaceId": "asset"
            },
            "quantity": 2000000
        }
    ]
}
banner icon

Start Building with GetBlock RPCs for Free