Deposit OSR
How it works
Section titled “How it works”- Send OSR tokens to the System R treasury wallet on Solana mainnet.
- Submit the transaction signature to
POST /v1/billing/deposit-osr. - System R verifies the on-chain transfer and credits your balance.
Treasury wallet: 9Nc6u9ft3uAr6DSaqHijFjQS53hZPDRL2LoVYvH4vK5H
OSR token mint: E2grvu8fyeeuVaxj2DrHVBqv8j21jK3vyJpXG8FJjJNc
Credit rate
Section titled “Credit rate”| Buyer type | Rate per token | 1,000 OSR = |
|---|---|---|
| Standard | $0.005 | $5.00 |
| Presale buyer | $0.004 | $4.00 |
Presale buyer status is detected automatically when you link your wallet. The discount applies to all deposits going forward.
Request
Section titled “Request”curl -X POST https://agents.systemr.ai/v1/billing/deposit-osr \ -H "X-API-Key: sr_agent_..." \ -H "Content-Type: application/json" \ -d '{ "tx_signature": "5xYz...your_solana_tx_signature" }'Response
Section titled “Response”{ "agent_id": "agt_a1b2c3d4", "osr_amount": "10000", "usd_credited": "50.00", "rate_per_token": "0.005", "is_presale_buyer": false, "balance_after": "92.50", "tx_id": "tx_abc123"}# After sending OSR tokens to the treasury wallet on-chain:result = client._request("POST", "/v1/billing/deposit-osr", json={ "tx_signature": "5xYz...your_solana_tx_signature",})
print(f"Credited: ${result['usd_credited']}")print(f"Balance: ${result['balance_after']}")Verification
Section titled “Verification”The endpoint verifies:
- The transaction exists on Solana mainnet.
- The transaction is confirmed (finalized).
- The transfer destination is the treasury wallet.
- The transferred token is OSR (correct mint address).
- The transaction has not been previously processed (replay protection).
If any check fails, the deposit is rejected and no credits are issued.
OSR token details
Section titled “OSR token details”| Property | Value |
|---|---|
| Network | Solana mainnet |
| Mint address | E2grvu8fyeeuVaxj2DrHVBqv8j21jK3vyJpXG8FJjJNc |
| Decimals | 9 |
| Total supply | 1,000,000,000 |
| Mint authority | Revoked (immutable supply) |
| Freeze authority | Revoked |