Introduction
Welcome to the TOKENMOM API.
By using our API, you can trade directly from your ethereum wallet. We have language bindings in TypeScript! TypeScript is a superset of JavaScript. You can view code examples in the dark area to the right. This API documentation page was created with Slate.
- Rest API Endpoint
https://api.tokenmom.com/
- Websocket Endpoint
wss://tokenmom.com/cable
Public Rest API
Introduction
These are API calls that do not require any user authentication to perform. They will generally give you information about the public state of the trading.
List Markets
Request
curl "https://api.tokenmom.com/market/get_markets"
-X "GET"
Response
{
"status":"success",
"markets":[
{
"base_token":"WETH",
"base_token_decimals":18,
"base_token_address":"0xc778417e063141139fce010982780140aa0cd5ab",
"tokens":[
{
"market_id":"TM-WETH",
"token_symbol":"TM",
"token_name":"Tokenmom",
"token_address":"0x91495d6969120fc016bb687ead5f5ce56f135504",
"token_decimals":18,
"last_price":"0.0017000000",
"today_change":"21.43",
"today_volume":145.54681871624797
},
...
]
},
{
"base_token":"TM",
"base_token_decimals":18,
"base_token_address":"0x91495D6969120fc016BB687EaD5F5cE56F135504",
"markets":[
{
"market_id":"ZRX-TM",
"token_symbol":"ZRX",
"token_name":"ZRX",
"token_address":"0xE41d2489571d322189246DaFA5ebDe1F4699F498",
"token_decimals":18,
"last_price":"--",
"today_change":"--",
"today_volume":0
},
...
]
}
]
}
Returns all active markets.
HTTP Request
GET https://api.tokenmom.com/market/get_markets
Get a Market
Request
curl "https://api.tokenmom.com/market/get_markets?market_id=TM-WETH"
-X "GET"
Response
{
"status":"success",
"market":{
"market_id":"TM-WETH",
"base_token":"WETH",
"base_token_decimals":18,
"base_token_address":"0xc778417e063141139fce010982780140aa0cd5ab",
"token_symbol":"TM",
"token_name":"Tokenmom",
"token_address":"0x91495d6969120fc016bb687ead5f5ce56f135504",
"token_decimals":18,
"last_price":"0.0017000000",
"today_change":"21.43",
"today_volume":145.54681871624797
}
}
Returns a single market identified by market_id.
HTTP Request
GET https://api.tokenmom.com/market/get_markets?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
List Tickers
Request
curl "https://api.tokenmom.com/market/get_tickers"
-X "GET"
Response
{
"status": "success",
"tickers": [
{
"market_id": "TM-USDC",
"price": "0.0038000000",
"volume": 27125.8701987602,
"bid": "0.0001800000",
"ask": "0.0038000000",
"low": "0.0001800000",
"high": "0.0043000000",
"updated_at": "2018-12-20T12:02:36.000Z"
},
...
]
}
Returns ticker data for all active markets.
HTTP Request
GET https://api.tokenmom.com/market/get_tickers
Details
Each set of ticker data contains the market it represents in market_id, as well as the price of the last trade made. We also give you status of the market at the time of the last trade, with ask being the highest offer for tokens, and bid being the lowest purchase price available at the time. Data about the last 24 hours of trading is available in low, high, and volume.
Get a Ticker
Request
curl "https://api.tokenmom.com/market/get_tickers?market_id=TM-WETH"
-X "GET"
Response
{
"status": "success",
"ticker": {
"market_id": "TM-WETH",
"price": "0.0001700000",
"volume": 8.11703199994,
"bid": "0.0001700000",
"ask": "0.0001800000",
"low": "0.0001700000",
"high": "0.0001800000",
"updated_at": "2018-12-20T12:49:35.000Z"
}
}
Returns ticker data for a single market identified by market_id.
HTTP Request
GET https://api.tokenmom.com/market/get_tickers?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
List Orderbook
Request
curl "https://api.tokenmom.com/order/get_orderbook?market_id=TM-WETH"
-X "GET"
Response
{
"status": "success",
"orderbook": {
"market_id": "TM-WETH",
"bids": [
{
"id": 3385,
"state": 0,
"expire": 1552332042,
"maker_address": "0xefd9928aa5a192c0267cdaed43235006b7a28628",
"amount": "3.0000000000",
"price": "0.0001700000",
"fee": "0.0025000000",
"order_hash": "0x8aa1413286695a0575e20402d39c8e873407482512f3462d3027ab713dcf4198",
"created_at": "2019-01-10T19:20:49.000Z",
"updated_at": "2019-01-10T19:20:51.000Z"
},
...
],
"asks": [
{
"id": 3304,
"state": 0,
"expire": 1550395596,
"maker_address": "0x71016bf0bc7a174c86b4e85983266b953d7d2f6f",
"amount": "75716.1444449800",
"price": "0.0001800000",
"fee": "0.0125000000",
"order_hash": "0x80f5c755df23262cb92294dfc68e50b4e4e4c65702b91e1ff837862fcc1685a7",
"created_at": "2018-12-19T09:26:40.000Z",
"updated_at": "2018-12-20T12:46:54.000Z"
},
...
]
}
}
Returns order data for a single market identified by market_id.
HTTP Request
GET https://api.tokenmom.com/order/get_orderbook?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
List Trades
Request
curl "https://api.tokenmom.com/market/get_trades?market_id=TM-WETH"
-X "GET"
Response
{
"status":"success",
"trades":[
{
"id":1453,
"type":0,
"maker_address":"0x6cd11f533396f0bc72e6424355ebdbcdb5262ea5",
"taker_address":"0xdc8c0cf4beb2fa1f34aa395f331e323776a0c8a5",
"txHash":"0xb38b91b86e2498f23da2a5df22ab9afa11a5c66a1126b6ae435abc93b01897f7",
"amount":"243.9223530000",
"price":"0.0017000000",
"reward_status":null,
"created_at":"2018-12-11T05:38:10.000Z",
"updated_at":"2018-12-11T05:38:10.000Z",
"market_id":"TM-WETH"
},
...
]
}
Returns data for all trades in single market identified by market_id. Results will be paginated with a default page size of 100 results.
HTTP Request
GET https://api.tokenmom.com/market/get_trades?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
page | (Optional) Used for pagination. Defaults to 1 . |
page_size | (Optional) Used for pagination. Value must be between 1-100 . Defaults to 100 . |
Private Rest API
Introduction
These API give you information about a specific account or let you post data to the system. They require you to authenticate in order to access them.
In order to authenticate a request, you must construct a signature validating your ownership of the trading address. All APIs require both of wallet address in body and signature in header.
Example for generating signature
import { hashPersonalMessage, ecsign, toRpcSig, toBuffer, privateToAddress, fromRpcSig, ecrecover, publicToAddress } from "ethereumjs-util"
const privateKey = '0xABE5D7B717DA3C035F9735DE8C9FA15CA39D08638C386017B5AD1BABF86497DB'
const Address = '0x' + privateToAddress(privateKey).toString("hex")
const Timestamp = Date.now().toString();
const sha = hashPersonalMessage(toBuffer(Timestamp))
const ecdsaSignature = ecsign(sha, toBuffer(privateKey))
const Signature = toRpcSig(ecdsaSignature.v, ecdsaSignature.r, ecdsaSignature.s)
console.log("\"wallet-addr: " + Address + "\"");
console.log("\"tm-auth: " + Timestamp + "#" + Signature + "\"");
Result of example
"wallet-addr: 0xd91fbc9b431464d737e1bc4e76900d43405a639b"
"tm-auth: 1544127404019#0xd081f7eca637c74b84426c6e4a9070c3d90d613715267dfd28bf6f62391f209172bc4b13fc965c253fa7bff5d271dc95a114da4b257736adb890b8d24435a28f00"
HTTP Headers
wallet-addr: {Address}
Parameter | Description |
---|---|
Address | The ethereum address used for trading, e.g. 0x0ff4b3534b8edb31ced4a92e9203861a49dd25b7 . |
tm-auth: {Timestamp}#{Signature}
Parameter | Description |
---|---|
Timestamp | current UTC timestamp in milliseconds, e.g. 1543998596282 . |
Signature | The result of signing the Timestamp with the private key of the Address. |
Details
You could use the API in section Get Signature for Authentication to generate wallet-addr and tm-auth for testing.
Wrapping Ether
Example Wrap (web3)
import BigNumber from "bignumber.js"
const wethAddress = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
const value = 1 * (10**18) // 1 ETH in Wei
web3.eth.contract(
[
{
"constant": false,
"inputs": [],
"name": "deposit",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
}
]
).at(wethAddress).deposit(
{
value: value,
// You can optionally pass in the gas price and gas limit you would like to use
gasLimit: 80000,
gasPrice: new BigNumber(10**10),
},
(err, res) => {
console.log(res) // Transaction id
}
)
Example Unwrap (web3)
import BigNumber from "bignumber.js"
const wethAddress = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
const value = 1 * (10**18) // 1 ETH in Wei
web3.eth.contract(
[
{
"constant": false,
"inputs": [
{
"name": "wad",
"type": "uint256"
}
],
"name": "withdraw",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
).at(wethAddress).withdraw(
value,
{
// You can optionally pass in the gas price and gas limit you would like to use
gasLimit: 80000,
gasPrice: new BigNumber(10**10),
},
(err, res) => {
console.log(res) // Transaction id
},
)
Exchanges built using the 0x Protocol allow users to trade ERC20 tokens directly from their digital wallets. Unfortunately, Ether itself does not conform to the ERC20 standards (yet!). Because of this, ETH must first be converted to what is known as "wrapped ether" (WETH), which does conform to the ERC20 Standard. ETH and WETH are always exchanged at a 1:1 ratio. You can wrap/unwrap ETH yourself with web3 as shown in the example, or visit TOKENMOM exchange to wrap/unwrap.
Enabling Token Trading
To allow a relayer to match trades from your digital wallet for a given token type, users must first perform a 1-time transaction to "enable" (or unlock) each type of token they wish to trade. This enabling process only has to be done once. You can be done through TOKENMOM exchange. But we will "enable" (or unlock) the token to trade automatically once you build unsgined order with API.
Build Unsigned Order
Request
curl "https://api.tokenmom.com/order/build_order"
-X "POST"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
-H "Content-Type: application/x-www-form-urlencoded"
-d "market_id=TM-WETH&trade=buy&price=0.1&amount=1"
Response
{
"status":"success",
"result":{
"market_id":"TM-WETH",
"wallet_addr":"0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"trade":"buy",
"price":0.1,
"amount":1,
"orderHash":"0xd46e5ce490d7754ab33897622d18b827d93a7e36ea2be7b9a0231016fc9efa15",
"order":{
"exchangeAddress":"0x4530c0483a1633c7a1c97d2c53721caff2caaaaf",
"makerAddress":"0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"takerAddress":"0x0000000000000000000000000000000000000000",
"senderAddress":"0x0000000000000000000000000000000000000000",
"feeRecipientAddress":"0x0000000000000000000000000000000000000000",
"expirationTimeSeconds":"1549621090000",
"salt":"53555931522538422550414714064500194349861294525720681078683789284677488524685",
"makerAssetAmount":"102050000000000000",
"takerAssetAmount":"1000000000000000000",
"makerAssetData":"0xf47261b0000000000000000000000000c778417e063141139fce010982780140aa0cd5ab",
"takerAssetData":"0xf47261b000000000000000000000000091495d6969120fc016bb687ead5f5ce56f135504",
"makerFee":"0",
"takerFee":"0"
}
}
}
Returns data about an unsigned 0x order based on the requested order parameters passed in. To place an order you will sign this data and post it back to the API to authenticate the use of your account in the trade.
HTTP Request
POST https://api.tokenmom.com/order/build_order
Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
trade | buy or sell . |
price | The price of the order. e.g. 0.1 . |
amount | The amount of token in the order e.g. 1 . |
Details
Returns information about the order you wish to create. The field order contains values that 0x will need to complete the transaction. The field orderHash is the result of hashing for order. You can read about them in more detail on the 0x wiki. To place an order, you have to sign the orderHash and post its signature back to the API as following step - Sign Order and Place Order. If you build a new unsigned order without placing of previous one, then previous unsigned order will be ignored.
Sign Order
Example for signing orderHash
import { RPCSubprovider, Web3ProviderEngine } from '0x.js';
import { signatureUtils } from '@0x/order-utils';
import { PrivateKeyWalletSubprovider } from '@0x/subproviders';
import { privateToAddress } from "ethereumjs-util"
const wallet_privatekey = "0xABE5D7B717DA3C035F9735DE8C9FA15CA39D08638C386017B5AD1BABF86497DB";
const wallet_address = '0x' + privateToAddress(wallet_privatekey).toString("hex")
const providerEngine = new Web3ProviderEngine();
providerEngine.addProvider(new PrivateKeyWalletSubprovider(wallet_privatekey.substring(2)));
providerEngine.addProvider(new RPCSubprovider('https://ropsten.infura.io'));
providerEngine.start();
const orderHash = "0xecf938fc7d63c980e8d698bb6e831e7f42fdd870ddbc534e34b9c824a696efca";
var signature = signatureUtils.ecSignHashAsync(providerEngine, orderHash, wallet_address);
signature.then(
result => success(result),
error => error(error)
);
function success(result) {
console.log("\"signature=" + result + "\"");
process.exit();
}
function error(error) {
console.log("error = " + error)
process.exit();
}
Result of example
"signature=0x1badc220e195de65fef1e0e2d344cfb04961c5533a05426c4d544074f104081342794f51d69c98a3e6c02022a0ac192181c85c73dc2437c4d2e7c1f4f5047622e503"
Once you have an orderHash for an unsigned order built on the server, you will have to sign it in order to post it to the orderbook.
You could use the API in section Get Signature of orderHash to generate the signature for testing.
Place Order
Request
curl "https://api.tokenmom.com/order/place_order"
-X "POST"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
-d "order_hash=0xecf938fc7d63c980e8d698bb6e831e7f42fdd870ddbc534e34b9c824a696efca&signature=0x1badc220e195de65fef1e0e2d344cfb04961c5533a05426c4d544074f104081342794f51d69c98a3e6c02022a0ac192181c85c73dc2437c4d2e7c1f4f5047622e503"
Response
{
"status":"success",
"result":"No Match"
}
After signing the orderHash you can post it to this endpoint with the signature you created in order to send it to the orderbook.
HTTP Request
POST https://api.tokenmom.com/order/place_order
Parameters
Parameter | Description |
---|---|
order_hash | The orderHash returned from the Build Unsigned Order endpoint. |
signature | The signature created during the Sign Order step. |
List Account Orders
Request
curl "https://api.tokenmom.com/order/get_orders?market_id=TM-WETH"
-X "GET"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
Response
{
"status":"success",
"orders":[
{
"id":11,
"type":1,
"state":0,
"expire":1549312079,
"detail_id":11,
"maker_address":"0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"amount":"1.0000000000",
"price":"0.1000000000",
"fee":"0.0020500000",
"order_hash":"0x06819d3d268828b8d6880bf9d50f38b9ebc23696be72c8fbbebd327efc0bc088",
"created_at":"2018-12-06T20:31:17.000Z",
"updated_at":"2018-12-06T20:31:18.000Z",
"market_id":"TM-WETH"
}
]
}
Returns data for orders created by the currently authenticated account. Results will be paginated with a default page size of 100 results.
HTTP Request
GET https://api.tokenmom.com/order/get_orders?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
page | (Optional) Used for pagination. Defaults to 1 . |
page_size | (Optional) Used for pagination. Value must be between 1-100 . Defaults to 100 . |
Details
The field id is an identifier of this order on order book. You could cancel the order with this id.
Cancel Order
Request
curl "https://api.tokenmom.com/order/delete_order"
-X "POST"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
-d "order_id=11"
Response
{
"status":"success"
}
Used to cancel an order given an order_id
HTTP Request
POST https://api.tokenmom.com/order/delete_order
Parameters
Parameter | Description |
---|---|
order_id | The id of the order you wish to cancel. id is returned from the List Account Orders endpoint. |
List Account Trades
Request
curl "https://api.tokenmom.com/market/get_trades?market_id=TM-WETH"
-X "GET"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
Response
{
"status":"success",
"trades":[
{
"id":1,
"type":1,
"maker_address":"0x0ff4b3534b8edb31ced4a92e9203861a49dd25b7",
"taker_address":"0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"txHash":"0xf2e0ce7cefa719b4f7a1259f806f0b24282430562fe1d7ba152e1e19957d44f3",
"amount":"1.0000000000",
"price":"0.1000000000",
"reward_status":null,
"created_at":"2018-11-28T10:10:49.000Z",
"updated_at":"2018-11-28T10:10:49.000Z",
"market_id":"TM-WETH"
},
...
]
}
Return data for all trades made by the currently authenticated user account in markets based on market_id. The trades are sorted by creation time in ascending order. Results will be paginated with a default page size of 100 results.
HTTP Request
GET https://api.tokenmom.com/market/get_trades?market_id=XXX
URL Parameters
Parameter | Description |
---|---|
market_id | Specify market. Specified in the form of a trading pair of tokens, e.g. ZRX-WETH . |
page | (Optional) Used for pagination. Defaults to 1 . |
page_size | (Optional) Used for pagination. Value must be between 1-100 . Defaults to 100 . |
Get Balance
Request
curl "https://api.tokenmom.com/account/get_balance?token_symbol=WETH"
-X "GET"
-H "wallet-addr: 0xd91Fbc9b431464D737E1BC4e76900D43405a639b"
-H "tm-auth: 1544537871086#0xfd44bc6bd8845cab970c5ab175f5cf3d77dca087f055677a4113b320db32edb8309868e72ce1c3ec29420e6c071c7e8954790a8a1720e6b2fa699811e91babd601"
Response
{
"status":"success",
"amount":"10.1977"
}
Get the balance of a specific symbol for the currently authenticated user.
HTTP Request
GET https://api.tokenmom.com/account/get_balance?token_symbol=XXX
URL Parameters
Parameter | Description |
---|---|
token_symbol | The symbol you wish to query for balance, e.g. WETH . |
Websocket
Introduction
Example for openning websocket
const ActionCable = require('actioncable-nodejs');
const server_url = 'wss://tokenmom.com/cable';
var cable = new ActionCable(server_url, {
origin: 'https://tokenmom.com',
headers: { 'X-Api-Key': 'someexampleheader' }
});
The Websocket API is intended to provide real-time updates to the state of the market. In order to receive updates, you must open a socket to the websocket endpoint, and subscribe to the channel.
OrderChannel
Example for subscribing to OrderChannel
var orderChannel = cable.subscribe('OrderChannel', {
connected() {
},
disconnected(err) {
},
rejected(err) {
},
received(data) {
console.log(data);
}
});
Message
{
"order": {
"id": 9,
"type": 1,
"state": 0,
"base_token": "WETH",
"token_symbol": "TM",
"amount": 1,
"price": 0.1,
"order_hash": "0x6008de3b9bebb594b76969c18bdbad6c6e616ecb571cc0d9b5f12af9720ed568",
"fee": 0.00205,
"expire": 1549293827,
"detail_id": 9,
"maker_address": "0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"updated_at": "2018-12-06T15:23:50.427Z",
"created_at": "2018-12-06T15:23:50.427Z"
},
"type": "add"
}
The OrderChannel provides an easy way to maintain a live view of the orderbook. type is either add or remove.
TradeChannel
Example for subscribing to TradeChannel
var tradeChannel = cable.subscribe('TradeChannel', {
connected() {
},
disconnected(err) {
},
rejected(err) {
},
received(data) {
console.log(data);
}
});
Message
{
"trade": {
"id": 4,
"base_token": "WETH",
"token_symbol": "TM",
"type": 1,
"maker_address": "0xd91Fbc9b431464D737E1BC4e76900D43405a639b",
"taker_address": "0x0ff4b3534b8edb31ced4a92e9203861a49dd25b7",
"price": 0.1000000000,
"amount": 1.0000000000,
"txHash": "0x4fbd604944c7822826149c3a8946146924c70de6acd21ad040abae0682f999e3",
"updated_at": "2018-12-06T15:28:08.019Z",
"created_at": "2018-12-06T15:28:08.019Z"
}
}
The TradeChannel provides an easy way to maintain a live view of the trades.
Test API
Introduction
Get Signature for Authentication
This is a public API for Authentication.
Request
curl "https://api.tokenmom.com/account/get_auth_signature?private_key=0xABE5D7B717DA3C035F9735DE8C9FA15CA39D08638C386017B5AD1BABF86497DB"
-X "GET"
Response
{
"status": "success",
"wallet-addr": "0xd91fbc9b431464d737e1bc4e76900d43405a639b",
"tm-auth": "1544560368892#0x5c2f03015ed34d1acc79af2335a18021fc04aa28be5cc3415f59a796fba094b608562a213f3cafef944bfdc7885b956b89961fbd08c02e3fe769c21e40f0a2b201"
}
HTTP Request
GET https://api.tokenmom.com/account/get_auth_signature?private_key=0xXXX
URL Parameters
Parameter | Description |
---|---|
private_key | Private key of the wallet |
Get Signature of orderHash
This is a public API for Sign Order.
Request
curl "https://api.tokenmom.com/order/get_hash_signature?private_key=0xABE5D7B717DA3C035F9735DE8C9FA15CA39D08638C386017B5AD1BABF86497DB&order_hash=0xecf938fc7d63c980e8d698bb6e831e7f42fdd870ddbc534e34b9c824a696efca"
-X "GET"
Response
{
"status": "success",
"signature": "0x1badc220e195de65fef1e0e2d344cfb04961c5533a05426c4d544074f104081342794f51d69c98a3e6c02022a0ac192181c85c73dc2437c4d2e7c1f4f5047622e503"
}
HTTP Request
GET https://api.tokenmom.com/order/get_hash_signature?private_key=0xXXX&order_hash=0xXXX
URL Parameters
Parameter | Description |
---|---|
private_key | Private key of the wallet |
order_hash | The orderHash returned from the Build Unsigned Order endpoint. |