Marketplace
Marketplace APIs that is used for selling/buying tokens.
Make sure to use your X-Auth-Token when making a POST request. Your X-Auth-Token is the private key associated to your ERC-20 wallet.
Buy Offer
Add buy offer
You can create a buy offer for the specific token. Users can sell the token to developer and get Vessel coins. This is used for setting a hard floor price for the token in the marketplace.
ababa71162175e6867058b271eea7b5b279326eaf646188ab5e37365f32bb353Pattern: [0-9a-fA-F]{64}Buyer address
0xcafe000102030405060708090a0b0c0d0e0fbeefPattern: ^0x[a-fA-F0-9]{40}$Only seller address
0xcafe000102030405060708090a0b0c0d0e0fbeefPattern: ^$|(^0x[a-fA-F0-9]{40}$)Fully Qualified Token Name
com.studio.game.collection.tokenPer token price
Amount of tokens
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Remove buy offer
ababa71162175e6867058b271eea7b5b279326eaf646188ab5e37365f32bb353Pattern: [0-9a-fA-F]{64}id of the taken offer
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Offer Lookup
Lookup sell offer ID by the transaction hash
Lookup buy offer ID by the transaction hash
Lookup all sell offers in the game
Lookup all sell offers in the collection
Fully Qualified Game Name
com.studio.gamePattern: ^[a-z]{2,6}\.(\b[a-z0-9-]{1,59}\b)\.(\b[a-z0-9-]{1,59}\b)Qualified Collection Name
armor^0x[a-fA-F0-9]{40}$ID_DESCPossible values: Page number
0OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Lookup all buy offers in the game
Fully Qualified Game Name
com.studio.gamePattern: ^[a-z]{2,6}\.(\b[a-z0-9-]{1,59}\b)\.(\b[a-z0-9-]{1,59}\b)ID_DESCPossible values: ^0x[a-fA-F0-9]{40}$Page number
0OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Lookup all buy offers in the collection
Fully Qualified Game Name
com.studio.gamePattern: ^[a-z]{2,6}\.(\b[a-z0-9-]{1,59}\b)\.(\b[a-z0-9-]{1,59}\b)Qualified Collection Name
armor^0x[a-fA-F0-9]{40}$ID_DESCPossible values: Page number
0OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Lookup all buy offers by the user
^0x[a-fA-F0-9]{40}$ID_DESCPossible values: Page number
0OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Too Many Requests
Internal Server Error
Last updated
Was this helpful?