Get Farm Address and Full Details
In order to participate in the farm and make a deposit, withdrawal, or any other functions, first we need to get the farm address by calling the TokensFarm API
Get a List of Specific Farms with their Full Details
A farm's address will be included in the full farm details. In order to participate in a farm, you must first get the "full details" object, which will contain the farm's address. The address will allow you to interact with the contract.
In the response, you will find the farm address under the field "TokensFarm"
Filter by the token symbol to get full details for all corresponding farms
GET
https://api.tokensfarm.com/farm/list?token=<token_symbol>&full=true
will response object with full details on the farm. "TokensFarm" parameter on response will contain the address of the farm
Path Parameters
response example: https://api.tokensfarm.com/farm/list?token=DCD&full=true
Get a Particular Farm's Object with Full Details
Get a specific farm's object with full details
GET
https://api.tokensfarm.com/farm/config?symbol=HORD&type=LP&nonce=2
must be filtered by symbol, type and nonce
Path Parameters
response example: https://api.tokensfarm.com/farm/config?symbol=HORD&type=LP&nonce=2
Last updated