<base-58 encoded string>
- transaction signature<object>
- (optional) Config object:encoding:
<string> - (optional) encoding for tx data; Either "json"
, "jsonParsed"
, "base58"
(slow), "base64"
. (default is "json"
) commitment:
<object> - (optional) Configures the commitment level of the blocks queried
Accepts one of the following strings: ["finalized"
, "confirmed"
, "processed"]
For more info, refer to this doc.maxSupportedTransactionVersion:
<number> -(optional) set the max transaction version to return in responses. If the requested transaction is a higher version, an error will be returned.<object>
slot:
<u64> - the slot this transaction was processed intransaction:
<object|[string,encoding]>
- tx object, either in JSON format or encoded binary data, depending on encoding parameterblockTime:
<i64 | null> - estimated production time, as Unix timestamp (seconds since the Unix epoch) of when the transaction was processed. meta:
<object | null> - transaction status metadata object:err:
<object | null> - reported error if transaction failedfee:
<u64> - fee this transaction was charged, as u64 integerpreBalances:
<array of u64> - account balances from before the transaction was processedpostBalances:
<array of u64> - account balances after the transaction was processedinnerInstructions:
<array|null> - List of inner instructions or null
if inner instruction recording was not enabled during this transactionpreTokenBalances:
<array|undefined> - List of token balances from before the transaction was processed or omitted if token balance recording was not yet enabled during this transactionpostTokenBalances:
<array|undefined> - List of token balances from after the transaction was processed or omitted if token balance recording was not yet enabled during this transactionlogMessages:
<array|null> - array of string log messages or null
if log message recording was not enabled during this transactionrewards:
<array of JSON objects> - present if rewards are requested:pubkey:
<base-58 encoded string> - The public key of the account that received the rewardlamports:
<i64>- number of reward lamports credited or debited by the accountpostBalance:
<u64> - account balance in lamports after the reward was appliedrewardType:
<string> - type of reward: "rent"
commission:
<u8|undefined> - vote account commission when the reward was credited, only present for voting and staking rewardsloadedAddresses:
<object|undefined> - Transaction addresses loaded from address lookup tables. Undefined if maxSupportedTransactionVersion
is not set in request params.writable:
<array[base-58 encoded string]> - Ordered list of addresses for writable loaded accountsreadonly:
<array[base-58 encoded string]> - Ordered list of addresses for read only loaded accountsversion:
<"legacy"|number|undefined> - Transaction version. Undefined if maxSupportedTransactionVersion
is not set in request params.<null>
- if transaction is not found or not confirmed