@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:433
Properties
app
app: Hex;
Defined in: packages/sdk/src/comments/approval.ts:435
author
author: Hex;
Defined in: packages/sdk/src/comments/approval.ts:434
chainId
chainId: number;
Defined in: packages/sdk/src/comments/approval.ts:439
The chain ID
commentsAddress?
optional commentsAddress: Hex;
Defined in: packages/sdk/src/comments/approval.ts:451
The address of the comments contract
deadline?
optional deadline: bigint;
Defined in: packages/sdk/src/comments/approval.ts:447
Timestamp after which the signature becomes invalid
nonce
nonce: bigint;
Defined in: packages/sdk/src/comments/approval.ts:443
The current nonce for the author and app signer