Build cross-chain mint transactions for a drop
Changed onReturns an ordered list of transactions for minting a drop using a token on another chain. The payer signs each transaction in order, and the minter receives the NFT. After submission, pass receipt_request to POST /api/v2/transactions/receipt and poll until the status is terminal.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The collection slug identifying the drop
Request body
Example request
{
"minter": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"payer": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"payment": {
"chain": "base",
"token_address": "0x0000000000000000000000000000000000000000"
},
"quantity": 1
}Response
Ordered transactions required to complete the mint
Example response
{
"receipt_request": {
"swap_quote": {
"from_assets": [
{
"amount": "1000000000000000000",
"chain": "ethereum",
"contract": "0x0000000000000000000000000000000000000000",
"token_id": "1234"
}
],
"to_assets": [
{
"amount": "1000000000000000000",
"chain": "ethereum",
"contract": "0x0000000000000000000000000000000000000000",
"token_id": "1234"
}
]
},
"transaction_identifiers": [
{
"chain": "ethereum",
"swap_provider": "RELAY",
"transaction_hash": "0xabc123..."
}
]
},
"transactions": [
{
"chain": "ethereum",
"svm": {
"instructions": [
{
"accounts": [
{
"pubkey": "So11111111111111111111111111111111111111112"
}
],
"data": "01020304",
"program_id": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
}
],
"transaction_config": {
"compute_unit_limit": 200000,
"priority_fee_lamports": "5000"
}
}
}
]
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking