function isDeferredAction<typedData, primaryType>(
typedDataDefinition,
accountAddress,
): boolean;Defined in: account-kit/smart-contracts/src/ma-v2/utils.ts:356
Type guard to check if a TypedDataDefinition is a deferred action.
A deferred action has:
- primaryType: "DeferredAction"
- domain.verifyingContract matching the account address
| Type Parameter | Default type |
|---|---|
| ‐ |
| keyof |
| Parameter | Type | Description |
|---|---|---|
|
| The typed data to check |
|
| Account address to verify against domain.verifyingContract |
boolean
- True if the typedDataDefinition is a deferred action for this account