# Solana Farms RPC Service

Solana Farms RPC Service

Get:

Returns description and stats of all supported protocols

/api/v1/protocols

Returns current admin signers for the Main Router

/api/v1/admins

Returns program upgrade signers

/api/v1/program_admins?program_id=[program_id]

Returns Token metadata from Github

/api/v1/git_token?name=[name]

Returns all Tokens from Github

/api/v1/git_tokens

Returns the Fund struct for the given name

/api/v1/fund?name=[name]

Returns all Funds available

/api/v1/funds

Returns the Fund metadata address for the given name

/api/v1/fund_ref?name=[name]

Returns Fund refs: a map of Fund name to account address with metadata

/api/v1/fund_refs

Returns the Fund metadata at the specified address

/api/v1/fund_by_ref?fund_ref=[fund_ref]

Returns the Fund name for the given metadata address

/api/v1/fund_name?fund_ref=[fund_ref]

Returns all Funds that have Vaults with the name matching the pattern sorted by version

/api/v1/find_funds?vault_name_pattern=[vault_name_pattern]

Returns the Vault struct for the given name

/api/v1/vault?name=[name]

Returns all Vaults available

/api/v1/vaults

Returns the Vault metadata address for the given name

/api/v1/vault_ref?name=[name]

Returns Vault refs: a map of Vault name to account address with metadata

/api/v1/vault_refs

Returns the Vault metadata at the specified address

/api/v1/vault_by_ref?vault_ref=[vault_ref]

Returns the Vault name for the given metadata address

/api/v1/vault_name?vault_ref=[vault_ref]

Returns all Vaults with tokens A and B sorted by version

/api/v1/find_vaults?token_a=[token_a]&token_b=[token_b]

Returns all Vaults with tokens A and B sorted by version

/api/v1/find_vaults_with_vt?vt_token_name=[vt_token_name]

Returns the Pool struct for the given name

/api/v1/pool?name=[name]

Returns all Pools available

/api/v1/pools

Returns the Pool metadata address for the given name

/api/v1/pool_ref?name=[name]

Returns Pool refs: a map of Pool name to account address with metadata

/api/v1/pool_refs

Returns the Pool metadata at the specified address

/api/v1/pool_by_ref?pool_ref=[pool_ref]

Returns the Pool name for the given metadata address

/api/v1/pool_name?pool_ref=[pool_ref]

Returns all Pools with tokens A and B sorted by version for the given protocol

/api/v1/find_pools?protocol=[protocol]&token_a=[token_a]&token_b=[token_b]

Returns all Pools sorted by version for the given LP token

/api/v1/find_pools_with_lp?lp_token=[lp_token]

Returns pair's price based on the ratio of tokens in the pool

/api/v1/pool_price?name=[name]

Returns oracle address for the given token

/api/v1/oracle?symbol=[symbol]

Returns the price in USD for the given token

/api/v1/oracle_price?symbol=[symbol]&max_price_age_sec=[max_price_age_sec]&max_price_error=[max_price_error]

Returns the Farm struct for the given name

/api/v1/farm?name=[name]

Returns all Farms available

/api/v1/farms

Returns the Farm metadata address for the given name

/api/v1/farm_ref?name=[name]

Returns Farm refs: a map of Farm name to account address with metadata

/api/v1/farm_refs

Returns the Farm metadata at the specified address

/api/v1/farm_by_ref?farm_ref=[farm_ref]

Returns the Farm name for the given metadata address

/api/v1/farm_name?farm_ref=[farm_ref]

Returns all Farms for the given LP token

/api/v1/find_farms_with_lp?lp_token=[lp_token]

Returns the Token struct for the given name

/api/v1/token?name=[name]

Returns all Tokens available

/api/v1/tokens

Returns the Token metadata address for the given name

/api/v1/token_ref?name=[name]

Returns Token refs: a map of Token name to account address with metadata

/api/v1/token_refs

Returns the Token metadata at the specified address

/api/v1/token_by_ref?token_ref=[token_ref]

Returns the Token name for the given metadata address

