POST
/
rpc
/
Marketplace
/
GenerateSellTransaction
curl --request POST \
  --url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateSellTransaction \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "collectionAddress": "<string>",
  "seller": "<string>",
  "marketplace": "unknown",
  "ordersData": [
    {
      "orderId": "<string>",
      "quantity": "<string>"
    }
  ],
  "additionalFees": [
    {
      "amount": "<string>",
      "receiver": "<string>"
    }
  ],
  "walletType": "unknown"
}'
{
  "steps": [
    {
      "id": "unknown",
      "data": "<string>",
      "to": "<string>",
      "value": "<string>",
      "signature": {
        "domain": {
          "name": "<string>",
          "version": "<string>",
          "chainId": 123,
          "verifyingContract": "<string>"
        },
        "types": {},
        "primaryType": "<string>",
        "value": {}
      },
      "post": {
        "endpoint": "<string>",
        "method": "<string>",
        "body": {}
      },
      "executeType": "unknown"
    }
  ]
}

Authorizations

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
collectionAddress
string
seller
string
marketplace
enum<string>

Represented as uint32 on the server side

Available options:
unknown,
sequence_marketplace_v1,
sequence_marketplace_v2,
opensea,
magic_eden,
mintify,
looks_rare,
x2y2,
sudo_swap,
coinbase,
rarible,
nftx,
foundation,
manifold,
zora,
blur,
super_rare,
okx,
element,
aqua_xyz,
auranft_co
ordersData
object[]

[]OrderData

additionalFees
object[]

[]AdditionalFee

walletType
enum<string>

Represented as uint8 on the server side

Available options:
unknown,
sequence

Response

200
application/json
OK
steps
object[]

[]Step