Type alias BridgeQueryResult

BridgeQueryResult: {
    amount: bigint;
    bridgingDurationExpectedMs?: number;
    fromChainId: number;
    plugin: BridgingPlugin;
    receivedAtDestination: bigint;
    userOp: Instruction;
}

Result of a bridge query including chain info

Type declaration

  • amount: bigint

    Amount to bridge in base units (wei)

  • Optional bridgingDurationExpectedMs?: number

    Expected duration of the bridging operation in milliseconds

  • fromChainId: number

    ID of the source chain

  • plugin: BridgingPlugin

    Plugin implementation used for the bridging operation

  • receivedAtDestination: bigint

    Expected amount to receive at destination after fees

  • userOp: Instruction

    Resolved user operation for the bridge