The Solana view function adapter can be used to query account information from the Solana blockchain
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
COMMITMENT | string | confirmed , finalized , max , processed , recent , root , single , singleGossip |
confirmed |
||
✅ | RPC_URL | The RPC URL to a Solana node. Options include https://api.devnet.solana.com , https://api.testnet.solana.com , https://api.mainnet-beta.solana.com , https://solana-api.projectserum.com . Full list can be found here https://docs.solana.com/cluster/rpc-endpoints. |
string |
There are no rate limits for this adapter.
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | accounts | accounts |
accounts
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | addresses | An array of the addresses to query information from | array |
Request:
{
"id": "1",
"data": {
"addresses": [
"EMtjYGwPnXdtqK5SGL8CWGv4wgdBQN79UPoy53x9bBTJ",
"BSGfVnE6q6KemspkugEERU8x7WbQwSKwvHT1cZZ4ACVN",
"3FMBoeddUhtqxepzkrxPrMUV3CL4bZM5QmMoLJfEpirz"
],
"endpoint": "accounts"
},
"debug": {
"cacheKey": "jbZq83P5Srrm40cvEJPNvvqYHlQ="
}
}
Response:
{
"jobRunID": "1",
"data": {
"accountInformation": [
{
"data": {
"type": "Buffer",
"data": [
0,
244,
182,
207,
226,
176,
240,
58,
52,
188,
96,
121,
71,
142,
20,
112,
42,
3,
189,
134,
181,
30,
43,
128,
78,
248,
118,
197,
185,
3,
8,
44,
220,
239,
24,
103,
158,
251,
191,
144,
159,
102,
85,
223,
4,
8,
242,
228,
61,
245,
58,
250,
22,
96,
156,
214,
207,
141,
207,
126,
165,
8,
254,
14,
61,
255,
0,
0,
0,
0,
0,
0,
0,
0,
16,
94,
95,
0,
0,
0,
0,
0,
210,
73,
107,
0,
0,
0,
0,
255,
254,
252,
253,
5,
0,
0,
0,
3,
0,
0,
0,
2,
0,
0,
0,
90,
0,
0,
0,
63,
38,
127,
190,
170,
180,
116,
86,
59,
64,
37,
163,
104,
249,
210,
118,
89,
174,
212,
232,
6,
236,
58,
153,
215,
8,
224,
143,
11,
149,
119,
180,
239,
252,
59,
140,
196,
125,
177,
148,
103,
175,
15,
77,
205,
118,
166,
35,
148,
166,
171,
66,
118,
62,
64,
147,
26,
5,
106,
227,
254,
82,
198,
92,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
0,
0,
0,
0,
0,
128,
166,
246,
95,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
9,
0,
0,
0,
1,
0,
0,
0,
96,
10,
82,
18,
180,
71,
150,
147,
91,
244,
131,
137,
206,
222,
250,
156,
171,
243,
128,
188,
252,
162,
141,
28,
231,
45,
183,
198,
37,
223,
45,
211,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
...
MIT License