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:"getProgramAccounts"
required
JSON-RPC method name.
object
required
Parameters for method getProgramAccounts: [programId, config]Positional parameters for
getProgramAccounts:params[0]: Pubkey of the program (base-58 encoded).params[1]: Optional configuration object.
Returns
array
Array of account info objects. If withContext=true, response will be wrapped in RpcResponse object.