Skip to content
docs

AcrossChain

Defined in: protocol-swap2-across/src/config.ts:46

caip2: string

Defined in: protocol-swap2-across/src/config.ts:47


chainId: number

Defined in: protocol-swap2-across/src/config.ts:48


key: string

Defined in: protocol-swap2-across/src/config.ts:50

The SDK’s chain key (@anywalletkit/swap2-assets).


name: string

Defined in: protocol-swap2-across/src/config.ts:51


nativeIsEth: boolean

Defined in: protocol-swap2-across/src/config.ts:60

The chain’s native coin is ether, bridged as the ETH asset.


spokePool: string

Defined in: protocol-swap2-across/src/config.ts:53

SpokePool proxy on that chain: the only contract a deposit calls and the only spender an approval names.


tokens: readonly AcrossToken[]

Defined in: protocol-swap2-across/src/config.ts:62

ERC-20s Across bridges to the same asset on another pinned chain. ETH’s ERC-20 is the wrapped native token.


wrappedNative: string | null

Defined in: protocol-swap2-across/src/config.ts:58

wrappedNativeToken() of that SpokePool. A deposit that sends the native coin names it as inputToken; a fill of it is paid out as the native coin to an EOA. Null where the SpokePool reports the zero address (Arc).