Assets
List of NFT Base Assets API Endpoints.
All Assets
/assets
GET
https://explorer.protokol.sh/api/nft/assets
Returns all Assets
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | The number of page to be returned |
limit | integer | The number of transaction per page |
orderBy | string | Order by specific parameter (asc or desc) Example: orderBy=id:asc |
transform | boolean | Transform to raw response |
Examples
Asset by id
/assets/:id
GET
https://explorer.protokol.sh/api/nft/assets/:id
Returns asset by id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The identifier of the asset to be retrieved |
Query Parameters
Name | Type | Description |
---|---|---|
transform | boolean | Transform to raw response |
Examples
Wallet Owning Asset
/assets/:id/wallets
GET
https://explorer.protokol.sh/api/nft/assets/:id/wallets
Returns assets owner wallet
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The identifier of the asset |
Examples
Wallet Assets
/assets/wallet/:id
GET
https://explorer.protokol.sh/api/nft/assets/wallet/:id
Returns all assets a wallet owns.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Public key of a wallet |
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | The number of the page that will be returned |
limit | integer | The number of resources per page |
orderBy | string | Order by specific parameter (asc or desc) Example: orderBy=id:asc |
transform | boolean | It returns modified or raw data |
inAuction | boolean | Returns only assets in active auctions (not canceled or accepted trade auctions) |
inExpiredAuction | boolean | Extends inAuction parameter, if true include assets included in expired auction, false by default |
Examples
Search By Asset
/assets/search
POST
https://explorer.protokol.sh/api/nft/assets/search
Search assets by their JSON attributes.
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | The number of the page that will be returned |
limit | integer | The number of resources per page |
orderBy | string | Order by specific parameter (asc or desc) Example: orderBy=id:asc |
transform | boolean | It returns modified or raw data. |
Request Body
Name | Type | Description |
---|---|---|
attributeName | object | Attribute to search by. |
Examples
Last updated