POSTGet Transaction Summaries In Slot

Data APIhttps://web3.nodit.io/v1/solana/mainnet/blockchain/getTransactionSummariesInSlot

Retrieves the list of transaction summaries included in a specific slot. A summary includes only the key fields from the full transaction details.

Path Parameters
chainstring (enum)required

Parameter to specify the target chain for the query.

networkstring (enum)required

Parameter to specify the network of the target chain. Supported networks may vary depending on the chain.

Request Body
slotstringrequired

Parameter specifying the slot to query. You can enter one of the following formats:

  • slot height: Enter the slot number as a decimal string.
  • slot tag: Use "earliest" or "latest" to specify the first slot or the latest slot.
pageinteger

The page parameter specifies the data page to query. It accepts values up to 100; for pages exceeding 100, use the cursor pagination method.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

rppinteger

rpp stands for results per page and specifies the page size. You can specify a number greater than 0 and up to 100.

cursorstring

The cursor parameter supports pagination and data navigation between pages. Provide the cursor value from the previous page in the next request to load the next page of data.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

withCountboolean

Parameter specifying whether to include the count field in the response. The count field indicates the total number of requested data items. When set to true, the count field is included and response speed may be slower.

withBalanceChangesboolean

Parameter specifying whether to include the balanceChanges field in the response.

  • balanceChanges is a field that contains the balance changes of the Native token (SOL) and Token.
  • Setting this parameter to true may slow down the response.
Responses
pageinteger

Field representing the page number specified in the page parameter. This field is only included in the response when a value greater than 0 is specified for the page parameter.

rppinteger

Field representing the number of results per page specified in the rpp parameter.

cursorstring

A field for cursor pagination. This value must be provided in the next request to load the next page of data.

countinteger

Field representing the total count of requested data. This field is only included in the response when true is set for the withCount parameter.

slotHeightintegerrequired

A field representing the slot number in which the transaction is included. On Solana, a slot corresponds to the block unit of other chains.

Example: 235157119

blockHeightinteger

A field representing the block height to which the slot is mapped.

Example: 214567890

blockTimestampintegerrequired

A field representing the time the block (slot) was created, as a Unix timestamp (seconds).

Example: 1746479684

transactionIndexintegerrequired

A field representing the order of the transaction within the same slot.

Example: 7

signaturestringrequired

A field representing the representative signature of the transaction. It is usually the first signature and is Base58-encoded.

Example: 5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg

computeUnitsConsumedinteger

A field representing the Compute Units (CU) actually consumed by the transaction.

Example: 6842

costUnitsinteger

A field representing the cost units of the transaction processing cost.

Example: 6842

feeintegerrequired

A field representing the transaction fee in lamports. It may be charged regardless of success or failure.

Example: 5000

versionstringrequired

A field representing the version of the transaction. It has one of the values "legacy", "0", or "1".

Example: legacy

signersstring[]required

A field representing the list of account addresses that signed the transaction.

Example: 9vNYXEehFV8V1jxzjH7Sv3BBtsYZ92HPKYP1stgNGHJE

statusstringrequired

A field representing the processing status of the transaction. "success" is returned when processed normally, and "failed" is returned when it fails.

Example: success

errorMessagestring

A field representing the error summary string when the transaction fails. It is a human-readable conversion of the Solana TransactionError.

Example: custom program error: 0x1

balanceChangesobject[]

A field representing the details of SOL and SPL token balance changes that occurred in the transaction. This field is only included in the response when the withBalanceChanges parameter is set to true.

programIdstringrequired

A field representing the address of the program that caused the balance change. (e.g. System Program)

Example: 11111111111111111111111111111111

ownerAddressstringrequired

A field representing the address of the account (owner) where the balance change occurred.

Example: 9vNYXEehFV8V1jxzjH7Sv3BBtsYZ92HPKYP1stgNGHJE

tokenAccountstringrequired

A field representing the address of the SPL token account where the balance change occurred. For a SOL balance change, an empty string ("") is returned.

Example: 7YttLkHDoNj9wyDur5pM1ejNaAvT9X4e3n9mQqZp8y8o

mintAddressstringrequired

A field representing the MintAddress of the SPL token subject to the balance change. For a SOL balance change, "So11111111111111111111111111111111111111111" is returned.

Example: So11111111111111111111111111111111111111112

changeValuestringrequired

A field representing the amount of the balance change. A negative value indicates an outflow, and a positive value indicates an inflow. For SOL, it is expressed in lamports.

Example: -5000

previousBalancestringrequired

A field representing the balance immediately before the change. For SOL, it is expressed in lamports.

Example: 1000000000

finalBalancestringrequired

A field representing the balance immediately after the change. For SOL, it is expressed in lamports.

Example: 999995000

decimalsintegerrequired

A field representing the number of decimal places of the token. For SOL, it is 9.

Example: 6

X-API-KEY
RequestCU150
cURL
curl -X POST "https://web3.nodit.io/v1/solana/mainnet/blockchain/getTransactionSummariesInSlot" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "slot": "latest",
    "withCount": false,
    "withBalanceChanges": false
  }'
Response
Example · 200
{
  "page": 0,
  "rpp": 0,
  "cursor": "string",
  "count": 0,
  "items": [
    {
      "slotHeight": 235157119,
      "blockHeight": 214567890,
      "blockTimestamp": 1746479684,
      "transactionIndex": 7,
      "signature": "5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg",
      "computeUnitsConsumed": 6842,
      "costUnits": 6842,
      "fee": 5000,
      "version": "legacy",
      "signers": [
        "9vNYXEehFV8V1jxzjH7Sv3BBtsYZ92HPKYP1stgNGHJE"
      ],
      "status": "success",
      "errorMessage": "custom program error: 0x1",
      "balanceChanges": [
        {}
      ]
    }
  ]
}