AppController_getBridgingStatus
GET/v2/bridge-status
AppController_getBridgingStatus
Request
Query Parameters
Transaction hash originating from the source chain while bridging assets.
ID of source chain, e.g Ethereum Mainnet = 1
ID of destination chain, e.g Ethereum Mainnet = 1
Name of the bridge used while bridging.
Is the transaction a bridge protection transaction.
Header Parameters
Responses
- 200
Returns the status of the bridging transaction if completed or pending.
- application/json
- Schema
- Example (from schema)
Schema
Status of API.
trueresult
object
required
Source Transaction.
0xa6574b28b36dceb147a7ff3ca06839f1f0835bcfd5f0409406fbc524412e281aStatus of source transaction while bridging.
Possible values: [PENDING, COMPLETED]
COMPLETEDDestination Transaction hash.
0xa6574b28b36dceb147a7ff3ca06839f1f0835bcfd5f0409406fbc524412e281aStatus of destination transaction while bridging.
Possible values: [PENDING, COMPLETED]
COMPLETEDSource Chain Id
1Destination Chain Id.
137fromAsset
object
required
Name of token.
USD CoinAddress of token.
0x2791bca1f2de4661ed88a30c99a7a9449aa84174URL for icon of token.
https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svgDecimal used for token.
6Symbol of token.
USDCChain id of the token
Possible values: [MAINNET_CHAIN_ID, OPTIMISM_CHAIN_ID, BSC_CHAIN_ID, XDAI_CHAIN_ID, POLYGON_CHAIN_ID, FANTOM_CHAIN_ID, ZKSYNC_ERA_CHAIN_ID, POLYGON_ZKEVM_CHAIN_ID, MANTLE_CHAIN_ID, BASE_CHAIN_ID, MODE_CHAIN_ID, ARBITRUM_CHAIN_ID, AVAX_CHAIN_ID, LINEA_CHAIN_ID, BLAST_CHAIN_ID, SCROLL_CHAIN_ID, ZORA_CHAIN_ID, AURORA_CHAIN_ID]
137URL for icon of token.
https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svgUnique Id over all chains
DAItoAsset
object
required
Name of token.
USD CoinAddress of token.
0x2791bca1f2de4661ed88a30c99a7a9449aa84174URL for icon of token.
https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svgDecimal used for token.
6Symbol of token.
USDCChain id of the token
Possible values: [MAINNET_CHAIN_ID, OPTIMISM_CHAIN_ID, BSC_CHAIN_ID, XDAI_CHAIN_ID, POLYGON_CHAIN_ID, FANTOM_CHAIN_ID, ZKSYNC_ERA_CHAIN_ID, POLYGON_ZKEVM_CHAIN_ID, MANTLE_CHAIN_ID, BASE_CHAIN_ID, MODE_CHAIN_ID, ARBITRUM_CHAIN_ID, AVAX_CHAIN_ID, LINEA_CHAIN_ID, BLAST_CHAIN_ID, SCROLL_CHAIN_ID, ZORA_CHAIN_ID, AURORA_CHAIN_ID]
137URL for icon of token.
https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svgUnique Id over all chains
DAIPrice of the input token
Price of the outputToken token
Price of the outputToken token
Price of the outputToken token
address of the sender
address of the recipient
identifies if its a socket tx or not.
Name of the bridge used
refuel
object
nullable
required
{
"success": true,
"result": {
"sourceTransactionHash": "0xa6574b28b36dceb147a7ff3ca06839f1f0835bcfd5f0409406fbc524412e281a",
"sourceTxStatus": "COMPLETED",
"destinationTransactionHash": "0xa6574b28b36dceb147a7ff3ca06839f1f0835bcfd5f0409406fbc524412e281a",
"destinationTxStatus": "COMPLETED",
"fromChainId": 1,
"toChainId": 137,
"fromAsset": {
"name": "USD Coin",
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"icon": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
"decimals": 6,
"symbol": "USDC",
"chainId": 137,
"logoURI": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
"chainAgnosticId": "DAI"
},
"toAsset": {
"name": "USD Coin",
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"icon": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
"decimals": 6,
"symbol": "USDC",
"chainId": 137,
"logoURI": "https://maticnetwork.github.io/polygon-token-assets/assets/usdc.svg",
"chainAgnosticId": "DAI"
},
"srcTokenPrice": "string",
"destTokenPrice": "string",
"fromAmount": "string",
"toAmount": "string",
"sender": "string",
"recipient": "string",
"isSocketTx": true,
"bridgeName": "string",
"refuel": {
"destinationTxStatus": "string",
"sourceTxStatus": "string",
"bridge": "string",
"status": "string",
"destinationTransactionHash": "string",
"recipient": "string",
"sender": "string",
"isSocketTx": true,
"fromAmount": "string",
"toAmount": "string",
"fromTokenAddress": "string",
"toTokenAddress": "string",
"isMultiBridge": true,
"destinationChainId": 0
}
}
}