Skip to main content
This glossary defines core concepts used throughout RebelFi’s platform and APIs.

Core Concepts

Venue

A venue represents a DeFi protocol that offers yield opportunities. Examples include AAVE, Morpho, Kamino, Drift, and other lending/yield protocols. Each venue contains one or more strategies for different tokens. API Field: venueId, venueName

Strategy

A strategy is a specific yield opportunity within a venue. Each strategy:
  • Supports a specific token (e.g., USDC)
  • Has a current APY
  • May have minimum and maximum supply amounts
Use strategyId for supply/unwind operations. API Field: strategyId, strategyName

Allocation

An allocation represents funds deployed to a yield strategy. It tracks:
  • Principal: Amount supplied and not yet unwound
  • Current Value: Principal + accrued yield
  • Yield Earned: Total yield accumulated
API Field: allocation, allocations

Operation

An operation is a business workflow representing intent:
  • Supply: Deploy funds to a yield strategy
  • Unwind: Return funds from a yield strategy to the wallet
Operations contain one or more transactions that need to be signed and submitted. Status Values:
  • PENDING - Waiting for approval; transactions not built yet
  • AWAITING_SIGNATURE - Unsigned transactions ready for signing, before the signing deadline
  • SUBMITTED - Transaction broadcast, awaiting confirmation
  • CONFIRMED - Successfully confirmed on-chain
  • FAILED - Transaction failed
  • CANCELLED - Cancelled before submission
  • EXPIRED - Nothing was signed and submitted by the signing deadline
CANCELLED and EXPIRED become CONFIRMED if the operation’s planned transaction lands on chain anyway (a late landing).

Signing Deadline

The time by which an operation’s next transaction must be signed and submitted: five minutes after it became signable, returned as expiresAt. The same for every chain and wallet profile. Past it, RebelFi no longer hands out or broadcasts the operation’s transactions (OPERATION_EXPIRED) and the operation becomes EXPIRED. A transaction you report with submit hash is still recorded if it is the planned one. API Field: expiresAt API Field: operationId, operationType

Transaction

A blockchain transaction within an operation. Goes through these states:
  • unsigned: Transaction built, waiting for user signature
  • pending: Signed and broadcast, waiting for confirmation
  • confirmed: Successfully confirmed on-chain
  • failed: Transaction failed
API Field: transactionId, txHash, status

Wallet Concepts

Organization (Org)

Your company or entity within RebelFi. All wallets, operations, and allocations belong to an organization. API Field: organizationId

Operational Wallet (OpWallet)

A wallet that is actively monitored for yield optimization. Configuration:
  • Buffer Amount: Minimum liquidity to maintain
  • Enable Yield: Whether to optimize for yield

Buffer Amount

Minimum liquidity to keep available (not deployed to yield) in an operational wallet. Purpose:
  • Keep funds available for immediate Transfer Out
  • Maintain operational liquidity
Behavior:
  • Funds above buffer → eligible for yield deployment
  • Funds at or below buffer → kept liquid

Financial Concepts

Principal

The original amount of funds deployed, excluding yield earned. Calculation: Principal = Total Balance - Cumulative Yield

Yield

Cumulative earnings from yield protocols. Tracking:
  • Lifetime Yield: Total earned since inception
  • Daily Yield: Last 24 hours
  • Current Value: Principal + Yield

APY (Annual Percentage Yield)

The annualized rate of return, expressed as a decimal. Format: Decimal (e.g., 0.085 for 8.5% APY) Display: (apy * 100).toFixed(2) + '%' → “8.50%” Before and after yield share: apy is the venue’s rate before RebelFi’s yield share. apyNet is the rate after it, which is what the holder actually earns. Show apyNet to end users. For the daily history of both, see Get APY History.

Yield Share

The percentage of realized gain RebelFi and your organization keep when a position is unwound. It applies only to gains, never to principal or losses. End-user wallets (registered with a userId) and your organization’s own wallets can have different shares. currentValue and apyNet are already after the yield share; yieldEarned and apy are before it.

Reservation

A temporary financial lock on available funds during an operation. Lifecycle:
  1. Created: When operation is planned
  2. Active: Locks funds (reduces available balance)
  3. Consumed: When operation completes successfully
  4. Released: When operation fails or is rejected
Purpose: Prevents double-spending while operation is executing

Client Accounts and the Earn Portal

Client accounts give your clients a read-only portal, the RebelFi Earn portal. The portal uses words agreed for both platforms, so your own client-facing app can use the same ones. The API keeps its own words: Supply and Unwind are the API’s names for the two operations. “Allocate” and “Withdraw” are display labels only and never appear in a request or response. Every portal figure comes from the Account Summary and the same position calculation as the allocation reads, so a figure you show your client matches the one RebelFi shows them.

Supported Blockchains


Data Types

Amount (Base Units)

Monetary values are expressed in base units (smallest divisible unit of the token). Examples:
  • USDC has 6 decimals: "1000000" = 1 USDC
  • "1000000000" = 1,000 USDC
API Format: String (to preserve precision)

Blockchain

Supported blockchain networks:
  • solana - Solana mainnet
  • ethereum - Ethereum mainnet
  • polygon - Polygon mainnet

Timestamp

ISO 8601 format: "2024-01-15T10:30:00Z"

Common Acronyms


Visual Example: Complete Flow