Skip to main content
POST
Build transaction steps
Generates fresh transaction data for a quote. Required for Solana transfers due to short blockhash validity.

Reference

When to use

Request body

Response

Returns a userSteps array with fresh transaction data.

User step attributes

User steps can be TRANSACTION or SIGNATURE (same structure as quote response): TRANSACTION step: For Solana, the transaction data is base64-encoded:

Code examples

Response

Solana execution

After building user steps, deserialize and sign the transaction:

Why Solana needs fresh transactions

Solana transactions include a recent blockhash that expires after ~60 seconds. The /build-user-steps endpoint generates transactions with the latest blockhash, ensuring they remain valid during execution. Workflow:
  1. Request quote → Receive quote with quoteId
  2. Call /build-user-steps with quoteId → Get fresh transaction
  3. Sign and submit immediately (within 60 seconds)
  • Quotes — Request transfer quotes (includes userSteps for EVM)
  • Status — Track transfer progress after execution

Examples

  • Solana Example — Complete Solana transfer with transaction building

Authorizations

x-api-key
string
header
required

API key for authenticating requests. Required for /quotes, /build-user-steps, /submit-signature, and /status endpoints.

Body

application/json
quoteId
string
required

The quote ID to build steps for

Example:

"quote_abc123"

Response

200 - application/json

Successfully built user steps

userSteps
object[]