Blockhash Included

Arrow API endpoints with blockhash included generate transactions that are ready to submit immediately. These endpoints fetch the latest blockhash from the Solana network and include it in the transaction, eliminating the need for an additional RPC call.

Why Use Blockhash-Included Endpoints?

  • Faster Submission: No need to make a separate RPC call to fetch the latest blockhash
  • Reduced Latency: Submit transactions immediately after receiving the response
  • Simplified Flow: One API call instead of two (transaction generation + blockhash fetch)
  • Production Ready: Always uses the freshest blockhash for maximum transaction success rate

Example: Dynamic Wallet Integration

This example shows how to use the blockhash-included endpoint with Dynamic Wallet. The transaction is ready to sign and submit immediately.

Note: This is a simplified Dynamic Wallet example. For the complete implementation, see the Dynamic Wallet + Next.js template.

Available Endpoints