crypto-aio / crypto-aio / DriverContext
Interface: DriverContext ​
Defined in: src/core/driver/types.ts:505
A factory's create() must call transport.setProbes(...) exactly once, before any other traffic, on every Transport it receives here — including indexer, when present. setProbes resets health/identity state, so calling it again later, or skipping it on one of the two transports, leaves that transport's health checks silently unconfigured.
There is no asset resolver here, and DriverIntent carries no decimals: drivers work in base units only (BuildContext.decimals says how the core scaled them).
Properties ​
chain ​
readonlychain:ChainInfo
Defined in: src/core/driver/types.ts:506
clock ​
readonlyclock:Clock
Defined in: src/core/driver/types.ts:514
indexer? ​
readonlyoptionalindexer?:Transport
Defined in: src/core/driver/types.ts:513
The indexer endpoints, when the handle has any.
library ​
readonlylibrary:string
Defined in: src/core/driver/types.ts:509
The SDK library the handle selected, such as ethers.
log ​
readonlylog:Logger
Defined in: src/core/driver/types.ts:515
network ​
readonlynetwork:NetworkInfo
Defined in: src/core/driver/types.ts:507
options ​
readonlyoptions:Readonly<Record<string,unknown>>
Defined in: src/core/driver/types.ts:517
The driver options: the chain config's options with the handle's over them.
transport ​
readonlytransport:Transport
Defined in: src/core/driver/types.ts:511
The provider endpoints.