/api/v1/token_name?token_ref=[token_ref]

Returns the Token metadata for the specified mint

/api/v1/token_with_mint?token_mint=[token_mint]

Returns the Token metadata for the specified token account

/api/v1/token_with_account?token_account=[token_account]

Returns the official Program ID for the given name

/api/v1/program_id?name=[name]

Returns all official Program IDs available

/api/v1/program_ids

Returns the official program name for the given Program ID

/api/v1/program_name?prog_id=[prog_id]

Checks if the given address is the official Program ID

/api/v1/is_official_id?prog_id=[prog_id]

Checks if the given address is the Fund manager

/api/v1/is_fund_manager?wallet_address=[wallet_address]

Returns all Funds managed by the given address

/api/v1/managed_funds?wallet_address=[wallet_address]

Returns token supply as UI amount

/api/v1/token_supply?token_name=[token_name]

Returns the associated token account address for the given token name

/api/v1/associated_token_address?wallet_address=[wallet_address]&token_name=[token_name]

Returns all tokens with active account in the wallet

/api/v1/wallet_tokens?wallet_address=[wallet_address]

Returns UiTokenAccount struct data for the associated token account address

/api/v1/token_account_data?wallet_address=[wallet_address]&token_name=[token_name]

Returns native SOL balance

/api/v1/account_balance?wallet_address=[wallet_address]

Returns token balance for the associated token account address

/api/v1/token_account_balance?wallet_address=[wallet_address]&token_name=[token_name]

Returns token balance for the specified token account address

/api/v1/token_account_balance_with_address?token_account=[token_account]

Returns true if the associated token account exists and is initialized

/api/v1/has_active_token_account?wallet_address=[wallet_address]&token_name=[token_name]

Returns current admin signers for the Fund

/api/v1/fund_admins?name=[name]

Returns user stats for specific Fund

/api/v1/fund_user_info?wallet_address=[wallet_address]&fund_name=[fund_name]

Returns user stats for all Funds

/api/v1/all_fund_user_infos?wallet_address=[wallet_address]

Returns user requests for specific Fund and token

/api/v1/fund_user_requests?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]

Returns user requests for all tokens accepted by the Fund

/api/v1/all_fund_user_requests?fund_name=[fund_name]

Returns Fund stats and config

/api/v1/fund_info?fund_name=[fund_name]

Returns Fund info and config for all Funds

/api/v1/all_fund_infos

Returns the Fund assets info

/api/v1/fund_assets?fund_name=[fund_name]&asset_type=[asset_type]

Returns the Fund custody info

/api/v1/fund_custody?fund_name=[fund_name]&token_name=[token_name]&custody_type=[custody_type]

Returns the Fund custody extended info

/api/v1/fund_custody_with_balance?fund_name=[fund_name]&token_name=[token_name]&custody_type=[custody_type]

Returns all custodies belonging to the Fund sorted by custody_id

/api/v1/fund_custodies?fund_name=[fund_name]

Returns all custodies belonging to the Fund with extended info

/api/v1/fund_custodies_with_balance?fund_name=[fund_name]

Returns the Fund Vault info

/api/v1/fund_vault?fund_name=[fund_name]&vault_name=[vault_name]&vault_type=[vault_type]

Returns all Vaults belonging to the Fund sorted by vault_id

/api/v1/fund_vaults?fund_name=[fund_name]

Returns Fund's historical performance

/api/v1/fund_stats?fund_name=[fund_name]&timeframe=[timeframe]&start_time=[start_time]&limit=[limit]

Returns User's stacked balance

/api/v1/user_stake_balance?wallet_address=[wallet_address]&farm_name=[farm_name]

Returns Vault's stacked balance

/api/v1/vault_stake_balance?vault_name=[vault_name]

Returns current admin signers for the Vault

/api/v1/vault_admins?name=[name]

Returns user stats for specific Vault

/api/v1/vault_user_info?wallet_address=[wallet_address]&vault_name=[vault_name]

Returns Vault stats

/api/v1/vault_info?vault_name=[vault_name]

Returns Vault stats for all Vaults

