get_transactions_by_pair

get
Get transactions by pair

https://api2.sushipro.io/?action=get_transactions_by_pair
Request
Response
Request
Query Parameters
action
required
string
get_transactions_by_pair
pair
required
string
The contract address of the requested pair.
direction
required
string
DESC or ASC. DESC by default.
page
optional
integer
0 by default. 100 transactions maximum by page.
chainID
optional
integer
Network ID. 1 ( Ethereum ) by default.
Response
200: OK
Example: https://api2.sushipro.io/?action=get_transactions_by_pair&chainID=1&pair=0xd45afa3649e57a961c001b935ded1c79d81a9d23
[
{
"action": "get_transactions_by_pair",
"chain": "Ethereum",
"number_of_results": 100,
"pair": "0xd45afa3649e57a961c001b935ded1c79d81a9d23"
},
[
{
"timestamp": 1625443091,
"side": "BUY",
"priceBase": 0.0001042566429051,
"priceUSD": 0.99973449365128,
"volumeUSD": 2997.980153841206,
"txHash": "0xbceefe5ab562ee96ba4656353207b5d69d70a39cb9c81bc198f98184edb19d66",
"receiver": "0x397ff1542f962076d0bfe58ea045ffa2d347aca0",
"maker": "0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f",
"amountBase": 2998.776348,
"amountQuote": 0.31264235486570946,
"tokenBase": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"tokenQuote": "0xe9f84de264e91529af07fa2c746e934397810334"
},
{
"timestamp": 1625427037,
"side": "BUY",
"priceBase": 0.0001011956862852,
"priceUSD": 0.99970807726622,
"volumeUSD": 337.0719902898293,
"txHash": "0x549fbbc9045825bfc59b6c6f74d17b157e8c8a8e366c884dd9969c9ebc3aaab6",
"receiver": "0x397ff1542f962076d0bfe58ea045ffa2d347aca0",
"maker": "0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f",
"amountBase": 337.170418,
"amountQuote": 0.03412019184457902,
"tokenBase": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"tokenQuote": "0xe9f84de264e91529af07fa2c746e934397810334"
},
{
"timestamp": 1625422539,
"side": "SELL",
"priceBase": 0.00010117086150904,
"priceUSD": 0.99944549658896,
"volumeUSD": 987.878803917932,
"txHash": "0x24be8e0953da7ca0554df1ae9f12548bc721d462c659dd92d9323a2b9f1db5b1",
"receiver": "0xe552c8b322a25bffa296755ffdd55edd627fb454",
"maker": "0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f",
"amountBase": 988.42689,
"amountQuote": 0.1,
"tokenBase": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"tokenQuote": "0xe9f84de264e91529af07fa2c746e934397810334"
}
]
]
404: Not Found
[
{
"action": "get_transactions_by_pair",
"chain": "Ethereum",
"number_of_results": 0,
"error": "No data available",
"pair": "0xd45afa3649e57a961c001b935ded9d81a9d23"
}
]

‚Äč