solscan logo
Register NowRegister Now

transaction detail

get

https://pro-api.solscan.io/v2.0/transaction/detail

Get the detail of a transaction. Return transaction data after parsed by Solscan Parser. Data will include very helpful data such as: token and sol balance changes, IDL data, defi or transfer activities of each instructions

QUERY PARAMS

tx

string

required

The signature of the transaction

RESPONSES

200

OK

Response Body

success

boolean

Status of Api

tx_hash

string

Signature of transaction

block_id

number

Slot number

block_time

number

UnixTime of the slot

fee

number

Fee of transaction

reward

sol_bal_change

token_bal_change

programs_involved

parsed_instructions

signer

status

number

Status of transaction, 1 for success and 0 for error

compute_units_consumed

number

Number of compute units consumed by the transaction

address_table_lookup

log_message

priority_fee

number

Number of priority fee

400

Bad Request

Response Body

401

Authentication failed

Response Body

429

Too Many Requests

Response Body

500

Internal Server Error

Response Body

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

Click Try It! to start a request and see the response here!

Response Examples