/api/v1/all_vault_infos

Returns number of decimal digits of the Vault token

/api/v1/vault_token_decimals?vault_name=[vault_name]

Returns number of decimal digits of the Vault token

/api/v1/pool_tokens_decimals?pool_name=[pool_name]

Returns a new Instruction for creating system account

/api/v1/new_instruction_create_system_account?wallet_address=[wallet_address]&new_address=[new_address]&lamports=[lamports]&space=[space]&owner=[owner]

Returns a new Instruction for creating system account with seed

/api/v1/new_instruction_create_system_account_with_seed?wallet_address=[wallet_address]&base_address=[base_address]&seed=[seed]&lamports=[lamports]&space=[space]&owner=[owner]

Returns a new Instruction for closing system account

/api/v1/new_instruction_close_system_account?wallet_address=[wallet_address]&target_address=[target_address]

Returns the native SOL transfer instruction

/api/v1/new_instruction_transfer?wallet_address=[wallet_address]&destination_wallet=[destination_wallet]&sol_ui_amount=[sol_ui_amount]

Returns a tokens transfer instruction

/api/v1/new_instruction_token_transfer?wallet_address=[wallet_address]&token_name=[token_name]&destination_wallet=[destination_wallet]&ui_amount=[ui_amount]

Returns a new Instruction for syncing token balance for the specified account

/api/v1/new_instruction_sync_token_balance?wallet_address=[wallet_address]&token_name=[token_name]

Returns a new Instruction for creating associated token account

/api/v1/new_instruction_create_token_account?wallet_address=[wallet_address]&token_name=[token_name]

Returns a new Instruction for closing associated token account

/api/v1/new_instruction_close_token_account?wallet_address=[wallet_address]&token_name=[token_name]

Returns a new Instruction for initializing a new User for the Vault

/api/v1/new_instruction_user_init_vault?wallet_address=[wallet_address]&vault_name=[vault_name]

Returns a new Instruction for adding liquidity to the Vault

/api/v1/new_instruction_add_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new Instruction for locking liquidity in the Vault

/api/v1/new_instruction_lock_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new Instruction for unlocking liquidity from the Vault

/api/v1/new_instruction_unlock_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new Instruction for removing liquidity from the Vault

/api/v1/new_instruction_remove_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new Instruction for adding liquidity to the Pool

/api/v1/new_instruction_add_liquidity_pool?wallet_address=[wallet_address]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new Instruction for removing liquidity from the Pool

/api/v1/new_instruction_remove_liquidity_pool?wallet_address=[wallet_address]&pool_name=[pool_name]&ui_amount=[ui_amount]

Returns a new Instruction for wrapping the token into protocol specific token

/api/v1/new_instruction_wrap_token?wallet_address=[wallet_address]&pool_name=[pool_name]&token_to_wrap=[token_to_wrap]&ui_amount=[ui_amount]

Returns a new Instruction for unwrapping the token from protocol specific token

/api/v1/new_instruction_unwrap_token?wallet_address=[wallet_address]&pool_name=[pool_name]&token_to_unwrap=[token_to_unwrap]&ui_amount=[ui_amount]

Returns a new Instruction for tokens swap

/api/v1/new_instruction_swap?wallet_address=[wallet_address]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Returns a new Instruction for initializing a new User in the Farm

/api/v1/new_instruction_user_init?wallet_address=[wallet_address]&farm_name=[farm_name]

Returns a new Instruction for tokens staking

/api/v1/new_instruction_stake?wallet_address=[wallet_address]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new Instruction for tokens unstaking

/api/v1/new_instruction_unstake?wallet_address=[wallet_address]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new Instruction for rewards harvesting

/api/v1/new_instruction_harvest?wallet_address=[wallet_address]&farm_name=[farm_name]

Returns a new Vault Crank Instruction

/api/v1/new_instruction_crank_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&step=[step]

Returns a new Instruction for initializing a new User for the Fund

/api/v1/new_instruction_user_init_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]

Returns a new Instruction for requesting deposit to the Fund

/api/v1/new_instruction_request_deposit_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for canceling pending deposit to the Fund

