Protokol
Search
K

Bids

List of NFT Exchange Bid Endpoints.

All Bids

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

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/exchange/bids
const response = connection.NFTExchangeApi("bids").getAllBids();
>>> Promise<ApiResponse<BidsResource>>

Bids By Id

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

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/exchange/bid/1d1757bc7e598fd73f0ec670e1f2c517d7d9a2a94d447bd5daa0a9384ebd4e7e
const response = connection.NFTExchangeApi("bids").getBidById("VALID_ID");
>>> Promise<ApiResponse<BidsResource>>

Bids Wallet

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

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/exchange/bids/1d1757bc7e598fd73f0ec670e1f2c517d7d9a2a94d447bd5daa0a9384ebd4e7e/wallets
const response = connection.NFTExchangeApi("auctions").getAuctionsWallets("VALID_ID");
>>> Promise<ApiResponse<AuctionsWallet>>

Search Bids

Examples

Curl
Typescript
curl --request POST \
--url https://explorer.protokol.sh/api/nft/exchange/bids/search \
--header 'content-type: application/json' \
--data '{
"bidAmount": "150000000000"
}'
const response = connection.NFTExchangeApi("bids").searchByBid({
auctionId: "VALID_AUCTION_ID",
senderPublicKey: "VALID_SENDER_PUBLIC_KEY",
bidAmount: "BID_AMOUNT",
});
>>> Promise<ApiResponse<BidCanceled>>

Canceled Bids

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

Examples

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

Canceled Bids By Id

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

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/exchange/bids/canceled/3c26dee62a937aaf49c25e64d2776117362e9dc30dd6f27c839081d1e44608bc
const response = connection.NFTExchangeApi("bids").getCanceledBidById("VALID_ID");
>>> Promise<ApiResponse<BidCanceled>>
Last modified 1yr ago