Trades
List of NFT Exchange Trade Endpoints
All Trades
/auctions
GET
https://explorer.protokol.sh/api/nft/exchange/trades
Returns all trade transactions
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 | Returns modified or raw data |
Examples
Trade By Id
/trades/:id
GET
https://explorer.protokol.sh/api/nft/exchange/trades/:id
Returns trade by id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The identifier of the trade to be retrieved |
Query Parameters
Name | Type | Description |
---|---|---|
transform | boolean | Returns modified or raw data |
Examples
Search Trades
/auctions/search
POST
https://explorer.protokol.sh/api/nft/exchange/trades/search
Search trades
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 | Returns modified or raw data |
Request Body
Name | Type | Description |
---|---|---|
senderPublicKey | string | Public key of a sender |
auctionId | string | Id of an auction |
startAmount | string | Start amount of auctions |
expiration: { blockHeight} | object | Block height expiration |
Examples
Last updated