Claim NFT
POST/v1/custom-tokens/claim_nft
Claim NFT
This endpoint allows users to claim an NFT from a specified Ethereum smart contract. It requires the contract address, receiver address, network ID, and an optional IPFS URI for the NFT metadata. Upon successful execution, it returns the transaction hash of the minting operation. This endpoint interacts with the Ethereum blockchain using the ERC721 standard for NFTs, handling network switching based on the provided network ID and estimating gas costs for the transaction.
Request
- application/json
Body
required
contractAddress stringrequired
ipfsUri stringnullable
networkId int32required
receiverAddress stringrequired
Responses
- 201
- 500
NFT claimed
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...