Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save evanVtatum/438388ad3f303de6ba910e86f9c9ff48 to your computer and use it in GitHub Desktop.
Save evanVtatum/438388ad3f303de6ba910e86f9c9ff48 to your computer and use it in GitHub Desktop.
Create fixed-price NFT listing on Polygon
curl --location --request POST 'https://api-eu1.tatum.io/v3/blockchain/marketplace/listing' \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data-raw '{
"contractAddress": "0x4153B909f55B0Ec43c11e980dF09b853477D9F79",
"nftAddress": "0x6d8eae641416b8b79e0fb3a92b17448cfff02b11",
"tokenId": "12",
"listingId": "1",
"isErc721": true,
"price": "0.001",
"seller": "0x80D8BAc9a6901698b3749Fe336bBd1385C1f98f2",
"chain": "MATIC",
"fromPrivateKey": "0x37b091fc4ce46a56da643f021254612551dbe0944679a6e09cb5724d3085c9ab"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment