CreateCollectionOffer
post
Authorizations
Path parameters
accountstringRequired
Header parameters
AuthorizationstringRequired
Body
Represents the input body for an OpenSea collection.
Extends the OpenSeaInputBody
interface.
tostringOptional
The recipient address.
valuestringOptional
The value to be sent in the transaction.
datastringOptional
The data to be sent in the transaction.
noncestringOptional
The nonce of the transaction.
gasstringOptional
The gas limit for the transaction.
gasPricestringOptional
The gas price for the transaction.
chainIdstringOptional
The chain ID of the blockchain network.
dryrunbooleanOptional
Indicates if the transaction is a dry run.
broadcastbooleanOptional
Indicates if the transaction should be broadcasted.
collectionSlugstringRequired
The slug identifier for the collection.
amountnumber · doubleRequired
The amount of the asset.
quantitynumber · doubleRequired
The quantity of the asset.
paymentTokenAddressstringOptional
The optional address of the payment token.
Responses
200
Ok
application/json
post
POST //opensea/{account}/createCollectionOffer HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"to": "text",
"value": "text",
"data": "text",
"nonce": "text",
"gas": "text",
"gasPrice": "text",
"chainId": "text",
"dryrun": true,
"broadcast": true,
"collectionSlug": "text",
"amount": 1,
"quantity": 1,
"paymentTokenAddress": "text"
}
200
Ok
{
"success": true,
"message": "text",
"data": null
}