Skip to main content
POST
Build loan

Headers

User-Wallet
string
required

Base58 wallet of the acting user; the transaction is built for this wallet. Missing header returns 401

payer
string | null

Base58 wallet that pays transaction fees; defaults to the User-Wallet wallet when omitted

Transaction-Settings
string | null

Optional JSON-encoded transaction settings (priority-fee percentile, compute limits, simulation mode)

Idempotent-Key
string | null

Optional idempotency key; a retried write with the same key replays the original response

Body

application/json
steps
object[]
required

Ordered build steps.

One step of a composed loan build, adjacently-tagged by type with the step's own transaction params under params.

loan
string | null

Response

Derived loan address and the transaction sequence produced by the requested build steps.

loan
string
required
transactions
object[]
required