Get the minimum lamport balance needed for rent exemption at a given data size.
Durable nonce paired with an advance-nonce instruction. Most callers should prefer transactionWithNonce, which embeds the lifetime + advance-nonce instruction in one step.
Fetch a blockhash without building anything with it.
For a caller that builds many messages against one lifetime — a bulk
writer sending hundreds of independent transactions — and needs the
lifetime as a value so did this generation land stays a single question
with a single answer. Pass the result back in as lifetime below.
Simulate a Solana transaction by sending it to the RPC.
OptionalcuLimit?: number | "UNSET"OptionalcuPrice?: number | bigint | "UNSET"Optionallifetime?: { blockhash: string; lastValidBlockHeight: number }Reuse a blockhash from latestBlockhash instead of fetching one.
Without it every message costs its own getLatestBlockhash round trip
and lands on its own lifetime, so a batch has no shared expiry to reason
about.
Transaction message for the given instructions, using a durable nonce for the lifetime. Kit prepends the advance-nonce instruction automatically. Caller must sign (PAYER + NONCE_AUTHORITY + any others) before broadcast.
Solana transaction builder and related helpers.
Returns kit
TransactionMessagevalues. Callers sign via SolanaKeypairService.sign and broadcast via SolanaTransactionSenderService.sendAndConfirmTransaction. No CFX signature is baked into a message — signing happens once, immediately before broadcast.