/api/v1/new_instruction_cancel_deposit_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]

Returns a new Instruction for requesting withdrawal from the Fund

/api/v1/new_instruction_request_withdrawal_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for canceling pending withdrawal from the Fund

/api/v1/new_instruction_cancel_withdrawal_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]

Returns a new Instruction for initiating liquidation of the Fund

/api/v1/new_instruction_start_liquidation_fund?wallet_address=[wallet_address]&fund_name=[fund_name]

Returns a new set deposit schedule Instruction

/api/v1/new_instruction_set_fund_deposit_schedule?wallet_address=[wallet_address]&fund_name=[fund_name]&start_time=[start_time]&end_time=[end_time]&approval_required=[approval_required]&min_amount_usd=[min_amount_usd]&max_amount_usd=[max_amount_usd]&fee=[fee]

Returns a new Instruction for disabling deposits to the Fund

/api/v1/new_instruction_disable_deposits_fund?wallet_address=[wallet_address]&fund_name=[fund_name]

Returns a new Instruction for approving deposit to the Fund

/api/v1/new_instruction_approve_deposit_fund?wallet_address=[wallet_address]&user_address=[user_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for denying deposit to the Fund

/api/v1/new_instruction_deny_deposit_fund?wallet_address=[wallet_address]&user_address=[user_address]&fund_name=[fund_name]&token_name=[token_name]&deny_reason=[deny_reason]

Returns a new set withdrawal schedule Instruction

/api/v1/new_instruction_set_fund_withdrawal_schedule?wallet_address=[wallet_address]&fund_name=[fund_name]&start_time=[start_time]&end_time=[end_time]&approval_required=[approval_required]&min_amount_usd=[min_amount_usd]&max_amount_usd=[max_amount_usd]&fee=[fee]

Returns a new Instruction for disabling withdrawals from the Fund

/api/v1/new_instruction_disable_withdrawals_fund?wallet_address=[wallet_address]&fund_name=[fund_name]

Returns a new Instruction for approving withdrawal from the Fund

/api/v1/new_instruction_approve_withdrawal_fund?wallet_address=[wallet_address]&user_address=[user_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for denying withdrawal from the Fund

/api/v1/new_instruction_deny_withdrawal_fund?wallet_address=[wallet_address]&user_address=[user_address]&fund_name=[fund_name]&token_name=[token_name]&deny_reason=[deny_reason]

Returns a new Instruction for moving deposited assets to the Fund

/api/v1/new_instruction_lock_assets_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for releasing assets from the Fund to Deposit/Withdraw custody

/api/v1/new_instruction_unlock_assets_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new Instruction for updating Fund assets based on custody holdings

/api/v1/new_instruction_update_fund_assets_with_custody?wallet_address=[wallet_address]&fund_name=[fund_name]&custody_id=[custody_id]

Returns a new Instruction for updating Fund assets with Vault holdings

/api/v1/new_instruction_update_fund_assets_with_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_id=[vault_id]

Returns a new Instruction for tokens swap in the Fund

/api/v1/new_instruction_fund_swap?wallet_address=[wallet_address]&fund_name=[fund_name]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Returns a new Instruction for adding liquidity to the Pool in the Fund

/api/v1/new_instruction_fund_add_liquidity_pool?wallet_address=[wallet_address]&fund_name=[fund_name]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new Instruction for removing liquidity from the Pool in the Fund

/api/v1/new_instruction_fund_remove_liquidity_pool?wallet_address=[wallet_address]&fund_name=[fund_name]&pool_name=[pool_name]&ui_amount=[ui_amount]

Returns a new Instruction for initializing a new User for the Farm in the Fund

/api/v1/new_instruction_fund_user_init_farm?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]

Returns a new Instruction for tokens staking to the Farm in the Fund

/api/v1/new_instruction_fund_stake?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new Instruction for tokens unstaking from the Farm in the Fund

/api/v1/new_instruction_fund_unstake?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new Instruction for rewards harvesting from the Farm in the Fund

/api/v1/new_instruction_fund_harvest?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]

Returns a new Instruction for initializing a new User for the Vault in the Fund

/api/v1/new_instruction_fund_user_init_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]

Returns a new Instruction for adding liquidity to the Vault in the Fund

/api/v1/new_instruction_fund_add_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new Instruction for locking liquidity in the Vault in the Fund

/api/v1/new_instruction_fund_lock_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new Instruction for unlocking liquidity from the Vault in the Fund

/api/v1/new_instruction_fund_unlock_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new Instruction for removing liquidity from the Vault in the Fund

/api/v1/new_instruction_fund_remove_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of instructions for tokens transfer

/api/v1/all_instructions_token_transfer?wallet_address=[wallet_address]&token_name=[token_name]&destination_wallet=[destination_wallet]&ui_amount=[ui_amount]

Returns a new complete set of instructions for SOL wrapping

/api/v1/all_instructions_wrap_sol?wallet_address=[wallet_address]&ui_amount=[ui_amount]

Returns a new complete set of instructions for SOL unwrapping

/api/v1/all_instructions_unwrap_sol?wallet_address=[wallet_address]

Returns a new complete set of instructions for adding liquidity to the Vault

/api/v1/all_instructions_add_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new complete set of instructions for adding locked liquidity to the Vault

/api/v1/all_instructions_add_locked_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for removing liquidity from the Vault

/api/v1/all_instructions_remove_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for removing unlocked liquidity from the Vault

/api/v1/all_instructions_remove_unlocked_liquidity_vault?wallet_address=[wallet_address]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for adding liquidity to the Pool

/api/v1/all_instructions_add_liquidity_pool?wallet_address=[wallet_address]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new complete set of Instructions for removing liquidity from the Pool

/api/v1/all_instructions_remove_liquidity_pool?wallet_address=[wallet_address]&pool_name=[pool_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for swapping tokens

/api/v1/all_instructions_swap?wallet_address=[wallet_address]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Returns a new complete set of Instructions for staking tokens to the Farm

/api/v1/all_instructions_stake?wallet_address=[wallet_address]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for unstaking tokens from the Farm

/api/v1/all_instructions_unstake?wallet_address=[wallet_address]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for harvesting rewards from the Farm

/api/v1/all_instructions_harvest?wallet_address=[wallet_address]&farm_name=[farm_name]

Returns a new complete set of Instructions for requesting a new deposit to the Fund

/api/v1/all_instructions_request_deposit_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for requesting a new withdrawal from the Fund

/api/v1/all_instructions_request_withdrawal_fund?wallet_address=[wallet_address]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for swapping tokens in the Fund

/api/v1/all_instructions_fund_swap?wallet_address=[wallet_address]&fund_name=[fund_name]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Returns a new complete set of Instructions for adding liquidity to the Pool in the Fund

/api/v1/all_instructions_fund_add_liquidity_pool?wallet_address=[wallet_address]&fund_name=[fund_name]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new complete set of Instructions for removing liquidity from the Pool in the Fund

/api/v1/all_instructions_fund_remove_liquidity_pool?wallet_address=[wallet_address]&fund_name=[fund_name]&pool_name=[pool_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for staking tokens to the Farm in the Fund

/api/v1/all_instructions_fund_stake?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for unstaking tokens from the Farm in the Fund

/api/v1/all_instructions_fund_unstake?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for harvesting rewards from the Farm in the Fund

/api/v1/all_instructions_fund_harvest?wallet_address=[wallet_address]&fund_name=[fund_name]&farm_name=[farm_name]

Returns a new complete set of instructions for adding liquidity to the Vault in the Fund

/api/v1/all_instructions_fund_add_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Returns a new complete set of instructions for adding locked liquidity to the Vault in the Fund

/api/v1/all_instructions_fund_add_locked_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for removing liquidity from the Vault in the Fund

/api/v1/all_instructions_fund_remove_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Returns a new complete set of Instructions for removing unlocked liquidity from the Vault in the Fund

/api/v1/all_instructions_fund_remove_unlocked_liquidity_vault?wallet_address=[wallet_address]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Post:

Creates a new system account

/api/v1/create_system_account?wallet_keypair=[wallet_keypair]&new_account_keypair=[new_account_keypair]&lamports=[lamports]&space=[space]&owner=[owner]

Creates a new system account with seed

/api/v1/create_system_account_with_seed?wallet_keypair=[wallet_keypair]&base_address=[base_address]&seed=[seed]&lamports=[lamports]&space=[space]&owner=[owner]

Assigns system account to a program

/api/v1/assign_system_account?wallet_keypair=[wallet_keypair]&program_address=[program_address]

Closes existing system account

/api/v1/close_system_account?wallet_keypair=[wallet_keypair]&target_account_keypair=[target_account_keypair]

Transfers native SOL from the wallet to the destination

/api/v1/transfer?wallet_keypair=[wallet_keypair]&destination_wallet=[destination_wallet]&sol_ui_amount=[sol_ui_amount]

Transfers tokens from the wallet to the destination

/api/v1/token_transfer?wallet_keypair=[wallet_keypair]&token_name=[token_name]&destination_wallet=[destination_wallet]&ui_amount=[ui_amount]

Transfers native SOL from the wallet to the associated Wrapped SOL account

/api/v1/wrap_sol?wallet_keypair=[wallet_keypair]&ui_amount=[ui_amount]

Transfers Wrapped SOL back to SOL by closing the associated Wrapped SOL account

/api/v1/unwrap_sol?wallet_keypair=[wallet_keypair]

Updates token balance of the account, usefull after transfer SOL to WSOL account

/api/v1/sync_token_balance?wallet_keypair=[wallet_keypair]&token_name=[token_name]

Returns the associated token account for the given user's main account or creates one

/api/v1/create_token_account?wallet_keypair=[wallet_keypair]&token_name=[token_name]

Closes existing token account associated with the given user's main account

/api/v1/close_token_account?wallet_keypair=[wallet_keypair]&token_name=[token_name]

Initializes a new User for the Vault

/api/v1/user_init_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]

Adds liquidity to the Vault

/api/v1/add_liquidity_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Adds locked liquidity to the Vault

/api/v1/add_locked_liquidity_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]&ui_amount=[ui_amount]

