API Documentation

Api url: https://quoter.coinquoter.com

Endpoints

Blockchains

Returns an array of all active blockchains.

GET /getBlockChains

Parameters

There are no parameters for this endpoint.

Response

[
    {
        "name": "Harmony Mainnet",
        "chain_id": "1666600000",
        "rpc_url": "https://iad.api.harmony.one/",
        "currency_symbol": "ONE",
        "block_explorer_url": "https://explorer.harmony.one/tx/0x",
        "blockchain_icon_url": "https://harmony.one/logo",
        "currency_name": "One"
    },
    {
        "name": "Ethereum Mainnet",
        "chain_id": "1",
        "rpc_url": "https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161",
        "currency_symbol": "ETH",
        "block_explorer_url": "https://etherscan.io/tx/0x",
        "blockchain_icon_url": "https://ethereum.org/static/a183661dd70e0e5c70689a0ec95ef0ba/81d9f/eth-diamond-purple.webp",
        "currency_name": "Ether"
    },
    {
        "name": "Binance Smart Chain Testnet",
        "chain_id": "97",
        "rpc_url": "https://data-seed-prebsc-1-s1.binance.org:8545/",
        "currency_symbol": "BNB",
        "block_explorer_url": "https://testnet.bscscan.com/tx/0x",
        "blockchain_icon_url": "https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png",
        "currency_name": "BNB"
    }
]

LLDEX Address

Returns lldex contract address on a given blockchain.

GET /getLLDEXAddress

Parameters

Name
Type
Mandatory
Description

chainId

Number

Yes

Id of a blockchain.

Response

Native Token

Returns native currency of blockchain.

GET /getNativeToken

Parameters

Name
Type
Mandatory
Description

chainId

Number

Yes

Id of a blockchain.

Response

Transaction History

Endpoint returns an array of transaction logs for a specific wallet address. Each log provides extensive information on the transaction, as well as market snapshots 30 seconds before and after the transaction.

GET /getTransactionHistory

Parameters

Name
Type
Mandatory
Description

takerAddress

String

Yes

Address of taker wallet.

Response

Active Token Pairs

Returns an array of active token pairs on a given blockchain.

GET /getActiveTokenPairs

Parameters

Name
Type
Mandatory
Description

chainId

Number

Yes

Id of a blockchain.

Response

Maker Active Token Pairs

Returns an array of active token pairs for a specific maker address on a given blockchain.

GET /getMakerActiveTokenPairs

Parameters

Name
Type
Mandatory
Description

chainId

Number

Yes

Id of a blockchain.

makerAddress

String

Yes

Address of maker wallet address.

Response

Get Max Slippage

Return max slippage value for a specific maker on a given blockchain.

POST /maker/getMaxSlippage

Parameters

Name
Type
Mandatory
Description

typedData

EIP712TypedData

Yes

Object created with "buildRFQOrderTypedData" method from limit order protocol library.

signature

String

Yes

String created with "buildOrderSignature" method from limit order protocol library.

publicKey

String

Yes

Session public key.

makerAddress

String

Yes

Address of maker wallet address.

chainId

Number

Yes

Id of a blockchain.

Response

Set Max Slippage

Set max slippage value for a specific maker on a given blockchain.

POST /maker/setMaxSlippage

Parameters

Name
Type
Mandatory
Description

typedData

EIP712TypedData

Yes

Object created with "buildRFQOrderTypedData" method from limit order protocol library.

signature

String

Yes

String created with "buildOrderSignature" method from limit order protocol library.

publicKey

String

Yes

Session public key.

makerAddress

String

Yes

Address of maker wallet address.

chainId

Number

Yes

Id of a blockchain.

slippage

Number

Yes

The slippage value you want to set.

Response

Get Max Gas Fee

Return max gas fee value for a specific maker on a given blockchain.

POST /maker/getMaxGasFee

Parameters

Name
Type
Mandatory
Description

typedData

EIP712TypedData

Yes

Object created with "buildRFQOrderTypedData" method from limit order protocol library.

signature

String

Yes

String created with "buildOrderSignature" method from limit order protocol library.

publicKey

String

Yes

Session public key.

makerAddress

String

Yes

Address of maker wallet address.

chainId

Number

Yes

Id of a blockchain.

Response

Set Max Gas Fee

Set max gas fee value for a specific maker on a given blockchain.

POST /maker/setMaxGasFee

Parameters

Name
Type
Mandatory
Description

typedData

EIP712TypedData

Yes

Object created with "buildRFQOrderTypedData" method from limit order protocol library.

signature

String

Yes

String created with "buildOrderSignature" method from limit order protocol library.

publicKey

String

Yes

Session public key.

makerAddress

String

Yes

Address of maker wallet address.

chainId

Number

Yes

Id of a blockchain.

gasFee

Number

Yes

The gas fee value you want to set.

Response

Last updated