Skip to content
docs

SymbiosisRequest

Defined in: protocol-swap2-symbiosis/src/verify.ts:158

The user’s request, in the terms the calldata is checked against.

amountIn: bigint

Defined in: protocol-swap2-symbiosis/src/verify.ts:169


dest: SymbiosisChain

Defined in: protocol-swap2-symbiosis/src/verify.ts:160


destToken: string | null

Defined in: protocol-swap2-symbiosis/src/verify.ts:168

The buy token as Symbiosis’ contracts name it on the destination (20 bytes, lowercase); null for the native coin.


fallbackReceiver: string | null

Defined in: protocol-swap2-symbiosis/src/verify.ts:174

The user’s own EVM address that stands in for them on the host chain when the source is not an EVM chain (it receives the synthetic tokens if the last leg is reverted); null when none applies.


recipient: string

Defined in: protocol-swap2-symbiosis/src/verify.ts:164

The user’s address on the destination chain.


sellToken: string | null

Defined in: protocol-swap2-symbiosis/src/verify.ts:166

The sell token’s contract in the source chain’s own spelling; null for the native coin.


sender: string

Defined in: protocol-swap2-symbiosis/src/verify.ts:162

The user’s address on the source chain (the sender of the source transaction).


source: SymbiosisChain

Defined in: protocol-swap2-symbiosis/src/verify.ts:159