OpenAPI
You can send transactions to the Orbiter bridge through the data obtained from the interface, currently supporting Ethereum, Arbitrum, Polygon, Optimism, zkSync Era, BSC, Arbitrum Nova, Polygon zkEVM, Scroll, Base, Linea, Mantle, Zora, Manta.
Pair Fee Configuration
Request
method: orbiter_getTradingPairs
Response
ruleList:
pairId: Transaction pair ID
recipient: Receiving address for user-initiated transactions
sender: Payback maker address
gasFee: Thousand percentage handling fee
tradingFee: Fixed cost
fromChain: Configuration of the user sending chain
toChain: Configuration of the user receiving chain
Id: Internal ID
chainId:Network ID
networkId:Network ID
name:Network name
symbol: Token currency
tokenAddress: Token address
decimals: Token accuracy
maxPrice: Maximum Send Amount
minPrice: Minimum Send Amount
Examples
Obtaining Transaction Information
Request
method: orbiter_getTransactionByHash params: [transaction hash]
Response
status:
-1: The transaction was not found
1: Receive the transaction
99: success
txList:
side: 0.Transactions sent by users; 1.Transactions received by the user
status: -1.The transaction was not found; 1.Receive the transaction; 99.success
timestamp: Block timestamps for transactions
hash: Transaction hash
chainId: Network ID
value: Amount of transaction
symbol: Token of transaction
Examples
Calculation of the amount
Request
method: orbiter_calculatedAmount **params:*8 [pairId, value]
pairId: It can be obtained from the 'orbiter_getTradingPairs' interface
value: Amount entered from the front end of the official website
Response
receiveValue: Amount that can be received
actualSend: Actual amount to be sent
Examples
Search Address History Transactions
Request
method: orbiter_getTransactionByAddress
params: [wallet address]
Response
list: Transaction List
count: Total number of transactions
Examples
Last updated