Solana
Solana
Solana
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
getSignaturesForAddress returns the signatures of transactions that touched a given Solana account — a SOL wallet, an SPL token account, or a program — ordered newest first. Each entry carries the signature, slot, any error, an optional memo, blockTime, and confirmationStatus, giving you a compact activity feed without pulling full transaction bodies. Pass a base-58 address and an optional config to set limit, before, and until for paging. Query it on TheRPC at https://solana.therpc.io/YOUR_API_KEY, then fetch any signature in detail with getTransaction.
before to the last signature of the previous page and requesting the next batch.| # | Nom | Type | Obligatoire | Description |
|---|---|---|---|---|
| 1 | address | string | Oui | Base-58 account address to list history for. |
| 2 | config | object | Non | Options: commitment (confirmed|finalized), minContextSlot, limit (1–1000, default 1000), before (sig), until (sig). |
| Type | Description |
|---|---|
| array | Array of { signature, slot, err, memo, blockTime, confirmationStatus }. |
| Code | Message | Cause |
|---|---|---|
-32602 | Invalid params | A param is missing, of the wrong type, or malformed (e.g. a non-base58 pubkey or a bad config field). |
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |
before set to the last signature you received and repeat until the result is empty.commitment option accepts only confirmed or finalized here; processed is not valid for this method.