A valid request URL is required to generate request examples{
"address": "<string>",
"ok": true
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "sponsor_not_configured"
}Deploy a policy session-account
Sponsor-deploy a policy-scoped session-account bound to an ed25519 root key. The SDK sends the root public key (G-address); the facilitator holds the sponsor secret, enforces the pinned Wasm hash, and returns the deployed contract address. Requires deploySessionAccount support in the relayer.
A valid request URL is required to generate request examples{
"address": "<string>",
"ok": true
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "sponsor_not_configured"
}Authorizations
Server-held API key. Injected by the BFF (createRelayRoute / createSignerProxyRoute from @buckspay/nextjs). This key must only appear in server-side code and must never be shipped to a browser bundle.
Body
Request body for POST /stellar/session-account/deploy.
ed25519 root public key (G-address) that will administer the session-account. The account's add_signer / remove_signer calls must be authorized by this key.
^G[A-Z2-7]{55}$Stellar network identifier used in facilitator requests.
stellar-testnet, stellar-pubnet 
