RpcClient
Defined in: protocol-staking-native-solana/src/rpc.ts:56
Tries each source in order. Transport failures, timeouts and rate limits move on; a node-side rejection is final.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RpcClient(
sources,options?):RpcClient
Defined in: protocol-staking-native-solana/src/rpc.ts:61
Parameters
Section titled “Parameters”sources
Section titled “sources”options?
Section titled “options?”RpcClientOptions = {}
Returns
Section titled “Returns”RpcClient
Accessors
Section titled “Accessors”configured
Section titled “configured”Get Signature
Section titled “Get Signature”get configured():
boolean
Defined in: protocol-staking-native-solana/src/rpc.ts:67
Returns
Section titled “Returns”boolean
Methods
Section titled “Methods”call()
Section titled “call()”call<
T>(method,params?):Promise<T>
Defined in: protocol-staking-native-solana/src/rpc.ts:71
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”method
Section titled “method”string
params?
Section titled “params?”unknown[] = []
Returns
Section titled “Returns”Promise<T>