Venly API
Search…
Update offer: Signature
Endpoint to pass the signature of the end-user to the market
The last step in the offer creation is getting the signature of the end-user, proving to the market that the end-user agrees with selling the NFT and allow the market to take the NFT into custody.
This is done by asking the end-user to sign a piece of data. The data that is required to sign can be found in the details of the offer, more specifically the dataToSign attribute. To get the details of an offer please take a look at Retrieve an offer.
patch
https://api.arkane.market
/offers/:offerId/signature
Update offer: Signature
After updating the offer with the signature the status of the offer will transition from NEW to INITIATING_OFFER, meaning the NFT will be taken into custody. If that was successful the status will be updated to READY. Meaning the offer was successfully created and is live on the market. To learn more about the different states of an offer please read: Status
Note this step assumes you've already completed Update offer: TxApprove.

Quick Tip

If you want to verify your signature before submitting it, a great tool is verifySig. Just enter the wallet address, the data to sign and the signed hash and the tool will validate for you if your signed hash is correct.
Screenshot of a successful Signature hash

Example

Request

1
https://api.arkane.market/offers/b91c6f5f-5ebd-4941-99c1-94e9d1cbd9d5/signature
Copied!

Request Body

1
{
2
"signature": "0x1893702698b9daa97313817e2b58dbaeabb9de1cfa3fede14ec00e9dbbd899835dd184fa6f63a2eb67beea34b8ad698fbb7bd887bcc1c88539df43963779fde51b"
3
}
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
{
17
"traitType": "topping",
18
"value": "cheese",
19
"traitCount": 4
20
},
21
{
22
"traitType": "crust",
23
"value": "cauliflower",
24
"traitCount": 2
25
},
26
{
27
"traitType": "topping",
28
"value": "pepperoni",
29
"traitCount": 2
30
},
31
{
32
"traitType": "level",
33
"value": "7",
34
"traitCount": 1
35
},
36
{
37
"traitType": "fuel",
38
"value": "3.4",
39
"traitCount": 1
40
},
41
{
42
"traitType": "cauliflower_power",
43
"value": "80",
44
"displayType": "boost_number",
45
"traitCount": 1
46
},
47
{
48
"traitType": "bellyfat_increase",
49
"value": "3",
50
"displayType": "boost_percentage",
51
"traitCount": 1
52
}
53
],
54
"contract": {
55
"chain": "ETHEREUM",
56
"address": "0x492aef91afb79efaa508debbed7b3e21069d13e3",
57
"count": 0,
58
"name": "CryptoPizza Shop",
59
"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!",
60
"symbol": "OSC",
61
"imageUrl": "https://rinkeby-storage.opensea.io/0x492aef91afb79efaa508debbed7b3e21069d13e3-1561429292.png"
62
}
63
},
64
"sellerId": "7cbc2bd3-b3d7-4d8e-bda8-173e56189f75",
65
"sellerAddress": "0xdb7c22EA49EF93F753F2ed4c9E1A2589aC6E7690",
66
"startDate": "2020-10-21T14:46:09.252659Z",
67
"endDate": "2020-10-31T14:46:09.252674Z",
68
"type": "SALE",
69
"status": "INITIATING_OFFER",
70
"dataToSign": "b91c6f5f-5ebd-4941-99c1-94e9d1cbd9d5_0xdb7c22EA49EF93F753F2ed4c9E1A2589aC6E7690_0xb06b3f1e824BD7eFC0BCe584cF6B772dC0Ff7C75_2",
71
"createdOn": "2020-10-21T14:46:09.305261Z",
72
"createdBy": "7cbc2bd3-b3d7-4d8e-bda8-173e56189f75",
73
"price": 25
74
}
75
}
Copied!
Last modified 2mo ago