@solana/rpc-api
Version:
Defines all default Solana RPC methods as types
13 lines • 435 B
TypeScript
import type { Base58EncodedBytes } from '@solana/rpc-types';
type GetGenesisHashApiResponse = Base58EncodedBytes;
export type GetGenesisHashApi = {
/**
* Returns the genesis hash.
*
* @returns A SHA-256 hash of the network's genesis config.
* @see https://solana.com/docs/rpc/http/getgenesishash
*/
getGenesisHash(): GetGenesisHashApiResponse;
};
export {};
//# sourceMappingURL=getGenesisHash.d.ts.map