Quickstart
One golden path from an empty wallet to a trade and back to cash.
export FLASH_API_URL="https://flashapi.trade"
export WALLET="<your-wallet-pubkey>"Transaction kind
Submit to
1. Check the service and read a price
curl $FLASH_API_URL/health
curl $FLASH_API_URL/prices/SOL2. Fund the wallet
curl -X POST $FLASH_API_URL/transaction-builder/deposit \
-H 'Content-Type: application/json' \
-d '{ "owner": "'$WALLET'", "tokenSymbol": "USDC", "amount": "100.0" }'3. Delegate (enable trading)
4. Open a position
5. Read your position
6. Close
7. Withdraw
Next steps
Last updated
Was this helpful?

