0.01 credits per call
getTransaction on Solana: Returns details for a confirmed transaction by signature.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
signature | string | yes | Base-58 encoded transaction signature. | "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW" |
config | object | no | {commitment?, encoding?, maxSupportedTransactionVersion?}. encoding is one of json, jsonParsed, base58, base64. | {"encoding":"jsonParsed","maxSupportedTransactionVersion":0} |
Returns
object | null: Transaction object with slot, blockTime, transaction, meta; null if not found.
Examples
Errors
| Code | Message |
|---|---|
-32602 | Versioned transaction requires maxSupportedTransactionVersion to be set. |
-32600 invalid request, -32601 method not found, -32602 invalid params.