@ecp.eth/sdk / comments / CreateApprovalTypedDataParams
Type Alias: CreateApprovalTypedDataParams
type CreateApprovalTypedDataParams = {
app: Hex;
author: Hex;
chainId: number;
commentsAddress?: Hex;
deadline?: bigint;
nonce: bigint;
};
Defined in: packages/sdk/src/comments/approval.ts:454
Properties
app
app: Hex;
Defined in: packages/sdk/src/comments/approval.ts:456
author
author: Hex;
Defined in: packages/sdk/src/comments/approval.ts:455
chainId
chainId: number;
Defined in: packages/sdk/src/comments/approval.ts:460
The chain ID
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/approval.ts:472
The address of the comments contract
deadline?
optional deadline: bigint;
Defined in: packages/sdk/src/comments/approval.ts:468
Timestamp after which the signature becomes invalid
nonce
nonce: bigint;
Defined in: packages/sdk/src/comments/approval.ts:464
The current nonce for the author and app signer