Documentation Index
Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
DynamicSvmWalletClient::sendTransaction signs the serialized message of a Solana transaction with the MPC ceremony and broadcasts it via Solana JSON-RPC in one call. Returns the transaction signature (base58) — the standard Solana tx ID.
sendTransaction is the recommended path for most apps. Reach for signTransaction only if you need to assemble the wire envelope yourself.
Prerequisites
- Created an SVM wallet
- A Solana JSON-RPC endpoint (mainnet, devnet, or your own validator)
Sign + Broadcast in One Call
signTransaction with your own pooled RPC client.
Gas Sponsorship
Setting.sponsor(true) routes the broadcast through Dynamic’s sponsor path — Dynamic pays the SOL transaction fee and you don’t need to fund the wallet’s lamports balance. Gas sponsorship must be enabled for your environment in the Dynamic dashboard.
sponsorTransaction returns the sponsor-signed wire envelope without broadcasting).
Building the Message
Usesava-core (or any other JVM Solana SDK) to assemble the unsigned transaction, fetch the latest blockhash, and serialize just the message portion:
Error Handling
blockhash not found, sponsor pool exhausted, etc.), the error message surfaces verbatim — refresh the blockhash and retry.
Next Steps
- Sign transactions — get the raw signature without broadcasting
- Sponsor transactions — lower-level sponsor primitive
- Sign messages
- Delegated access