본문으로 건너뛰기

Trade

GET 

/api/v1/dex/trade

Get historical DEX trade data for a given exchange and symbol.

Request

Query Parameters

    chain stringrequired

    Specifes chain

    exchange stringrequired

    Specifes exchange

    pool stringrequired

    Specifies pool

    from string

    Specifies from

    to string

    Specifies to

    page integer

    Page number

    Default value: 1
    limit integer

    Page size

    Default value: 1000
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    chain string

    data

    object[]

  • Array [

  • b integer

    specifies the block number

    base string

    specifies the base

    bq number

    specifies the base quantity in base unit

    d integer

    specifies the data and time

    i integer

    specifies the log index

    Example: 21
    m string

    specifies the maker

    p number

    specifies the price in quote unit

    qq number

    specifies the quote quantity in base unit

    quote string

    specifies the quote

    s string

    specifies the symbol

    t string

    specifies the type (buy, sell, deposit, withdrawal)

    tokenId string

    specifies the tokenId

    tx string

    specifies the transaction hash

  • ]

  • exchange string
    from string
    key string
    limit integer
    page integer
    pool string
    sort string
    to string
    total integer
Loading...