Skip to main content

Create Transaction

Create and execute a new transaction through the full pipeline.
cURL

Request Body

string
required
Wallet UUID executing the transaction
enum
required
Transaction type: transfer_sol, transfer_spl, swap, stake, unstake, lend_supply, lend_borrow, create_mint, mint_token, query_balance, query_positions, create_escrow, accept_escrow, release_escrow, refund_escrow, dispute_escrow, resolve_dispute, create_milestone_escrow, release_milestone, x402_pay, flash_loan_bundle, cpi_call, custom_instruction_bundle, treasury_allocate, treasury_rebalance, paper_trade
string
required
Protocol name: system-program, spl-token, jupiter, marinade, solend, metaplex, orca, raydium, escrow
object
Protocol-specific intent payload (see examples below)
string
Optional agent UUID if executed by an agent
boolean
default:false
Use gasless transaction submission (if supported by protocol)
string
Unique key (8-128 chars) to prevent duplicate transactions

Response

string
required
Transaction UUID
string
required
Wallet UUID
string
Agent UUID if executed by agent
string
required
Transaction type
string
required
Protocol name
enum
required
Current status: pending, simulating, policy_eval, approval_gate, signing, submitting, confirmed, failed
string
required
Current pipeline stage
string
On-chain transaction signature (once submitted)
object
Original intent payload
object
Policy evaluation result
string
required
ISO 8601 timestamp
string
required
ISO 8601 timestamp

Transaction Lifecycle

Transactions progress through these stages:
Poll the transaction status until it reaches confirmed or failed.

Intent Examples


Get Transaction

Retrieve transaction details and current status.
cURL

Path Parameters

string
required
Transaction UUID

List Wallet Transactions

List all transactions for a wallet.
cURL

Path Parameters

string
required
Wallet UUID

Query Parameters

number
default:"50"
Maximum transactions to return
number
default:"0"
Number of transactions to skip
string
Filter by status: pending, confirmed, failed

Retry Transaction

Retry a failed transaction with fresh blockhash and updated fees.
cURL

Path Parameters

string
required
Transaction UUID
Retry automatically handles re-simulation, fresh blockhash, and priority fee updates.

Approve Transaction

Approve a transaction paused at approval_gate.
cURL

Path Parameters

string
required
Transaction UUID

Reject Transaction

Reject a transaction paused at approval_gate.
cURL

Path Parameters

string
required
Transaction UUID

Get Transaction Proof

Retrieve cryptographic proof of transaction execution.
cURL

Response

string
required
Transaction UUID
string
required
Wallet UUID
string
Agent UUID if executed by agent
string
required
SHA-256 hash of intent payload (64 hex chars)
string
required
SHA-256 hash of policy evaluation (64 hex chars)
string
required
SHA-256 hash of simulation result (64 hex chars)
string
On-chain transaction signature
string
required
SHA-256 hash of complete proof (64 hex chars)
string
required
ISO 8601 timestamp

Get Transaction Replay

Retrieve complete transaction replay data for auditing.
cURL

Response

Returns full transaction state including:
  • Original intent
  • Policy evaluation details
  • Simulation results
  • Stage history
  • Timestamps

Get Pending Approvals

List transactions awaiting approval for a wallet.
cURL

Path Parameters

string
required
Wallet UUID

Get Wallet Positions

Query protocol positions (staking, lending, LP) for a wallet.
cURL

Path Parameters

string
required
Wallet UUID

Get Wallet Escrows

List escrow accounts associated with a wallet.
cURL

Path Parameters

string
required
Wallet UUID

Transaction Health Check

Check transaction engine health and RPC pool status.
cURL

Response