CLI Farming
Commande-Line Interface Usage for RHEA Farming
export FARMING=ref-farming.testnet
export EX=ref-finance.testnet
export TOKEN=token.ref-finance.testnetView general information
near view $FARMING get_metadataView all farms with pagination
near view $FARMING list_farms '{"from_index": 0, "limit": 100}'View all seeds with pagination
View all rewards with pagination
View single seed information
View all farms per seed
View single farm information
View rewards per user
View unclaimed rewards per user
View seeds per user
Stake/Unstake seed
Claim rewards
Withdraw reward token
Create farm
Last updated
Was this helpful?