@armada/sdk / index / decodeTransact
Function: decodeTransact()
decodeTransact(
calldata):DecodedTransact[]
Defined in: src/tx/decode.ts:134
Decode relay calldata into one DecodedTransact per embedded transaction — natively understanding both a bare transact(Transaction[]) (N transactions) AND the wrapper entry points atomicCrossChainUnshield / lendAndShield / redeemAndShield (one embedded Transaction each, at arg 0). This replaces the relayer's synthetic-transact() re-encoding: a verifier feeds raw calldata regardless of the outer selector and gets the same structured nullifiers/commitments/boundParams/output ciphertexts, since the broadcaster fee note lives in boundParams.commitmentCiphertext[] either way. Throws on an unrecognized selector.
Parameters
calldata
string