feat(web3.js): expose rpcEndpoint in client for web3.js (#23719)
Adds a getter to the commitment class to expose the rpcEndpoint property.
This commit is contained in:
parent
a573cfa39d
commit
26da64184a
|
@ -2230,6 +2230,13 @@ export class Connection {
|
|||
return this._commitment;
|
||||
}
|
||||
|
||||
/**
|
||||
* The RPC endpoint
|
||||
*/
|
||||
get rpcEndpoint(): string {
|
||||
return this._rpcEndpoint;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch the balance for the specified public key, return with context
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue