@subsquid/rpc-client
v4.16.0
Published
Lightweight JSON-RPC client library
Downloads
26,830
Readme
@subsquid/rpc-client
Lightweight JSON-RPC client library.
Endpoint redaction
RpcClient.url is safe to include in logs and metrics: user information, query
parameters, fragments, and key-like path segments are removed or masked. The
transport still uses the original URL supplied to the constructor.
RpcClient also overrides any rpcUrl context on a supplied custom logger with
this safe value. Use redactRpcUrl(url) for endpoint fields logged outside the
client.
