Skip to content

tokenstore/apidocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Token Store Public API

specification Join our telegram group!

What is token.store:

  • The Token Store is a decentralized exchange built on smart contracts that lets you trade ERC20 (and some ERC223) tokens against Ethereum.
  • You can find more information about our fees here.
  • Our solidity contract is published at 0x1cE7AE555139c5EF5A57CC8d814a867ee6Ee33D8.
  • You can trade tokens both by symbol and contract address.

REST API

The Base URL is https://v1-1.api.token.store. At this endpoint we have documentation generated from api-v1-1.raml

We use RAML 1.0 for specification. You can use it to automatically generate documentation/client/mocks/etc. You can read more about RAML at raml.org

Example usage

Tools

FAQ

Your API responds with a 400 code

This error means your call has wrong payload. We advise the following steps:

  1. Check payload example in our specification.
  2. Make sure you're using the right function from our contract to generate the message for signing.
  3. Feel free to open an issue here with some example code so we can help you out -- but be careful with your private keys!

Your API responds with a 502 code

This error shows that your transaction doesn't approved by our Ethereum node. We advise the following steps:

  1. Check the error message! Usually it has all required information to fix the error.
  2. Check your account balance. Do you have enough Ethereum for gas payment?
  3. Check your nonce. You can use our endpoint /accounts/{account} for recieving the recommended nonce for your account.

My transaction takes too long to process. Could you help me?

Nope. Every transaction is processed on Ethereum blockchain. Please, use more gas!

Do you have different protocols like WebSockets, JSON-RPC, GraphQL?

Not yet -- but please feel free to open a feature request here!

Could I have support?

If you have developer request, then please open an issue here.

If you need help with the product, then our telegram chanel is the best place for that. You can also email support@token.store for complex queries.

About

REST API docs for https://token.store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •