Skip to main content

FragmetricTask

Fetch the current price for Fragmetric liquid restaking tokens.

Input: None

Returns: The current price of the specified Fragmetric token relative to SOL (1.0 = 1 SOL)

Example: Fetch the fragSOL token price

{
"fragmetricTask": {
"token": "TOKEN_FRAG_SOL"
}
}


Fields

NameTypeDescription
 token

The Fragmetric token to fetch the price for

Enums

 Token

ValueNameDescription
 0TOKEN_FRAG_SOL

Fragmetric’s liquid restaking token (fragSOL)

 1TOKEN_N_SOL

Fragmetric’s native staking token (nSOL)