getAccountInfo

Returns all information associated with the account of provided Pubkey.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
PubkeystringRequired
Pubkey of the account to query.
ConfigurationobjectOptional
Optional configuration object for additional settings.

Response

Returns details of the account including balance, ownership, and other relevant data.
lamportsinteger or null
Number of lamports assigned to this account.
ownerstring or null
Program owner of this account.
datalist of strings or null
Account data in the specified encoding format.
executableboolean or null
Indicates if the account contains a program.
rentEpochinteger or null
The epoch at which this account will next owe rent.
sizeinteger or null
The data size of the account.