Primary Purchase Xerial NFT
Endpoint allows you to purchase Xerial NFTs from specific collections on the Polygon Network.
Overview
Parameters
address
: (Path Parameter): Buyer's wallet address (string).chain
: (Path Parameter): Blockchain (string).
Request Body
Media Type: application/json
Example Value:
Responses
Success (Code 200)
Media Type: application/json
Example Value: An object containing the transaction hash for the successful purchase.
Usage
Send a POST request to the
/api/wallet/{address}/{chain}/primary-purchase
endpoint to initiate the purchase of one or more Xerial NFTs.Include the required parameters and request body in the request.
Handle the response accordingly based on success, unauthorized access, forbidden access, not found, method not allowed, precondition failed, or internal server error.
Note: Ensure the buyer's wallet address and blockchain chain are valid. Verify the user's authentication status and permissions before initiating the purchase.
Last updated