Integration
For Reservoir contracts, set contractArgs
when creating Shareable Checkout Links, One-Time Checkout Links, or Checkout Elements.
Provide the collection address, token ID, and (optional) specific marketplace:
contractArgs = {
// TIP: Add more than 1 token to the nfts array to purchase multiple listings.
nfts: [
{ token: `COLLECTION_CONTRACT_ADDRESS_1:TOKEN_ID_1` },
{ token: `COLLECTION_CONTRACT_ADDRESS_2:TOKEN_ID_2` }
]
}
Name | Type | Description |
---|---|---|
nfts * | array | Contains info about the listing. |
Below is the type of the nfts array. See example above.
Name | Type | Description |
---|---|---|
token | string | Contains info about the nft you want to purchase. It is in the format: "contractAddress:tokenId" |
Paper only supports direct sales ("Buy Now")
Auction bids are currently not supported.