Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / CreateRemoveApprovalTypedDataParams

Type Alias: CreateRemoveApprovalTypedDataParams

type CreateRemoveApprovalTypedDataParams = {
  app: Hex;
  author: Hex;
  chainId: number;
  commentsAddress?: Hex;
  deadline?: bigint;
  nonce: bigint;
};

Defined in: packages/sdk/src/comments/approval.ts:496

Properties

app

app: Hex;

Defined in: packages/sdk/src/comments/approval.ts:504

The address of the app signer


author

author: Hex;

Defined in: packages/sdk/src/comments/approval.ts:500

The address of the author


chainId

chainId: number;

Defined in: packages/sdk/src/comments/approval.ts:508

The chain ID


commentsAddress?

optional commentsAddress: Hex;

Defined in: packages/sdk/src/comments/approval.ts:520

The address of the comments contract


deadline?

optional deadline: bigint;

Defined in: packages/sdk/src/comments/approval.ts:516

Timestamp after which the signature becomes invalid


nonce

nonce: bigint;

Defined in: packages/sdk/src/comments/approval.ts:512

The current nonce for the author and app signer