Solana Enhanced RPC
enhancedGetTransactionsByAddress
Learn how to use the enhancedGetTransactionsByAddress JSON-RPC method.
POST
/
#enhancedGetTransactionsByAddress
Understanding enhancedGetTransactionsByAddress
enhancedGetTransactionsByAddress
retrieves detailed parsed transaction history relating to a specific public address on Solana. It takes:address
- a base58-encoded string.- Object, optional:
limit
- integer (between1
and1000
, default1000
).before
- string, transaction hash.after
- string, transaction hash.until
- string, transaction hash.
Query example
JavaScript
const axios = require('axios');
(async () => {
const response = await axios.post('https://rpc.particle.network/solana', {
chainId: 103,
jsonrpc: '2.0',
id: 0,
method: 'enhancedGetTransactionsByAddress',
params: ['6XU36wCxWobLx5Rtsb58kmgAJKVYmMVqy4SHXxENAyAe'],
}, {
auth: {
username: 'Your Project Id',
password: 'Your Project Server Key',
}
});
console.log(response.data);
})();
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
jsonrpc
string
default: 2.0requiredVersion of the JSON-RPC protocol, should be 2.0.
id
integer
default: 1requiredThe request identifier.
chainId
integer
requiredThe blockchain chain ID.
method
enum<string>
requiredAPI method being called.
Available options:
enhancedGetTransactionsByAddress
params
object[]
requiredParameters for getting transactions by address.
Response
200 - application/json
jsonrpc
string
default: 2.0requiredVersion of the JSON-RPC protocol, should be 2.0.
id
integer
default: 1requiredThe request identifier.
chainId
integer
requiredThe blockchain chain ID.
result
object[]
requiredArray of transactions.
Was this page helpful?