buildMintTransaction
function is used to get an unsigned transaction for minting an NFT.
Before using them, make sure to obtain a Client API Key from Coinbase Developer Platform.
Returns
Promise<BuildMintTransactionResponse>
Parameters
BuildMintTransactionParams
Types
Body
application/json
The NFT contract address to mint from
Example:
"0x123..."
The address of the NFT recipient
Example:
"0x456..."
The token ID of the NFT to be minted
Example:
"1"
The number of NFTs to mint
Example:
1
The network to mint on
Example:
"networks/base-mainnet"
Response
200 - application/json
Successful response