ZcashClientConfig
ZcashClientConfig = {
clientConfig?: {key?:string;url?:string; };type:"blockchair"; } | {clientConfig: {headers?:Record<string,string>;url:string; };type:"blockbook-http"; }
Defined in: wallet-zcash/src/types.ts:52
One transport to a Zcash indexer: Blockchair or a Blockbook instance.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ clientConfig?: { key?: string; url?: string; }; type: "blockchair"; }
Blockchair’s public REST API (https://api.blockchair.com/zcash; optional API key). Mainnet only.
Type Literal
Section titled “Type Literal”{ clientConfig: { headers?: Record<string, string>; url: string; }; type: "blockbook-http"; }
A Zcash Blockbook (NOWNodes https://zec-blockbook.nownodes.io with an api-key header, a self-hosted instance, …).