Wallets
NFT
Data Transformations
- Data Transformations Overview
- Filter Data Sources
- Filters
- Workflows
Direct Data Access
- Overview
- POSTCustom SQL API
- Solana
- Bitcoin
- Ethereum
- Polygon
- Arbitrum
- Base
- Optimism
- Oasys
- Monad Testnet
Deep Dives
Transactions
POST
/
api
/
v1
/
developer
/
solana
/
raw
/
transactions
Copy
Ask AI
curl --request POST \
--url https://api.allium.so/api/v1/developer/solana/raw/transactions \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '[
{
"txn_id": "<string>",
"block_timestamp": "2023-11-07T05:31:56Z"
}
]'
Copy
Ask AI
[
{
"block_slot": 123,
"block_height": 123,
"block_timestamp": "2023-11-07T05:31:56Z",
"block_hash": "<string>",
"txn_id": "<string>",
"txn_index": 123,
"signatures": [
"<string>"
],
"fee": 123,
"recent_block_hash": "<string>",
"signer": "<string>",
"log_messages": [
"<string>"
],
"success": true,
"is_voting": true,
"instruction_count": 123,
"account_keys": [
{
"pubkey": "<string>",
"signer": true,
"source": "<string>",
"writable": true
}
],
"pubkeys": [
"<string>"
],
"pre_token_balances": [
{
"account_index": 123,
"account": "<string>",
"amount": "<string>",
"mint": "<string>",
"owner": "<string>",
"decimals": 123
}
],
"post_token_balances": [
{
"account_index": 123,
"account": "<string>",
"amount": "<string>",
"mint": "<string>",
"owner": "<string>",
"decimals": 123
}
],
"pre_balances": [
123
],
"post_balances": [
123
],
"mint_to_decimals": {},
"token_accounts": {},
"sol_amounts": {}
}
]
A block contains multiple transactions which in term contain multiple instructions.
Learn more in the official Solana documentation here.
Authorizations
Body
application/json · TransactionBasedRequest · object[]
The body is of type TransactionBasedRequest · object[]
.
Response
200
application/json
Successful Response
The response is of type Transaction · object[]
.
Copy
Ask AI
curl --request POST \
--url https://api.allium.so/api/v1/developer/solana/raw/transactions \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '[
{
"txn_id": "<string>",
"block_timestamp": "2023-11-07T05:31:56Z"
}
]'
Copy
Ask AI
[
{
"block_slot": 123,
"block_height": 123,
"block_timestamp": "2023-11-07T05:31:56Z",
"block_hash": "<string>",
"txn_id": "<string>",
"txn_index": 123,
"signatures": [
"<string>"
],
"fee": 123,
"recent_block_hash": "<string>",
"signer": "<string>",
"log_messages": [
"<string>"
],
"success": true,
"is_voting": true,
"instruction_count": 123,
"account_keys": [
{
"pubkey": "<string>",
"signer": true,
"source": "<string>",
"writable": true
}
],
"pubkeys": [
"<string>"
],
"pre_token_balances": [
{
"account_index": 123,
"account": "<string>",
"amount": "<string>",
"mint": "<string>",
"owner": "<string>",
"decimals": 123
}
],
"post_token_balances": [
{
"account_index": 123,
"account": "<string>",
"amount": "<string>",
"mint": "<string>",
"owner": "<string>",
"decimals": 123
}
],
"pre_balances": [
123
],
"post_balances": [
123
],
"mint_to_decimals": {},
"token_accounts": {},
"sol_amounts": {}
}
]
Assistant
Responses are generated using AI and may contain mistakes.