Skip to content
GET /v1/tx

Full decoded transaction: status, fee, instructions, logs, balance changes

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/solanatx-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/solanatx-api/v1/tx" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solanatx-api/v1/tx", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solanatx-api/v1/tx");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/solanatx-api/v1/tx",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "logs": [
            "Program ComputeBudget111111111111111111111111111111 invoke [1]",
            "Program ComputeBudget111111111111111111111111111111 success",
            "Program ComputeBudget111111111111111111111111111111 invoke [1]",
            "Program ComputeBudget111111111111111111111111111111 success",
            "Program 3s1rAymURnacreXreMy718GfqW6kygQsLNka1xDyW8pC invoke [1]",
            "Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc invoke [2]",
            "Program log: Instruction: Swap",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 83 of 76919 compute units",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 76 of 74822 compute units",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
            "Program data: 4cpJr5MroJbcGr9WO0CNavkhQSCmK9vd3GuD/mVx15m+Fbry9vJxoQFDXX8uAsvUQgAAAAAAAAAAGl4azrmu1EIAAAAAAAAAAAPcDQIAAAAAvNQjAAAAAAAAAAAAAAAAAAAAAAAAAAAAbRcAAAAAAACAAwAAAAAAAA==",
            "Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc consumed 27683 of 99830 compute units",
            "Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc success",
            "Program CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C invoke [2]",
            "Program log: Instruction: SwapBaseInput",
            "Program data: QMbN6CYIceIJxxMqZsfAMmyMzfirWODUaRqj/AvTK0+f06qqdLNU23WISwEAAAAA7IcbEwAAAABAnAAAAAAAAAH9CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHG+nrzvtutOj1l82qryXQxsbvkwtL24OR8pgIDRS9dYQabiFf+q4GE+2h/Y0YYwDXaxDncGus7VZig8AAAAAABAgAAAAAAAAAAAAAAAAAAAAE=",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 105 of 51466 compute units",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 112 of 48954 compute units",
            "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
            "Program CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C consumed 22359 of 69525 compute units",
            "Program CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C success",
            "Program 3s1rAymURnacreXreMy718GfqW6kygQsLNka1xDyW8pC consumed 104797 of 149169 compute units",
            "Program return: 3s1rAymURnacreXreMy718GfqW6kygQsLNka1xDyW8pC B/PidQNkAAAAAAAAAAAAAAABAAAAAAAAAAAGrMYNAgAAAPp+O5wAdnERAAAAAAAAAAAB",
            "Program 3s1rAymURnacreXreMy718GfqW6kygQsLNka1xDyW8pC success"
        ],
        "note": "Decoded transaction: status, fee, parsed instructions, program log, and the SOL/token balance changes per account. block_time is a 
…