getVersion, signBundle, and signAndSendBundle are available from
v2.2.0-beta.1, and estimateBundleFee from v2.2.0-beta.2. This page
describes v2.2.0-beta.8. Enable the methods in your kora.toml under
[kora.enabled_methods].
getVersion
Retrieves the Kora server version information.JSON-RPC Request
JSON-RPC Response
version is the Kora library version running on the server. It can differ from
the kora-cli version reported by kora --version, so treat the value below as
an example.
cURL Example
TypeScript SDK
Configuration
estimateBundleFee
Calculates the combined fee for multiple transactions in a bundle. Useful for determining the total cost before signing and submitting a bundle.Note: Transaction plugins (e.g.,gas_swap) are not executed during fee estimation. Plugins only run during signing flows (signBundle,signAndSendBundle).
JSON-RPC Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transactions | string[] | Yes | Array of base64-encoded transactions (max 5) |
fee_token | string | Yes | Token mint for fee calculation |
JSON-RPC Response
fee_in_lamports
and fee_in_token are numbers, and fee_in_token is null when the fee is not
priced in a token. signer_pubkey is the Kora signer that pays the network fees
and payment_address is the address that receives the token payment.
cURL Example
TypeScript SDK
Configuration
signBundle
Signs multiple transactions as a bundle without submitting them to the network. Use this when you want to handle bundle submission to Jito yourself. This method is protected by reCAPTCHA when configured. Include thex-recaptcha-token header if your server has reCAPTCHA enabled.
When
transaction plugins
are enabled (e.g., gas_swap), each transaction in the bundle is validated
against the plugin rules before signing.
Lighthouse Fee Payer Protection
When Lighthouse protection is enabled, Kora adds a balance assertion instruction to the last transaction in the bundle. This protects the fee payer from drainage attacks by ensuring the balance doesn’t drop below expected levels after all bundle transactions complete. Important: Since Lighthouse modifies the transaction message, any pre-existing client signatures on the last transaction become invalid. Clients must re-sign after receiving the modified bundle back from Kora.JSON-RPC Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transactions | string[] | Yes | Array of base64-encoded transactions (max 5) |
signer_key | string | No | Specific signer to use (defaults to pool selection) |
sign_only_indices | number[] | No | Indices of transactions to sign (defaults to all) |
JSON-RPC Response
cURL Example
TypeScript SDK
Partial Bundle Signing
Usesign_only_indices to sign only specific transactions in the bundle:
Configuration
signAndSendBundle
Signs and submits a bundle of up to 5 transactions to Jito’s block engine. All transactions in the bundle execute atomically and sequentially — either all succeed or none do. This method is protected by reCAPTCHA when configured. Include thex-recaptcha-token header if your server has reCAPTCHA enabled.
When
transaction plugins
are enabled (e.g., gas_swap), each transaction in the bundle is validated
against the plugin rules before signing.
Note:
Lighthouse fee payer protection
does not apply to this method. Since bundles are sent immediately, adding
a Lighthouse assertion would invalidate existing client signatures. If you
need Lighthouse protection, use signBundle and handle Jito
submission yourself after re-signing.
JSON-RPC Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transactions | string[] | Yes | Array of base64-encoded transactions (max 5) |
signer_key | string | No | Specific signer to use (defaults to pool selection) |
sign_only_indices | number[] | No | Indices of transactions to sign (defaults to all) |
JSON-RPC Response
cURL Example
TypeScript SDK
Configuration
v2.2.0-beta.8, simulate_bundle_url is required when bundles are
enabled. simulateBundle is a Jito-Solana RPC method, so the URL must point to
a compatible RPC endpoint. Earlier betas ignore this key.
Note: When using bundles with Jito tips, ensureallow_transfer = trueis set in[validation.fee_payer_policy.system]so the Kora signer can pay the tip.