nexus-sdk-bridge-flows

Originally fromavailproject/nexus-sdk
Installation
SKILL.md

Bridge and Execute Flows

Call bridge(params, options?)

  • Use to move tokens cross-chain (intent-based bridge).
  • Signature:
    • sdk.bridge(params, { onEvent? })
  • Params (BridgeParams):
    • token: string — token symbol (e.g., "ETH", "USDC")
    • amount: bigint — smallest units
    • toChainId: number — destination chain id
    • recipient?: Hex — defaults to connected user address
    • gas?: bigint — optional native gas to deliver on destination
    • sourceChains?: number[] — restrict source chains
  • Result (BridgeResult):
    • explorerUrl: string
    • sourceTxs: { chain, hash, explorerUrl }[]
    • intent: ReadableIntent

Call bridgeAndTransfer(params, options?)

Related skills

More from availproject/nexus-elements

Installs
16
First Seen
Feb 18, 2026