getDefaultRequestTransformerForSolanaRpc
Returns the default request transformer for the Solana RPC API.
Under the hood, this function composes multiple RpcRequestTransformer | RpcRequestTransformers together such as the getDefaultCommitmentTransformer, the getIntegerOverflowRequestTransformer and the getBigIntDowncastRequestTransformer.
Parameters
| Parameter | Type |
|---|---|
config? | Readonly<{ defaultCommitment?: Commitment; onIntegerOverflow?: IntegerOverflowHandler; }> |
Returns
RpcRequestTransformer