This method extends the capabilities of Solana's getAccountInfo method by providing enhanced parsing functionality.
This endpoint is still in Beta stage.
This method does not support batch requests.
Parameters
apikey
- ApiKey generated from paid subscription. This can be used as a path parameter or as a request header as x-api-key.explorerkit
- optional boolean flag to use enhanced parsing.
Request
curl https://mainnet-rpc.solana.fm/{apikey}?explorerkit=true -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getAccountInfo",
"params": [
"8iibPkw7zbNHMPcihHeBgcL7rDnHteZb2NfvTy8bNm7d",
{
"encoding": "jsonParsed"
}
]
}
'
This sample request shows a getAccountInfo method call for a account.
SolanaFM Custom RPC Response
{
"jsonrpc": "2.0",
"result": {
"context": {
"apiVersion": "1.17.32",
"slot": 266082275
},
"value": {
"data": {
"parsed": {
"info": {
"parameters": {
"baseFactor": 10000,
"filterPeriod": 10,
"decayPeriod": 120,
"reductionFactor": 5000,
"variableFeeControl": 2000000,
"maxVolatilityAccumulator": 100000,
"minBinId": -436704,
"maxBinId": 436704,
"protocolShare": 0,
"padding": [
0,
0,
0,
0,
0,
0
]
},
"vParameters": {
"volatilityAccumulator": 0,
"volatilityReference": 0,
"indexReference": 1832,
"padding": [
0,
0,
0,
0
],
"lastUpdateTimestamp": "1715844440",
"padding1": [
0,
0,
0,
0,
0,
0,
0,
0
]
},
"bumpSeed": [
254
],
"binStepSeed": [
1,
0
],
"pairType": 0,
"activeId": 1832,
"binStep": 1,
"status": 0,
"padding1": [
0,
0,
0,
0,
0
],
"tokenXMint": "5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm",
"tokenYMint": "So11111111111111111111111111111111111111112",
"reserveX": "B8Xd8JbArDnGizyJbNLjBzxnKk1ftXLwsbKzPHiDUmgE",
"reserveY": "DTrYjBcWzdvv88mshsafvnKyJ4aEWbyAXW9edmV4b5pS",
"protocolFee": {
"amountX": "0",
"amountY": "0"
},
"feeOwner": "6WaLrrRfReGKBYUSkmx2K6AuT21ida4j8at2SUiZdXu8",
"rewardInfos": [
{
"mint": "11111111111111111111111111111111",
"vault": "11111111111111111111111111111111",
"funder": "11111111111111111111111111111111",
"rewardDuration": "0",
"rewardDurationEnd": "0",
"rewardRate": "0",
"lastUpdateTime": "0",
"cumulativeSecondsWithEmptyLiquidityReward": "0"
},
{
"mint": "11111111111111111111111111111111",
"vault": "11111111111111111111111111111111",
"funder": "11111111111111111111111111111111",
"rewardDuration": "0",
"rewardDurationEnd": "0",
"rewardRate": "0",
"lastUpdateTime": "0",
"cumulativeSecondsWithEmptyLiquidityReward": "0"
}
],
"oracle": "7SxuRRqTFiWYDzuLwDx7ibjfefXDkt7VUV5WbYiNy646",
"binArrayBitmap": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"7881299347765632",
"34359738392",
"805306368",
"0",
"0",
"0",
"0",
"0"
],
"lastUpdatedAt": "0",
"whitelistedWallet": [
"11111111111111111111111111111111",
"11111111111111111111111111111111"
],
"baseKey": "11111111111111111111111111111111",
"activationSlot": "0",
"swapCapDeactivateSlot": "0",
"maxSwappedAmount": "0",
"reserved": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
},
"type": "account"
},
"program": "lb_clmm",
"space": 904
},
"executable": false,
"lamports": 7182720,
"owner": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"rentEpoch": 18446744073709552000,
"space": 904
}
},
"id": 1
}
Standard RPC Response
{
"jsonrpc": "2.0",
"result": {
"context": {
"apiVersion": "1.17.32",
"slot": 266082261
},
"value": {
"data": [
"IQsxYrVlsQ0QJwoAeACIE4CEHgCghgEAIFb5/+CpBgAAAAAAAAAAAAAAAAAAAAAAKAcAAAAAAABYtUVmAAAAAAAAAAAAAAAA/gEAACgHAAABAAAAAAAAAEdXiZ+4vtuih3iqzWflaOc0cMzpC81TK2y2GCl2KIJOBpuIV/6rgYT7aH9jRh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