Solana
RPC HTTP methods for reading accounts, SOL and SPL token balances, token accounts and supplies, transactions and signature statuses, blocks, slots, epochs, validators, inflation and supply, estimating fees, and simulating and sending signed transactions. Integers above 2^53 - 1, such as large lamport amounts, come back as decimal strings.
Authentication
This connector uses Token-based authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 52 actions:
| Action | Purpose | Parameters |
|---|---|---|
| get_account_info | Returns the account state and metadata for a single address. Returns null if the account does not exist at the requested commitment. | pubkey (string) required config: { . commitment (string) . encoding (string) . dataSlice (object) . minContextSlot (integer) } (object) |
| get_balance | Returns the lamport balance for a single account address at the requested commitment. Amounts are in lamports 1 SOL = 1,000,000,000 lamports. | pubkey (string) required config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_largest_accounts | Returns the 20 largest accounts by lamport balance. Some RPC nodes may serve cached results for up to two hours. | config: { . commitment (string) . filter (string) . sortResults (boolean) } (object) |
| get_minimum_balance_for_rent_exemption | Returns the lamports required to make an account of a given data size rent exempt. | length (integer) required config: { . commitment (string) } (object) |
| get_multiple_accounts | Returns account state and metadata for multiple addresses, in request order. | pubkeys (array) required config: { . commitment (string) . minContextSlot (integer) . dataSlice (object) . encoding (string) } (object) |
| get_program_accounts | Returns accounts owned by the specified program, optionally filtered by data content or size. | pubkey (string) required config: { . commitment (string) . minContextSlot (integer) . withContext (boolean) . encoding (string) . dataSlice (object) . filters (array) . sortResults (boolean) } (object) |
| get_token_account_balance | Returns the token balance for an SPL Token account. | pubkey (string) required config: { . commitment (string) } (object) |
| get_token_accounts_by_delegate | Returns SPL Token accounts whose approved delegate matches the supplied address. | pubkey (string) required tokenAccountFilter: { . mint (string) . programId (string) } (object) required config: { . commitment (string) . minContextSlot (integer) . dataSlice (object) . encoding (string) } (object) |
| get_token_accounts_by_owner | Returns SPL Token accounts whose owner matches the supplied address. | pubkey (string) required tokenAccountFilter: { . mint (string) . programId (string) } (object) required config: { . commitment (string) . minContextSlot (integer) . dataSlice (object) . encoding (string) } (object) |
| get_token_largest_accounts | Returns the 20 largest token accounts for an SPL Token mint. | pubkey (string) required config: { . commitment (string) } (object) |
| get_token_supply | Returns the current supply for an SPL Token mint. | pubkey (string) required config: { . commitment (string) } (object) |
| get_fee_for_message | Returns the lamports the cluster would charge to process a serialized message at the requested commitment. | message (string) required config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_latest_blockhash | Returns the latest recent blockhash and its last valid block height. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_recent_prioritization_fees | Returns recent prioritization-fee samples, optionally filtered to transactions that lock a set of writable accounts. | addresses (array) |
| get_signatures_for_address | Returns confirmed transaction signatures for transactions that reference the supplied address in accountKeys, newest first. | address (string) required config: { . commitment (string) . minContextSlot (integer) . limit (integer) . before (string) . until (string) } (object) |
| get_signature_statuses | Returns the current status for each supplied transaction signature. Each signature must be a txid, the first signature of a transaction. | signatures (array) required config: { . searchTransactionHistory (boolean) } (object) |
| get_transaction | Returns a confirmed transaction by signature, or null if it is not found at the requested commitment. | signature (string) required config: { . commitment (string) . maxSupportedTransactionVersion (integer) . encoding (string) } (object) |
| get_transaction_count | Returns the total number of transactions processed at the requested commitment. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| is_blockhash_valid | Returns whether a blockhash is still valid at the requested commitment. | blockhash (string) required config: { . commitment (string) . minContextSlot (integer) } (object) |
| request_airdrop | Requests a faucet transaction that transfers lamports to the supplied Pubkey. Only works on Devnet and Testnet; Mainnet rejects it. | pubkey (string) required lamports (integer) required config: { . commitment (string) . recentBlockhash (string) } (object) |
| send_transaction | Submits a signed transaction to the cluster and returns its first signature if the RPC accepts it. The transaction must be signed before it is sent; this connector never handles private keys. | transaction (string) required config: { . encoding (string) . skipPreflight (boolean) . preflightCommitment (string) . maxRetries (integer) . minContextSlot (integer) } (object) |
| simulate_transaction | Simulates a signed transaction using the chain data available at the requested commitment, without broadcasting it. | transaction (string) required config: { . commitment (string) . encoding (string) . replaceRecentBlockhash (boolean) . sigVerify (boolean) . minContextSlot (integer) . innerInstructions (boolean) . accounts (object) } (object) |
| get_block | Returns a confirmed block for a slot, including block metadata and transaction data in the requested encoding. | slotNumber (integer) required config: { . commitment (string) . encoding (string) . transactionDetails (string) . maxSupportedTransactionVersion (integer) . rewards (boolean) } (object) |
| get_block_commitment | Returns the stake-weighted commitment information recorded for a slot. | slotNumber (integer) required |
| get_block_height | Returns the block height the node sees at the requested commitment. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_block_production | Returns block-production counts for validator identities in the requested slot range. If no range is provided, the RPC node returns counts for the current epoch. | config: { . commitment (string) . identity (string) . range (object) } (object) |
| get_blocks | Returns confirmed block slots in the inclusive range starting at startSlot and ending at endSlot, if provided. | startSlot (integer) required endSlot (integer) config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_blocks_with_limit | Returns up to limit confirmed block slots, starting at startSlot. | startSlot (integer) required limit (integer) required config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_block_time | Returns the estimated production time for a block. | slotNumber (integer) required |
| get_first_available_block | Returns the lowest confirmed block slot still available in this node's ledger. | No parameters |
| get_recent_performance_samples | Returns recent 60-second performance samples in reverse slot order. Each sample includes the number of transactions and slots recorded in that time window. | numberOfSamples (integer) |
| minimum_ledger_slot | Returns the lowest slot still present in this node's local ledger. | No parameters |
| get_cluster_nodes | Returns network endpoints, shred version, feature set, and software version for known cluster nodes. | No parameters |
| get_epoch_info | Returns the current epoch position and counters the node sees at the requested commitment. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_epoch_schedule | Returns the cluster's epoch schedule parameters. | No parameters |
| get_genesis_hash | Returns the genesis hash for the connected cluster. | No parameters |
| get_health | Returns whether this RPC node is healthy. The node reports healthy when it is within the configured slot distance of the cluster tip. | No parameters |
| get_highest_snapshot_slot | Returns the highest full snapshot slot and, if available, the highest incremental snapshot slot built on it. | No parameters |
| get_identity | Returns this RPC node's identity Pubkey. | No parameters |
| get_leader_schedule | Returns the leader schedule for the epoch that contains the supplied slot, or for the current epoch if no slot is supplied. | slot (integer) config: { . commitment (string) . identity (string) } (object) |
| get_max_retransmit_slot | Returns the highest slot this node has observed in retransmit. | No parameters |
| get_max_shred_insert_slot | Returns the highest slot for which this node has inserted shreds into blockstore. | No parameters |
| get_slot | Returns the highest slot reached at the requested commitment. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_slot_leader | Returns the validator identity scheduled to produce the slot at the requested commitment. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_slot_leaders | Returns the validator identity for each slot in a contiguous slot range. | startSlot (integer) required limit (integer) required |
| get_version | Returns the node's software version string and optional feature set identifier. | No parameters |
| get_vote_accounts | Returns vote accounts visible at the requested commitment, partitioned into current and delinquent. | config: { . commitment (string) . votePubkey (string) . keepUnstakedDelinquents (boolean) . delinquentSlotDistance (integer) } (object) |
| get_inflation_governor | Returns the inflation governor parameters active at the requested commitment. | config: { . commitment (string) } (object) |
| get_inflation_rate | Returns the current epoch's effective inflation rates. | No parameters |
| get_inflation_reward | Returns the inflation reward credited to each supplied address for an epoch. Depending on the supplied address, this may be a staking reward or a voting reward. | addresses (array) required config: { . commitment (string) . epoch (integer) . minContextSlot (integer) } (object) |
| get_stake_minimum_delegation | Returns the cluster's current minimum stake delegation, in lamports. | config: { . commitment (string) . minContextSlot (integer) } (object) |
| get_supply | Returns total, circulating, and non-circulating supply data. | config: { . commitment (string) . excludeNonCirculatingAccountsList (boolean) } (object) |