Links

Aggregator API

API Reference

Price Quote
get
https://open-api.openocean.finance/v3
/:chain/quote
Quote the price of a specific trading pair
Building Transaction
To obtain a more accurate gas limit, we suggest calling the ‘’est_gas‘’ function from a reliable RPC before submitting the transaction on chain.
Also, try to call 'eth.estamiteGas()' before sendTransaction and renew the estimatedGas to ensure the transaction can be done successfully.
Note that, 'estimatedGas' is only a reference provided, please adjust by your need.
get
https://open-api.openocean.finance/v3
/:chain/swap_quote
Building Transaction
Get Transaction
get
https://open-api.openocean.finance/v3/
:chain/getTransaction
Get Transaction
Get Token Lists
get
https://open-api.openocean.finance/v3/:chain/
tokenList
Get Tokens Lists
Get Dexes List
get
https://open-api.openocean.finance/v3/:chain/
dexList
Get Dexes List
Get Transaction Hash
get
https://open-api.openocean.finance/v3/:chain
/getTxs
Get Transaction Hash
Get Balance
get
https://open-api.openocean.finance/v3/:chain
/getBalance
Get Balance from wallet
Create Wallet
get
https://open-api.openocean.finance/v3/:chain
/createWallet
Create Wallet
Get gasPrice
get
https://open-api.openocean.finance/v3/:chain/gasPrice
Get gasPrice