Skip to content

@armada/sdk / index / buildCrossChainShieldIntentTypedData

Function: buildCrossChainShieldIntentTypedData() ​

buildCrossChainShieldIntentTypedData(params): CrossChainShieldIntentTypedData

Defined in: src/tx/gasless-cross-chain-shield.ts:92

EIP-712 typed data for GaslessShieldWrapperClient (domain ArmadaGaslessCrossChainShield/1) — sign with the user's key. The intent binds each note by hashShieldData, so it can be built after the notes are saved.

Parameters ​

params ​

clientWrapperAddress ​

`0x${string}`

chainId ​

number

intent ​

CrossChainShieldIntent

Returns ​

CrossChainShieldIntentTypedData