Skip to content

@armada/sdk / index / decodeGaslessShieldCalldata

Function: decodeGaslessShieldCalldata() ​

decodeGaslessShieldCalldata(calldata): object

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

Decode gaslessShield calldata — what a relayer receives — back into its params, intent signature and shield requests, e.g. to verify the fee note (verifyShieldFeeNote) or check hashShieldRequests against the intent. Throws InvalidRequestError for calldata of any other function.

Parameters ​

calldata ​

string

Returns ​

object

params ​

params: GaslessShieldParams

intentSig ​

intentSig: `0x${string}`

shieldRequests ​

shieldRequests: ShieldRequest[]