getDefaultResponseTransformerForSolanaRpc
Returns the default response transformer for the Solana RPC API.
Under the hood, this function composes multiple RpcResponseTransformer | RpcResponseTransformers together such as the getThrowSolanaErrorResponseTransformer, the getResultResponseTransformer and the getBigIntUpcastResponseTransformer.
Type Parameters
| Type Parameter |
|---|
TApi |
Parameters
| Parameter | Type |
|---|---|
config? | Readonly<{ allowedNumericKeyPaths?: Partial<Record<keyof TApi, readonly KeyPath[]>>; }> |
Returns
RpcResponseTransformer