Wallets & Accounts
Organization (Org)
Your company or entity within RebelFi. All wallets, operations, and allocations belong to an organization. API Field:organizationId, organization
Example: “Acoriana Corp”, “Treasury DAO”
Org Wallet (Organization Wallet)
A wallet address you own, imported into RebelFi for monitoring. Key Points:- You control the private keys (custody)
- RebelFi monitors the address
- Can be used for yield optimization
orgWalletId, orgWallet
Example:
Operational Wallet (OpWallet)
An Org Wallet that is actively monitored for yield optimization opportunities. Also Known As:- Managed Wallet (in some docs)
- Monitored Wallet (in API endpoints like
/wallets/monitored) - OpWallet (in code and API responses like
opWalletId)
- Buffer Amount: Minimum liquidity to maintain
- Enable Yield: Whether to optimize for yield
opWalletId, managedWalletId (interchangeable)
Example:
Terminology Note: Throughout this documentation, we primarily use “Operational Wallet” or “OpWallet”. If you see
opWalletId or managedWalletId in API responses, they’re the same thing.Financial Concepts
Buffer Amount
Minimum liquidity to keep available (not deployed to yield) in an operational wallet. Purpose:- Ensure funds available for immediate withdrawals
- Maintain operational liquidity
- Funds above buffer → eligible for yield deployment
- Funds at or below buffer → kept liquid
"100000" = 0.1 USDC for 6 decimals)
Example:
- Buffer: 0.1 USDC
- Total balance: 1.0 USDC
- Eligible for yield: 0.9 USDC
Position
A snapshot view of wallet balances for a specific token. Components:- Total: All funds (available + reserved + allocated)
- Available: Liquid, ready for operations
- Reserved: Locked by active operations
- Allocated: Deployed to yield protocols
- Principal: Original funds (total - yield earned)
- Yield: Cumulative yield earned
Total = Available + Reserved + Allocated
API Endpoint (Planned): GET /api/token-positions/op-wallet/:id
Example:
Reservation
A temporary financial lock on available funds during an operation. Lifecycle:- Created: When operation enters PLANNED status
- Active: Locks funds (reduces available balance)
- Consumed: When operation completes successfully
- Released: When operation fails or is rejected
ACTIVE- Currently locking fundsCONSUMED- Operation completed, lock removedRELEASED- Operation failed/rejected, funds returned
Allocation
Funds actively deployed to a yield protocol, earning yield. Lifecycle:- Created: When SUPPLY operation completes
- Active: Earning yield
- Unwinding: Being withdrawn
- Closed: Fully withdrawn
ACTIVE- Earning yieldUNWINDING- Withdrawal in progressCLOSED- No longer active
- Principal: Original amount deployed
- Yield: Cumulative yield earned
- Current Value: Principal + Yield
- APY: Current annual percentage yield
GET /api/v1/allocations
Example:
Operations
Operation
A structured workflow representing business intent (deploy funds, withdraw funds, transfer). Types:SUPPLY- Deploy funds to yield protocolsDISBURSE- Withdraw funds from yieldTRANSFER- Move funds between wallets
PLANNED- Created, funds reservedPENDING_APPROVAL- Awaiting manual approvalEXECUTING- Being signed by custodyCOMPLETED- Successfully executedFAILED- Execution failedREJECTED- Manually rejectedABORTED- System aborted
GET /api/core/operations/queue, GET /api/core/operations/history
Operation Step
An individual action within an operation (e.g., UNWIND, TRANSFER). Common Steps:SUPPLY_TO_PROVIDER- Deploy to yield protocolUNWIND_FROM_PROVIDER- Withdraw from yield protocolTRANSFER_OUT- Send to external address
Transaction Attempt
A blockchain transaction executing one or more operation steps. Lifecycle:- Created: Unsigned transaction generated
- Claimed: Agent claimed via polling
- Submitted: Signed and submitted to blockchain
- Confirmed: Blockchain confirmation received
- Unsigned TX: Transaction payload for signing
- Lease: Time-bound claim by agent
- TX Hash: Blockchain transaction ID (after submission)
POST /api/agent/transactions/poll
Example:
Blockchain & Transactions
Chain Transaction
An immutable blockchain fact - what actually happened on-chain. Components:- TX Hash: Blockchain transaction ID
- Block Number: Block containing transaction
- Confirmations: Number of confirmations
- Transfers: Token transfers within transaction
Wallet Perspective
How a specific wallet views a chain transaction (inflow or outflow). Direction:IN- Received tokens (inflow)OUT- Sent tokens (outflow)
Yield & Performance
APY (Annual Percentage Yield)
The annualized rate of return, expressed as a percentage. Format: Percentage string (e.g.,"6.0" for 6% APY)
Types:
- Current APY: Current earning rate
- Average APY: Historical average
- Weighted Avg APY: Average weighted by allocation size
parseFloat("6.0") / 100 = 0.06 (6%)
Principal
The original amount of funds deployed, excluding yield earned. Calculation:Principal = Total Balance - Cumulative Yield
Example:
- Deployed: 100 USDC
- Yield Earned: 2 USDC
- Current Total: 102 USDC
- Principal: 100 USDC (original amount)
Yield
Cumulative earnings from yield protocols. Calculation: Tracked via YieldSnapshot records Components:- Lifetime Yield: Total earned since inception
- Daily Yield: Last 24 hours
- Monthly Yield: Last 30 days
ROI (Return on Investment)
Percentage return on principal. Formula:ROI = (Yield / Principal) × 100
Example:
- Principal: 100 USDC
- Yield: 5 USDC
- ROI: 5%
Custody & Agents
Custody Platform
The infrastructure that stores private keys and signs transactions. Types:- Third-Party: Fireblocks, BitGo, Tatum, Privy
- Custom: Your own HSM, MPC, or signing infrastructure
- RebelFi Agent: Using RebelFi’s agent with your credentials
Agent
A service that polls RebelFi for unsigned transactions, signs them, and reports execution. Types:- RebelFi Managed: RebelFi runs the agent
- Customer Managed: You run your own polling service
- Poll for work (
POST /api/agent/transactions/poll) - Sign transactions (via custody solution)
- Report execution (
POST /api/agent/transactions/:id/report)
Lease
A time-bound claim on a transaction attempt. Duration: Set in poll request (e.g., 30000ms = 30 seconds) Purpose: Prevents duplicate execution by multiple agents Expiry: If not reported within lease duration, transaction becomes available again Example:Data Types
Amount
Standard format for monetary values. Format:Timestamp
Dual-format timestamps. Format:Common Acronyms
| Acronym | Full Term | Description |
|---|---|---|
| APY | Annual Percentage Yield | Annualized rate of return |
| ATA | Associated Token Account | Solana token account |
| JWT | JSON Web Token | Authentication token for dashboard |
| MPC | Multi-Party Computation | Distributed key management |
| HSM | Hardware Security Module | Physical device for key storage |
| ROI | Return on Investment | Percentage return on principal |
| TVL | Total Value Locked | Total value in protocol |
Visual Example: Complete Flow
Related Documentation
- Custom Custody Integration - Complete integration guide
- Data Types Reference - Standard data formats
- Operations API - Operation management
- How It Works - Architecture overview