Creates a RpcApi implementation of the Solana JSON RPC API with some default behaviours.
The default behaviours include:
A transform that converts bigint inputs to number for compatibility with version 1.0 of the
Solana JSON RPC.
A transform that calls the config's Config.onIntegerOverflow | onIntegerOverflow
handler whenever a bigint input would overflow a JavaScript IEEE 754 number. See
this GitHub issue for more
information.
A transform that applies a default commitment wherever not specified
Creates a RpcApi implementation of the Solana JSON RPC API with some default behaviours.
The default behaviours include:
bigintinputs tonumberfor compatibility with version 1.0 of the Solana JSON RPC.bigintinput would overflow a JavaScript IEEE 754 number. See this GitHub issue for more information.