curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getAssetsByAuthority",
"params": {
"authorityAddress": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"limit": 100
}
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {
"total": 1,
"limit": 100,
"cursor": "J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w",
"items": [
{
"interface": "ProgrammableNFT",
"id": "J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w",
"content": {
"$schema": "https://schema.metaplex.com/nft1.0.json",
"json_uri": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.json",
"files": [
{
"uri": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.png",
"mime": "image/png",
"cdn_uri": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fmadlads-collection.s3.us-west-2.amazonaws.com%2F_collection.png"
}
],
"metadata": {
"name": "Mad Lads",
"symbol": "MAD",
"json_name": "Mad Lads",
"description": "Fock it.",
"attributes": [],
"token_standard": "ProgrammableNonFungible"
},
"links": {
"image": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.png",
"external_url": "https://madlads.com"
},
"category": "image"
},
"authorities": [
{
"address": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"scopes": [
"full"
]
}
],
"compression": {
"eligible": false,
"compressed": false,
"data_hash": "",
"creator_hash": "",
"asset_hash": "",
"tree": "",
"seq": 0,
"leaf_id": 0
},
"grouping": [],
"royalty": {
"royalty_model": "creators",
"target": null,
"percent": 0.05,
"basis_points": 500,
"primary_sale_happened": false,
"locked": false
},
"creators": [
{
"address": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"share": 100,
"verified": true
}
],
"ownership": {
"frozen": true,
"delegated": false,
"delegate": null,
"ownership_model": "single",
"owner": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW"
},
"supply": {
"print_max_supply": 0,
"print_current_supply": 0,
"edition_nonce": 253
},
"mutable": true,
"burnt": false,
"token_info": {
"supply": 1,
"decimals": 0,
"token_program": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"mint_authority": "2G5CotQ6Q87yhZxKUWkwLY6Foi12Q3VFQ6KN4nTLbPSz",
"freeze_authority": "2G5CotQ6Q87yhZxKUWkwLY6Foi12Q3VFQ6KN4nTLbPSz"
}
}
],
"last_indexed_slot": 386264187
}
}DAS API
Método DAS getAssetsByAuthority
Lista NFT, activos Core y NFT comprimidos de Solana por autoridad de actualización, incluidos los miembros de las colecciones Core que controla. Parámetros y ejemplos de getAssetsByAuthority.
POST
/
curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getAssetsByAuthority",
"params": {
"authorityAddress": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"limit": 100
}
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {
"total": 1,
"limit": 100,
"cursor": "J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w",
"items": [
{
"interface": "ProgrammableNFT",
"id": "J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w",
"content": {
"$schema": "https://schema.metaplex.com/nft1.0.json",
"json_uri": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.json",
"files": [
{
"uri": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.png",
"mime": "image/png",
"cdn_uri": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fmadlads-collection.s3.us-west-2.amazonaws.com%2F_collection.png"
}
],
"metadata": {
"name": "Mad Lads",
"symbol": "MAD",
"json_name": "Mad Lads",
"description": "Fock it.",
"attributes": [],
"token_standard": "ProgrammableNonFungible"
},
"links": {
"image": "https://madlads-collection.s3.us-west-2.amazonaws.com/_collection.png",
"external_url": "https://madlads.com"
},
"category": "image"
},
"authorities": [
{
"address": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"scopes": [
"full"
]
}
],
"compression": {
"eligible": false,
"compressed": false,
"data_hash": "",
"creator_hash": "",
"asset_hash": "",
"tree": "",
"seq": 0,
"leaf_id": 0
},
"grouping": [],
"royalty": {
"royalty_model": "creators",
"target": null,
"percent": 0.05,
"basis_points": 500,
"primary_sale_happened": false,
"locked": false
},
"creators": [
{
"address": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW",
"share": 100,
"verified": true
}
],
"ownership": {
"frozen": true,
"delegated": false,
"delegate": null,
"ownership_model": "single",
"owner": "2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW"
},
"supply": {
"print_max_supply": 0,
"print_current_supply": 0,
"edition_nonce": 253
},
"mutable": true,
"burnt": false,
"token_info": {
"supply": 1,
"decimals": 0,
"token_program": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"mint_authority": "2G5CotQ6Q87yhZxKUWkwLY6Foi12Q3VFQ6KN4nTLbPSz",
"freeze_authority": "2G5CotQ6Q87yhZxKUWkwLY6Foi12Q3VFQ6KN4nTLbPSz"
}
}
],
"last_indexed_slot": 386264187
}
}Pasa la autoridad de actualización como
authorityAddress.
- Nombre de método aceptado: solo
getAssetsByAuthority. No hay alias snake_case. - Los resultados incluyen activos de Token Metadata con esta autoridad de actualización, activos y colecciones de Metaplex Core con ella, todos los miembros de una colección Core que controla y NFT comprimidos.
- No se listan los tokens Token-2022 que usan la extensión de metadatos. Se omiten los activos con supply cero.
limites 1000 por defecto y no puede superar 1000. Sinpage,beforeniafter, la respuesta incluye uncursorpara la página siguiente. Los órdenes distintos deidrequierenpage.- Una petición examina como máximo 200.000 activos candidatos. Para páginas profundas, pagina con
cursoren lugar de números depagealtos. - Coste: 1 crédito por página. Cuenta para el límite de RPS DAS de tu plan.
Cuerpo
application/json
¿Esta página le ayudó?