GET_ACCOUNT

Get account from a program

Overview

This method returns specific account data for a program based on an accountName and pubkey.

GET_ACCOUNT

post
/query/solana

Get account from a program

Header parameters
x-api-keystringRequired

the API key

Body
typestringRequired

Should be set to 'GET_ACCOUNT'. This is the type of query you want to perform.

Example: GET_ACCOUNT
Responses
chevron-right
200

Successful Response

application/json
post
/query/solana
200

Successful Response

Example

Program - Cypher Protocol

Description - Get data about the specifc OrdersAccount at the given pubkey: Fbpf...oPHk

Javascript

cURL

Last updated