アナリティクス
- 概要
- エンドポイント
- 例
メタデータ
- 概要
- エンドポイント
- 例
インフラストラクチャ
- 概要
- エンドポイント
ビルダー
- 概要
- エンドポイント
マーケットプレイス
- 概要
- エンドポイント
- POSTCheckoutOptionsMarketplace
- POSTCheckoutOptionsSalesContract
- Execute
- POSTGenerateBuyTransaction
- POSTGenerateListingTransaction
- POSTGenerateOfferTransaction
- POSTGenerateSellTransaction
- Get collectible highest listing
- Get collectible highest offer
- Get collectible lowest listing
- Get collectible lowest offer
- POSTGetCollectible
- POSTGetCountOfAllCollectibles
- POSTGetCountOfFilteredCollectibles
- POSTGetFloorOrder
- POSTGetHighestPriceListingForCollectible
- POSTGetHighestPriceOfferForCollectible
- POSTGetLowestPriceListingForCollectible
- POSTGetLowestPriceOfferForCollectible
- POSTGetOrders
- List collectible listings
- List collectible offers
- List collectibles with lowest listing
- List collectibles with highest offer
- POSTListCollectibles
- POSTListCurrencies
- POSTListListingsForCollectible
- POSTListOffersForCollectible
- POST
- 例
ブロックチェーンRPC
エンドポイント
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
.
このページは役に立ちましたか?
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"
}
]
}