AgentWallet // Solana SPL-2022

CASH Transfer

Fill the form โ†’ get a bash script โ†’ paste & run in terminal. No CORS, always works.
Why a script? Browsers block cross-origin API calls from GitHub Pages (CORS). This tool generates a bash script โ€” copy it, run bash script.sh in your terminal. One paste, done.
1
Your Account
2
Destination
save as script.sh โ†’ run: bash script.sh
1
Check Balance
curl https://frames.ag/api/wallets/{USERNAME}/balances \ -H "Authorization: Bearer {API_TOKEN}"

Find rawValue where asset is "cash"

2
Get Source Token Account
curl -s https://api.mainnet-beta.solana.com -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"getTokenAccountsByOwner", "params":["{YOUR_SOLANA_ADDRESS}", {"mint":"CASHx9KJUStyftLFWGvEVf59SGeG9sh5FfcnZMVPCASH"}, {"encoding":"jsonParsed"}]}'
3
Get Destination Token Account

Same as step 2 but use recipient address.

!
Gas Not Sponsored (account < 24h)
Error: Attempt to debit an account but found no record of a prior credit

Fix A: Wait 24h after account creation, retry.
Fix B: Send a tiny SOL to your Solana wallet, retry.