Skip to content

@armada/sdk / index / decodeGaslessCrossChainShieldCalldata

Function: decodeGaslessCrossChainShieldCalldata() ​

decodeGaslessCrossChainShieldCalldata(calldata): object

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

Decode gaslessCrossChainShield calldata back into its params, intent signature and the two notes, e.g. for a relayer to check its fee note's npk (reconstructShieldNpk) and value. Throws InvalidRequestError for calldata of any other function.

Parameters ​

calldata ​

string

Returns ​

object

params ​

params: GaslessCrossChainShieldParams

intentSig ​

intentSig: `0x${string}`

userNote ​

userNote: ShieldData

feeNote ​

feeNote: ShieldData