Skip to content

Function: fetchMaybeMerkleDistributor() ​

ts
function fetchMaybeMerkleDistributor<TAddress>(
  rpc,
  address,
  config?
): Promise<MaybeAccount<MerkleDistributor, TAddress>>;

Type Parameters ​

Type ParameterDefault type
TAddress extends stringstring

Parameters ​

ParameterType
rpcRpc<GetAccountInfoApi>
addressAddress<TAddress>
config?FetchAccountConfig

Returns ​

Promise<MaybeAccount<MerkleDistributor, TAddress>>