Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / isMuted

Function: isMuted()

function isMuted(options): Promise<boolean>;

Defined in: packages/sdk/src/indexer/api.ts:440

Checks if an address is marked as a muted on the indexer of your choice.

Parameters

options

The options for checking if an address is muted

address

`0x${string}` = HexSchema

Author's address

apiUrl?

string = ...

URL on which /api/muted-accounts/$address endpoint will be called

Default
"https://api.ethcomments.xyz"

retries?

number = ...

Number of times to retry the signing operation in case of failure.

Default
3

signal?

AbortSignal = ...

Abort signal for requests

Returns

Promise<boolean>

A promise that resolves to true if the address is marked as muted, false otherwise