Funded builds
Funded trades move real capital. The API only builds the transaction. You sign it. Fortell never signs.
The three steps
- Build. Call a funded endpoint. It returns an unsigned transaction and an
intentId. - Sign. Sign the bytes on your side, with your wallet or with a trade key.
- Submit. Send the signed transaction to
/v1/agent/funded/submitwith the sameintentId.
The key needs the funded-build scope for all three steps.
Build
curl -s -X POST https://api.fortell.finance/v1/agent/funded/seat-trade \
-H "Authorization: Bearer $FORTELL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action":"buy","round":"PHOENIX-EQ-AAPL","usd":25,"leverage":2}'The Endpoints page lists every build endpoint and its arguments. A build that needs a confirmation on the website is refused with confirm_needs_website. Do that step on the website.
Sign
- Your wallet. Sign the transaction with the wallet that owns the account.
- A trade key. The owner signs one grant with
/v1/agent/funded/grant-agent. After that, the granted key can sign trades only, for at most 8 hours and up to a cash cap. The owner can revoke it on the website.
Sign the bytes you got. Do not rebuild them.
Submit
curl -s -X POST https://api.fortell.finance/v1/agent/funded/submit \
-H "Authorization: Bearer $FORTELL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"intentId":"<intentId from the build>","signedTransaction":"<base64>"}'Submit moves money and cannot be undone. Check your state before you send it again. A lost connection does not tell you if the transaction landed. The Python SDK never resends a write that may have landed.
See the Endpoints page for the arguments of each call.