v1
latestOpenAPI 3.0.32026-07-2659172194.6 KBorders
Create a listing
Create a listing
post/v1/chains/{chain_name}/orders/listings
Path parameters
chain_namestring required
The name of chain
Example:imtbl-zkevm-testnet
Request body
Example request
{
"account_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"order_hash": "0x0821933d9391bc9bf11a6010fe84776c84b203abff0c1ad781fb4881409c8770",
"buy": [
{
"type": "NATIVE",
"amount": "9750000000000000000",
"contract_address": "0x0165878A594ca255338adfa4d48449f69242Eb8F"
}
],
"fees": [
{
"type": "MAKER_ECOSYSTEM",
"amount": "2250000000000000000",
"recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233"
}
],
"end_at": "2022-03-10T05:00:50.52Z",
"protocol_data": {
"order_type": "FULL_RESTRICTED",
"counter": "1",
"zone_address": "0x12",
"seaport_address": "0x12",
"seaport_version": "1.4"
},
"salt": "12686911856931635052326433555881236148",
"sell": [
{
"type": "ERC721",
"contract_address": "0x692edAd005237c7E737bB2c0F3D8ccCc10D3479E",
"token_id": "1"
}
],
"signature": "0x",
"start_at": "2022-03-09T05:00:50.52Z"
}Response
Created response.
Example response
{
"result": {
"account_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"buy": [
{
"type": "ERC20",
"amount": "9750000000000000000",
"contract_address": "0x0165878A594ca255338adfa4d48449f69242Eb8F"
}
],
"fees": [],
"chain": {
"id": "eip155:11155111",
"name": "sepolia"
},
"created_at": "2022-03-07T07:20:50.52Z",
"end_at": "2022-03-10T05:00:50.52Z",
"id": "018792C9-4AD7-8EC4-4038-9E05C598534B",
"order_hash": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"protocol_data": {
"order_type": "FULL_RESTRICTED",
"counter": "1",
"zone_address": "0x12",
"seaport_address": "0x12",
"seaport_version": "1.5"
},
"salt": "12686911856931635052326433555881236148",
"sell": [
{
"type": "ERC721",
"contract_address": "0x692edAd005237c7E737bB2c0F3D8ccCc10D3479E",
"token_id": "1"
}
],
"signature": "0x",
"start_at": "2022-03-09T05:00:50.52Z",
"status": {
"name": "EXPIRED"
},
"type": {
"name": "LISTING"
},
"updated_at": "2022-03-07T07:20:50.52Z"
}
}