getProgramAccounts

Returns all accounts owned by the provided program Pubkey.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
PubkeystringRequired
The Pubkey of the program.
ConfigurationobjectOptional
Optional configuration object.

Response

An array of JSON objects containing program account details.
pubkeystring or null

The account Pubkey as a base-58 encoded string.

accountobject or null