getKeysets
Type Aliases
GetKeysetsParams
type GetKeysetsParams: object;
Type declaration
Member | Type | Description |
---|---|---|
sequencerInbox | Address | Address of the sequencerInbox we're getting logs from |
Source
GetKeysetsReturnType
type GetKeysetsReturnType: object;
Type declaration
Member | Type | Description |
---|---|---|
keysets | object | Map of keyset hash to keyset bytes keyset hash are used to invalidate a given keyset |
Source
Functions
getKeysets()
function getKeysets<TChain>(publicClient: object, GetKeysetsParams: GetKeysetsParams): Promise<GetKeysetsReturnType>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type | Description |
---|---|---|
publicClient | object | The chain Viem Public Client |
GetKeysetsParams | GetKeysetsParams | GetKeysetsParams |
Returns
Promise
<GetKeysetsReturnType
>
Promise<GetKeysetsReturnType>
Example
const { keysets } = getKeysets(client, {
sequencerInbox: '0x211E1c4c7f1bF5351Ac850Ed10FD68CFfCF6c21b'
});