Parameters
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"getAccountInfo"
required
JSON-RPC method name.
object
required
Parameters: [pubkey, config]Positional parameters for
getAccountInfo:params[0]: Base-58 encoded public key of the account to query.params[1]: Optional configuration object.
Returns
object
Requested account information or if the account doesn`t exist null