Transaction
getSignaturesForAddress
Returns signatures for confirmed transactions that include the given address in their accountKeys list. Returns signatures backwards in time from the provided signature or most recent confirmed block.
Parameters
addressstring required Account address as base-58 encoded string.
configobject optional Configuration object.
commitmentstringCommitment level.
limitnumberMaximum transaction signatures to return (1-1000, default: 1000).
beforestringStart searching backwards from this signature.
untilstringSearch until this transaction signature.
minContextSlotnumberThe minimum slot.
Result
arrayArray of transaction signature information objects with signature, slot, err, memo, and blockTime.
Solana
As we don't yet store historical data on Solana, if you select a slot range outside of our cache, we will return an error message with the range of slots in our cache. getSignaturesForAddress will return an empty set "[]" (no error) when no "before" parameter is supplied, or when "before" resolves to a slot within the cache window.
Fogo
On Fogo Mainnet (not Testnet), we have historical data available and this method will query it normally.
Example
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignaturesForAddress",
"params": [
"Vote111111111111111111111111111111111111111",
{ "commitment": "finalized", "limit": 1 }
]
}'