Crate orca_tx_sender

Source

Structs§

AddressLookupTableAccount
The definition of address lookup table accounts.
CommitmentConfig
Duration
A Duration type to represent a span of time, typically used for system timeouts.
FeeConfig
GlobalConfig
Global configuration for transaction sending
Hash
A hash; the 32-byte output of a hashing algorithm.
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
Instruction
A directive for a single invocation of a Solana program.
JitoTipData
Represents a single entry in the Jito tip data response
LegacyMessage
A Solana transaction message (legacy).
Message
A Solana transaction message (v0).
Pubkey
The address of a Solana account.
RpcConfig
RPC configuration for connecting to Solana nodes
RpcSendTransactionConfig
Signature
Transaction
An atomically-committed sequence of instructions.
VersionedTransaction
An atomic transaction

Enums§

ChainId
CommitmentLevel
An attribute of a slot. It describes how finalized a block is at some point in time. For example, a slot is said to be at the max level immediately after the cluster recognizes the block at that slot as finalized. When querying the ledger state, use lower levels of commitment to report progress and higher levels to ensure state changes will not be rolled back.
ComputeBudgetInstruction
Compute Budget Instructions
JitoFeeStrategy
JitoPercentile
Percentile
PriorityFeeStrategy
VersionedMessage
Either a legacy message or a v0 message.

Traits§

Signer
The Signer trait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified in Transaction signing interfaces

Functions§

add_jito_tip_instruction
Calculate and return Jito tip instruction if enabled
build_and_send_transaction
Build and send a transaction using the global configuration
build_transaction
Build a transaction with compute budget and priority fees
create_tip_instruction
Create a Jito tip instruction
estimate_compute_units
Estimate compute units by simulating a transaction
get_compute_budget_instruction
Calculate and return compute budget instructions for a transaction
get_rpc_client
Helper function to get RPC client from global config
get_writable_accounts
Get writable accounts from a list of instructions
send_transaction
Send a transaction with retry logic using the global configuration
set_compute_unit_margin_multiplier
Set the compute unit margin multiplier globally
set_jito_block_engine_url
Set the Jito block engine URL globally
set_jito_fee_strategy
Set the Jito tip strategy globally
set_priority_fee_strategy
Set the priority fee strategy globally
set_rpc
Set the RPC configuration globally
sleep
Waits until duration has elapsed.