Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments/react / useGetNonce

Function: useGetNonce()

function useGetNonce(): (params) => Promise<bigint>;

Defined in: packages/sdk/src/comments/react/comment.ts:269

React hook to get the nonce for the author and app signer

Returns

The result of the query

(params): Promise<bigint>;

Get the nonce for the author and app signer

Parameters

params

GetNonceParams

The parameters for getting a nonce

Returns

Promise<bigint>

The nonce