Bids

List of NFT Exchange Bid Endpoints.

All Bids

/bids

GET https://explorer.protokol.sh/api/nft/exchange/bids

Return all bids

Query Parameters

Name
Type
Description

page

integer

The number of 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

{
  "meta": {
    "totalCountIsEstimate": true,
    "count": 2,
    "pageCount": 1,
    "totalCount": 2,
    "next": null,
    "previous": null,
    "self": "/nft/exchange/bids?transform=true&page=1&limit=100",
    "first": "/nft/exchange/bids?transform=true&page=1&limit=100",
    "last": "/nft/exchange/bids?transform=true&page=1&limit=100"
  },
  "data": [
    {
      "id": "73f15a9d387035ac8f860e9f6bce63919735f8cf4eee05048ac31b935d3d69a1",
      "senderPublicKey": "02def27da9336e7fbf63131b8d7e5c9f45b296235db035f1f4242c507398f0f21d",
      "nftBid": {
        "auctionId": "08466d59b86622152c643558c03e4037454dcaf4d8188af876812c79d433ae20",
        "bidAmount": "150000000000"
      },
      "timestamp": {
        "epoch": 143238112,
        "unix": 1633339312,
        "human": "2021-10-04T09:21:52.000Z"
      }
    },
    {
      "id": "ce81232de97526c7be16dc66f7efba4f8f92a686e8b8d1250f48a87dacd45945",
      "senderPublicKey": "02def27da9336e7fbf63131b8d7e5c9f45b296235db035f1f4242c507398f0f21d",
      "nftBid": {
        "auctionId": "91221ffc0838fde5983e5ffe32c427b5720dc5703df6b89f1126fa7f62ebd964",
        "bidAmount": "150000000000"
      },
      "timestamp": {
        "epoch": 143238328,
        "unix": 1633339528,
        "human": "2021-10-04T09:25:28.000Z"
      }
    }
  ]
}

Examples

Bids By Id

/bids/:id

GET https://explorer.protokol.sh/api/nft/exchange/bids/:id

Returns bid by id

Path Parameters

Name
Type
Description

id

string

The identifier of the bid to be retrieved

Query Parameters

Name
Type
Description

transform

boolean

Returns modified or raw data

Examples

Bids Wallet

/bids/:id/wallets

GET https://explorer.protokol.sh/api/nft/exchange/bids/:id/wallets

Returns wallet owning the bid

Path Parameters

Name
Type
Description

id

string

The identifier of the auction

Examples

Search Bids

POST https://explorer.protokol.sh/api/nft/exchange/bids/search

Seach auctions

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

array

Id of an auction

bidAmount

string

Amount of a bid

Examples

Canceled Bids

/bids/canceled

GET https://explorer.protokol.sh/api/nft/exchange/bids/canceled

Returns canceled bids 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

Canceled Bids By Id

/bids/canceled/:id

GET https://explorer.protokol.sh/api/nft/exchange/bids/canceled/:id

Returns canceled bid transaction by id

Path Parameters

Name
Type
Description

id

string

The identifer of canceled bid to be retrieved

Query Parameters

Name
Type
Description

transform

boolean

Returns modified or raw data

Examples

Last updated

Was this helpful?