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
GenerateOfferTransaction
POST
/
rpc
/
Marketplace
/
GenerateOfferTransaction
curl --request POST \
--url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateOfferTransaction \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"collectionAddress": "<string>",
"maker": "<string>",
"contractType": "UNKNOWN",
"orderbook": "unknown",
"offer": {
"tokenId": "<string>",
"quantity": "<string>",
"expiry": "<string>",
"currencyAddress": "<string>",
"pricePerToken": "<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
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
.
Was this page helpful?
curl --request POST \
--url https://marketplace-api.sequence.app/amoy/rpc/Marketplace/GenerateOfferTransaction \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"collectionAddress": "<string>",
"maker": "<string>",
"contractType": "UNKNOWN",
"orderbook": "unknown",
"offer": {
"tokenId": "<string>",
"quantity": "<string>",
"expiry": "<string>",
"currencyAddress": "<string>",
"pricePerToken": "<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"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.