Skip to main content

Parameters

chainId
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getAccountInfo"
required
JSON-RPC method name.
params
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

result
object
Requested account information or if the account doesn`t exist null