AcrossChain
Defined in: protocol-swap2-across/src/config.ts:46
Properties
Section titled “Properties”caip2:
string
Defined in: protocol-swap2-across/src/config.ts:47
chainId
Section titled “chainId”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
Section titled “nativeIsEth”nativeIsEth:
boolean
Defined in: protocol-swap2-across/src/config.ts:60
The chain’s native coin is ether, bridged as the ETH asset.
spokePool
Section titled “spokePool”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
Section titled “tokens”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
Section titled “wrappedNative”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).