Octopus - Market API
Get Pair Trades
GET
/
market
/
trades
/
pair
Query quick start
Input in “address” field the contract address of the pair/pool you want to query. You can also query via asset explained in great details here and it will return the largest pair’s data for this asset.
Query Parameters
address
string
requiredAddress of the pair to retrieve trade history for.
amount
integer
default: 20Maximum number of results to return.
asset
string
The Asset you want to target - asset name only works for assets listed on Mobula.
blockchain
string
The blockchain of the asset (only mandatory if asset is sent as smart-contract).
Response
200 - application/json
data
object[]