Skip to content
docs

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.

{ clientConfig?: { key?: string; url?: string; }; type: "blockchair"; }

Blockchair’s public REST API (https://api.blockchair.com/zcash; optional API key). Mainnet only.


{ 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, …).