New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More [blocked]
English
Returns a list of assets owned by a given authority.
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getAssetsByAuthority", "params": { "authorityAddress": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW" } }'
{ "jsonrpc": "2.0", "result": { "last_indexed_slot": 365750752, "total": 1, "limit": 1, "page": 1, "items": [ { "interface": "ProgrammableNFT", "id": "JEGruwYE13mhX2wi2MGrPmeLiVyZtbBptmVy9vG3pXRC", "content": { "$schema": "https://schema.metaplex.com/nft1.0.json", "json_uri": "https://madlads.s3.us-west-2.amazonaws.com/json/6867.json", "files": [ { "uri": "https://madlads.s3.us-west-2.amazonaws.com/images/6867.png", "cdn_uri": "https://cdn.helius-rpc.com/cdn-cgi/image//https://madlads.s3.us-west-2.amazonaws.com/images/6867.png", "mime": "image/png" } ] }, "authorities": [ { "address": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW", "scopes": [ "full" ] } ], "compression": { "eligible": false, "compressed": false, "data_hash": "", "creator_hash": "", "asset_hash": "", "tree": "", "seq": 0, "leaf_id": 0 }, "grouping": [ { "group_key": "collection", "group_value": "J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w" } ], "royalty": { "royalty_model": "creators", "target": null, "percent": 0.042, "basis_points": 420, "primary_sale_happened": true, "locked": false }, "creators": [ { "address": "5XvhfmRjwXkGp3jHGmaKpqeerNYjkuZZBYLVQYdeVcRv", "share": 0, "verified": true } ], "ownership": { "frozen": true, "delegated": false, "delegate": null, "ownership_model": "single", "owner": "3F21SJs4FMpsakrxmd8GjgfQZG6BN6MVsvXcm5Yc6Jcf" }, "burnt": "<any>" } ] } }
2.0
getAssetsByAuthority
Show child attributes
Was this page helpful?