Skip to main content

AppController_getBridgingStatus

GET 

https://api.socket.tech/v2/bridge-status

AppController_getBridgingStatus

Request​

Query Parameters

    transactionHash stringrequired

    Transaction hash originating from the source chain while bridging assets.

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    fromChainId stringrequired

    ID of source chain, e.g Ethereum Mainnet = 1

    Example: 1
    toChainId string

    ID of destination chain, e.g Ethereum Mainnet = 1

    Example: 137
    bridgeName string

    Name of the bridge used while bridging.

    Example: hop
    isBridgeProtectionTx boolean

    Is the transaction a bridge protection transaction.

    Example: false

Header Parameters

    API-KEY string

Responses​

Returns the status of the bridging transaction if completed or pending.

Schema

    success booleanrequired

    Status of API.

    result

    object

    required

    sourceTransactionHash stringrequired

    Source Transaction.

    sourceTxStatus stringrequired

    Possible values: [PENDING, COMPLETED]

    Status of source transaction while bridging.

    destinationTransactionHash string

    Destination Transaction hash.

    destinationTxStatus stringrequired

    Possible values: [PENDING, COMPLETED]

    Status of destination transaction while bridging.

    fromChainId numberrequired

    Source Chain Id

    toChainId numberrequired

    Destination Chain Id.

    fromAsset

    object

    required

    name string

    Name of token.

    address stringrequired

    Address of token.

    icon string

    URL for icon of token.

    decimals number

    Decimal used for token.

    symbol stringrequired

    Symbol of token.

    chainId stringrequired

    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]

    Chain id of the token

    logoURI string

    URL for icon of token.

    chainAgnosticId string

    Unique Id over all chains

    toAsset

    object

    required

    name string

    Name of token.

    address stringrequired

    Address of token.

    icon string

    URL for icon of token.

    decimals number

    Decimal used for token.

    symbol stringrequired

    Symbol of token.

    chainId stringrequired

    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]

    Chain id of the token

    logoURI string

    URL for icon of token.

    chainAgnosticId string

    Unique Id over all chains

    srcTokenPrice stringrequired

    Price of the input token

    destTokenPrice stringrequired

    Price of the outputToken token

    fromAmount stringrequired

    Price of the outputToken token

    toAmount stringrequired

    Price of the outputToken token

    sender stringrequired

    address of the sender

    recipient stringrequired

    address of the recipient

    isSocketTx booleanrequired

    identifies if its a socket tx or not.

    bridgeName stringrequired

    Name of the bridge used

    refuel

    object

    nullable

    required

    destinationTxStatus stringrequired
    sourceTxStatus stringrequired
    bridge stringrequired
    status stringrequired
    destinationTransactionHash stringrequired
    recipient stringrequired
    sender stringrequired
    isSocketTx booleanrequired
    fromAmount stringrequired
    toAmount stringrequired
    fromTokenAddress stringrequired
    toTokenAddress stringrequired
    isMultiBridge booleanrequired
    destinationChainId numberrequired
Loading...