@armada/sdk / index / buildGaslessShield
Function: buildGaslessShield()
buildGaslessShield(
input,shieldPrivateKey):Promise<{shieldRequests:ShieldRequest[];requestsHash:`0x${string}`;typedData:ShieldIntentTypedData; }>
Defined in: src/tx/gasless-shield.ts:100
Assemble a gasless shield: the two shield requests (user note + relayer fee note), their bound requestsHash, and the EIP-712 typed data to sign. The caller signs typedData (the intent) and a separate EIP-2612 permit, then submits gaslessShield(params, intentSig, shieldRequests) via the relayer.
Parameters
input
shieldPrivateKey
Uint8Array
Returns
Promise<{ shieldRequests: ShieldRequest[]; requestsHash: `0x${string}`; typedData: ShieldIntentTypedData; }>