Venly API
Search…
Create an offer
Endpoint to initiate a new offer
post
https://api.arkane.market
/offers
Get offers
This endpoint will create a new offer with the status NEW. Once a new offer is created it needs to be updated first with Update offer: TxApprove, follow by Update offer: Signature before it can move to the state READY and become live on the market.
Note: The order is important. First the TxApprove, then the Signature.

Example

Request

1
https://api.arkane.market/offers
Copied!

Request Body

1
{
2
"type": "SALE",
3
"nft": {
4
"tokenId": "2",
5
"address": "0x492aef91afb79efaa508debbed7b3e21069d13e3",
6
"chain": "ETHEREUM"
7
},
8
"sellerAddress": "0xdb7c22EA49EF93F753F2ed4c9E1A2589aC6E7690",
9
"price": 25
10
}
Copied!

Response

1
{
2
"success": true,
3
"result": {
4
"id": "b91c6f5f-5ebd-4941-99c1-94e9d1cbd9d5",
5
"nft": {
6
"tokenId": "2",
7
"address": "0x492aef91afb79efaa508debbed7b3e21069d13e3",
8
"chain": "ETHEREUM",
9
"name": "Cauliflower Pizza",
10
"description": "Awesome cauliflower crust pizza with cured pepperoni. Found on a BBS in the early 80s.",
11
"imageUrl": "https://lh3.googleusercontent.com/0Dw7pMcyX_m7T_6q3zzrvjmYMg-Matgg8c42DTGvviRDI8M7fa3Ot9siVfhzE0gqolLshVp2O6T3QdccmVblMurg7A",
12
"url": "",
13
"imagePreviewUrl": "https://lh3.googleusercontent.com/0Dw7pMcyX_m7T_6q3zzrvjmYMg-Matgg8c42DTGvviRDI8M7fa3Ot9siVfhzE0gqolLshVp2O6T3QdccmVblMurg7A=s250",
14
"imageThumbnailUrl": "https://lh3.googleusercontent.com/0Dw7pMcyX_m7T_6q3zzrvjmYMg-Matgg8c42DTGvviRDI8M7fa3Ot9siVfhzE0gqolLshVp2O6T3QdccmVblMurg7A=s128",
15
"attributes": [{
16
"traitType": "topping",
17
"value": "cheese",
18
"traitCount": 4
19
},
20
{
21
"traitType": "crust",
22
"value": "cauliflower",
23
"traitCount": 2
24
},
25
{
26
"traitType": "topping",
27
"value": "pepperoni",
28
"traitCount": 2
29
},
30
{
31
"traitType": "level",
32
"value": "7",
33
"traitCount": 1
34
},
35
{
36
"traitType": "fuel",
37
"value": "3.4",
38
"traitCount": 1
39
},
40
{
41
"traitType": "cauliflower_power",
42
"value": "80",
43
"displayType": "boost_number",
44
"traitCount": 1
45
},
46
{
47
"traitType": "bellyfat_increase",
48
"value": "3",
49
"displayType": "boost_percentage",
50
"traitCount": 1
51
}
52
],
53
"contract": {
54
"chain": "ETHEREUM",
55
"address": "0x492aef91afb79efaa508debbed7b3e21069d13e3",
56
"count": 0,
57
"name": "CryptoPizza Shop",
58
"description": "In honor of the dude who paid 10k BTC for two large pizzas in 2010, I'm proud to announce the first ever CryptoPizza Shop! Collect these slices - more to be added soon, but these OG CryptoPizza Slices will go down in history!",
59
"symbol": "OSC",
60
"imageUrl": "https://rinkeby-storage.opensea.io/0x492aef91afb79efaa508debbed7b3e21069d13e3-1561429292.png"
61
}
62
},
63
"sellerId": "7cbc2bd3-b3d7-4d8e-bda8-173e56189f75",
64
"sellerAddress": "0xdb7c22EA49EF93F753F2ed4c9E1A2589aC6E7690",
65
"startDate": "2020-10-21T14:46:09.252659Z",
66
"type": "SALE",
67
"status": "NEW",
68
"dataToSign": "b91c6f5f-5ebd-4941-99c1-94e9d1cbd9d5_0xdb7c22EA49EF93F753F2ed4c9E1A2589aC6E7690_0xb06b3f1e824BD7eFC0BCe584cF6B772dC0Ff7C75_2",
69
"createdOn": "2020-10-21T14:46:09.305261Z",
70
"createdBy": "7cbc2bd3-b3d7-4d8e-bda8-173e56189f75",
71
"price": 25
72
}
73
}
Copied!
Last modified 2mo ago
Copy link