POST
/
rpc
/
Marketplace
/
GenerateBuyTransaction
curl --request POST \
  --url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateBuyTransaction \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "collectionAddress": "<string>",
  "buyer": "<string>",
  "marketplace": "unknown",
  "ordersData": [
    {
      "orderId": "<string>",
      "quantity": "<string>",
      "tokenId": "<string>"
    }
  ],
  "additionalFees": [
    {
      "amount": "<string>",
      "receiver": "<string>"
    }
  ],
  "walletType": "unknown"
}'
{
  "steps": [
    {
      "id": "unknown",
      "data": "<string>",
      "to": "<string>",
      "value": "<string>",
      "price": "<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

Response

200
application/json
OK

The response is of type object.