Skip to content

@armada/sdk / index / buildAtomicCrossChainUnshieldCalldata

Function: buildAtomicCrossChainUnshieldCalldata()

buildAtomicCrossChainUnshieldCalldata(tx, params): TransactCalldata

Defined in: src/tx/wrappers.ts:34

atomicCrossChainUnshield(tx, destinationDomain, finalRecipient, maxFee, uniqueNonce) — a cross-chain unshield. to is the PrivacyPool (the router declares the entry point). The proof must bind boundParams.adaptParams = encodeCctpBinding(finalRecipient, destinationDomain, maxFee).

Parameters

tx

TransactionData

params

poolAddress

`0x${string}`

destinationDomain

number

finalRecipient

`0x${string}`

maxFee

bigint

uniqueNonce

bigint

Returns

TransactCalldata