Skip to main content
Example code snippets to query the indexer for subaccount related data.

Using gRPC

Fetch user’s portfolio details

This includes available balance, unrealized Pnl, and portfolio value. Note: deprecated → use Portfolio instead

Fetch user’s trading rewards per epoch

Fetch subaccounts associated with an injective address

Fetch balance of a subaccount for a specific denom

Fetch of balances for a subaccount

Fetch subaccount history

Fetch a summary of a subaccount’s orders

Fetch states of spot or (and) derivatives orders

Last modified on March 30, 2026