Skip to main content
GET
Generate strategy reports for vault

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

address
string
required

Stellar address of the vault contract

Example:

"CBNKCU3HGFKHFOF7JTGXQCNKE3G3DXS5RDBQUKQMIIECYKXPIOUGB2S3"

Query Parameters

network
enum<string>

Stellar network (testnet or mainnet). Defaults to mainnet.

Available options:
testnet,
mainnet

Response

Unsigned transaction built for caller. Nothing moves until it is signed and submitted (POST /send).

xdr
string | null

Base64 transaction envelope ready for the caller to sign. null when the caller is a smart wallet (C address): build your own transaction around operationXDR.

simulationResponse
any

One report per strategy: prev_balance, gains_or_losses and locked_fee, integer strings in the asset's smallest unit.

functionName
string

Contract function the transaction calls

operationXDR
string

Base64 of the single invokeHostFunction operation, for smart wallets and custom transactions

isSmartWallet
boolean

Whether caller is a contract (C) address

params
any

Arguments the contract function was called with, as the API resolved them