Removes liquidity from the Vault

/api/v1/remove_liquidity_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]&ui_amount=[ui_amount]

Removes unlocked liquidity from the Vault

/api/v1/remove_unlocked_liquidity_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]&ui_amount=[ui_amount]

Adds liquidity to the Pool

/api/v1/add_liquidity_pool?wallet_keypair=[wallet_keypair]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Removes liquidity from the Pool

/api/v1/remove_liquidity_pool?wallet_keypair=[wallet_keypair]&pool_name=[pool_name]&ui_amount=[ui_amount]

Swaps tokens

/api/v1/swap?wallet_keypair=[wallet_keypair]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Initializes a new User for the Farm

/api/v1/user_init?wallet_keypair=[wallet_keypair]&farm_name=[farm_name]

Stakes tokens to the Farm

/api/v1/stake?wallet_keypair=[wallet_keypair]&farm_name=[farm_name]&ui_amount=[ui_amount]

Unstakes tokens from the Farm

/api/v1/unstake?wallet_keypair=[wallet_keypair]&farm_name=[farm_name]&ui_amount=[ui_amount]

Harvests rewards from the Farm

/api/v1/harvest?wallet_keypair=[wallet_keypair]&farm_name=[farm_name]

Cranks single Vault

/api/v1/crank_vault?wallet_keypair=[wallet_keypair]&vault_name=[vault_name]&step=[step]

Cranks all Vaults

/api/v1/crank_vaults?wallet_keypair=[wallet_keypair]&step=[step]

Clears cache records to force re-pull from blockchain

/api/v1/reset_cache

Initializes a new User for the Fund

/api/v1/user_init_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]

Requests a new deposit to the Fund

/api/v1/request_deposit_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Cancels pending deposit to the Fund

/api/v1/cancel_deposit_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]

Requests a new withdrawal from the Fund

