NFT Endpoints
Description of endpoints used to get data related to posts on the DeSo blockchain
Last updated
Was this helpful?
Description of endpoints used to get data related to posts on the DeSo blockchain
Last updated
Was this helpful?
Please make sure you've read Data: API so you are familiar with the following types referenced in this documentation:
POST
/api/v0/get-nfts-for-user
Get NFTs that a user owns, optionally filtering on for-sale status and pending (NFT transferred) status.
Endpoint implementation in .
Example usages in frontend: - Make request to - Use GetNFTsForUser to
UserPublicKeyBase58Check*
String
Public key for user who owns NFTs
ReaderPublicKeyBase58Check
String
Public key of the reader
IsForSale
Boolean
- If true, only return NFTs that are for sale.
- If false, only return NFTs that are not for sale.
- If not provided, return NFTs regardless of for sale status
IsPending
Boolean
- If IsForSale is provided, this value is ignored.
- Otherwise, if true, only return NFTs that are pending acceptance (NFTs that have been transferred but not accepted).
- If false, only return NFTs that are not pending acceptance. If not provided, return NFTs regardless of pending status
POST
/api/v0/get-nft-bids-for-user
Get active bids for a user.
UserPublicKeyBase58Check*
String
Public key for user whose bids we want to find
ReaderPublicKeyBase58Check
String
Public key of the reader
POST
/api/v0/get-nft-bids-for-nft-post
Get all bids for all serial numbers of a given NFT post.
PostHashHex*
String
Hex of Post hash for which we want to fetch bids
ReaderPublicKeyBase58Check
String
Public key of the reader
POST
/api/v0/get-nft-showcase
Get summaries of all NFTs included in the NFT showcase.
ReaderPublicKeyBase58Check
String
Public key of the reader
POST
/api/v0/get-next-nft-showcase
Get the time the next NFT showcase drop so it can be advertised to users
POST
/api/v0/get-nft-collection-summary
PostHashHex*
String
ReaderPublicKeyBase58Check
String
Public key of the reader
POST
/api/v0/get-nft-entries-for-nft-post
Gets an NFTEntryResponse for each serial number of this NFT post.
PostHashHex*
String
ReaderPublicKeyBase58Check
String
Public key of the reader
Endpoint implementation in .
Example usages in frontend: - Make request to - Use GetNFTBidsForUser to
Endpoint implementation in .
Example usages in frontend: - Make request to - Use GetNFTBidsForNFTPost to
Endpoint implementation in .
Example usage in frontend: - Make request to - Use GetNFTShowcase to
[]
Array of objects representing all the NFTs in the current NFT Showcase
Endpoint implementation in .
Example usages in frontend: - Make request to - Use GetNextNFTShowcase to
Get an that summarizes a single NFT post
Endpoint implementation in .
Example usages in frontend: - Make request to - Use GetNFTCollectionSummary to
Hex of Post hash for which we want to fetch a
Endpoint implementation in .
Example usages in frontend: - Make request to
Hex of Post hash for which we want to fetch all objects
[]
An array of objects representing the current state of each serial number of the NFT post