diff --git a/web3.js/src/connection.ts b/web3.js/src/connection.ts index 41842da579..9212203c28 100644 --- a/web3.js/src/connection.ts +++ b/web3.js/src/connection.ts @@ -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 */