Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- POSTCheckoutOptionsMarketplace
- POSTCheckoutOptionsSalesContract
- POSTGenerateBuyTransaction
- POSTGenerateListingTransaction
- POSTGenerateOfferTransaction
- POSTGenerateSellTransaction
- POSTGenerateCancelTransaction
- POSTGetCollectible
- POSTGetCountOfAllCollectibles
- POSTGetCountOfFilteredCollectibles
- POSTGetFloorOrder
- POSTGetHighestPriceListingForCollectible
- POSTGetHighestPriceOfferForCollectible
- POSTGetLowestPriceListingForCollectible
- POSTGetLowestPriceOfferForCollectible
- POSTGetOrders
- POSTListCollectibles
- POSTListCurrencies
- POSTListListingsForCollectible
- POSTListOffersForCollectible
- POST
Transactions
- Overview
- Installation
- Endpoints
- Examples
Blockchain RPC
Endpoints
GenerateCancelTransaction
POST
/
rpc
/
Marketplace
/
GenerateCancelTransaction
curl --request POST \
--url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateCancelTransaction \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"collectionAddress": "<string>",
"maker": "<string>",
"marketplace": "unknown",
"orderId": "<string>"
}'
{
"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
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
Represented as uint8 on the server side
Available options:
unknown
, sequence_marketplace_v1
, sequence_marketplace_v2
, blur
, zerox
, opensea
, looks_rare
, x2y2
, alienswap
, payment_processor
, mintify
, magic_eden
Response
200
application/json
OK
[]Step
Represented as uint8 on the server side
Available options:
unknown
, tokenApproval
, buy
, sell
, createListing
, createOffer
, signEIP712
, signEIP191
, cancel
Represented as uint32 on the server side
Available options:
unknown
, order
Was this page helpful?
curl --request POST \
--url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateCancelTransaction \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"collectionAddress": "<string>",
"maker": "<string>",
"marketplace": "unknown",
"orderId": "<string>"
}'
{
"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"
}
]
}