Solana
Solana
Solana
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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.| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | address | string | Sim | Base-58 account address to list history for. |
| 2 | config | object | Não | Options: commitment (confirmed|finalized), minContextSlot, limit (1–1000, default 1000), before (sig), until (sig). |
| Tipo | Descrição |
|---|---|
| array | Array of { signature, slot, err, memo, blockTime, confirmationStatus }. |
| Código | Mensagem | Causa |
|---|---|---|
-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.