/api/v1/request_withdrawal_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Cancels pending deposit to the Fund

/api/v1/cancel_withdrawal_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]

Starts the Fund liquidation

/api/v1/start_liquidation_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]

Sets a new deposit schedule for the Fund

/api/v1/set_fund_deposit_schedule?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&start_time=[start_time]&end_time=[end_time]&approval_required=[approval_required]&min_amount_usd=[min_amount_usd]&max_amount_usd=[max_amount_usd]&fee=[fee]

Disables deposits to the Fund

/api/v1/disable_deposits_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]

Approves pending deposit to the Fund

/api/v1/approve_deposit_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&user_address=[user_address]&token_name=[token_name]&ui_amount=[ui_amount]

Denies pending deposit to the Fund

/api/v1/deny_deposit_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&user_address=[user_address]&token_name=[token_name]&deny_reason=[deny_reason]

Sets a new withdrawal schedule for the Fund

/api/v1/set_fund_withdrawal_schedule?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&start_time=[start_time]&end_time=[end_time]&approval_required=[approval_required]&min_amount_usd=[min_amount_usd]&max_amount_usd=[max_amount_usd]&fee=[fee]

Disables withdrawals from the Fund

/api/v1/disable_withdrawals_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]

Approves pending withdrawal from the Fund

/api/v1/approve_withdrawal_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&user_address=[user_address]&token_name=[token_name]&ui_amount=[ui_amount]

Denies pending withdrawal from the Fund

/api/v1/deny_withdrawal_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&user_address=[user_address]&token_name=[token_name]&deny_reason=[deny_reason]

Moves deposited assets from Deposit/Withdraw custody to the Fund

/api/v1/lock_assets_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Releases assets from the Fund to Deposit/Withdraw custody

/api/v1/unlock_assets_fund?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&token_name=[token_name]&ui_amount=[ui_amount]

Update Fund assets info based on custody holdings

/api/v1/update_fund_assets_with_custody?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&custody_id=[custody_id]

Update Fund assets info based on all custodies

/api/v1/update_fund_assets_with_custodies?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]

Update Fund assets info based on Vault holdings

/api/v1/update_fund_assets_with_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_id=[vault_id]

Update Fund assets info based on Vault holdings

/api/v1/update_fund_assets_with_vaults?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]

Swaps tokens in the Fund

/api/v1/fund_swap?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&protocol=[protocol]&from_token=[from_token]&to_token=[to_token]&ui_amount_in=[ui_amount_in]&min_ui_amount_out=[min_ui_amount_out]

Adds liquidity to the Pool in the Fund

/api/v1/fund_add_liquidity_pool?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&pool_name=[pool_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Removes liquidity from the Pool in the Fund

/api/v1/fund_remove_liquidity_pool?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&pool_name=[pool_name]&ui_amount=[ui_amount]

Initializes a new User for the Farm in the Fund

/api/v1/fund_user_init_farm?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&farm_name=[farm_name]

Stakes tokens to the Farm in the Fund

/api/v1/fund_stake?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Unstakes tokens from the Farm in the Fund

/api/v1/fund_unstake?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&farm_name=[farm_name]&ui_amount=[ui_amount]

Harvests rewards from the Farm in the Fund

/api/v1/fund_harvest?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&farm_name=[farm_name]

Initializes a new User for the Vault in the Fund

/api/v1/fund_user_init_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_name=[vault_name]

Adds liquidity to the Vault in the Fund

/api/v1/fund_add_liquidity_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_name=[vault_name]&max_token_a_ui_amount=[max_token_a_ui_amount]&max_token_b_ui_amount=[max_token_b_ui_amount]

Adds locked liquidity to the Vault in the Fund

/api/v1/fund_add_locked_liquidity_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Removes liquidity from the Vault in the Fund

/api/v1/fund_remove_liquidity_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]

Removes unlocked liquidity from the Vault in the Fund

/api/v1/fund_remove_unlocked_liquidity_vault?wallet_keypair=[wallet_keypair]&fund_name=[fund_name]&vault_name=[vault_name]&ui_amount=[ui_amount]