Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / GetRemoveApprovalHashParams

Type Alias: GetRemoveApprovalHashParams

type GetRemoveApprovalHashParams = {
  app: Hex;
  author: Hex;
  commentsAddress?: Hex;
  deadline: bigint;
  nonce: bigint;
  readContract: ContractReadFunctions["getRemoveApprovalHash"];
};

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

Properties

app

app: Hex;

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

The address of the app signer


author

author: Hex;

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

The address of the author


commentsAddress?

optional commentsAddress: Hex;

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

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

deadline

deadline: bigint;

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

Timestamp after which the signature becomes invalid


nonce

nonce: bigint;

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

The current nonce for the author


readContract

readContract: ContractReadFunctions["getRemoveApprovalHash"];

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