DelegationStatusResponse

data class DelegationStatusResponse(val chainId: String, val token: String, val tokenAddress: String, val tokenAccount: String? = null, val balance: String? = null, val balanceRaw: String? = null, val delegations: List<DelegationStatus>)

Response model for a delegation status query.

Contains token information, balance data, and a list of active delegations.

Parameters

chainId

The chain ID.

token

The token symbol.

tokenAddress

The token contract address.

tokenAccount

The associated token account (Solana).

balance

The human-readable token balance.

balanceRaw

The raw token balance (smallest unit).

delegations

List of active delegations for this token.

Constructors

Link copied to clipboard
constructor(chainId: String, token: String, tokenAddress: String, tokenAccount: String? = null, balance: String? = null, balanceRaw: String? = null, delegations: List<DelegationStatus>)

Properties

Link copied to clipboard
val balance: String? = null
Link copied to clipboard
val balanceRaw: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tokenAccount: String? = null
Link copied to clipboard