Type alias Transport<TType, TRpcAttributes, TEIP1193RequestFn>
Transport<TType, TRpcAttributes, TEIP1193RequestFn>: (<TChain>({ chain, }) => { config: TransportConfig<TType>; request: TEIP1193RequestFn; value?: TRpcAttributes; }) Type Parameters
TType extends string = string
TRpcAttributes = Record<string, any>
Type declaration
- <TChain>({ chain, }): {
config: TransportConfig<TType>;
request: TEIP1193RequestFn;
value?: TRpcAttributes;
} Returns {
config: TransportConfig<TType>;
request: TEIP1193RequestFn;
value?: TRpcAttributes;
}
request: TEIP1193RequestFn
Optional
value?: TRpcAttributes