YieldGetNetworks returns available Yield networks.
Earn
YieldGetNetworks
POST
YieldGetNetworks returns available Yield networks.
Overview
TheYieldGetNetworks endpoint returns the networks (chains) that yield providers can be queried on. Use it to populate chain pickers in earn UIs or to validate that a target chain is supported before calling YieldGetMarkets.
Request
YieldGetNetworks takes no parameters.
Response
- networks (array of
YieldNetwork):- id (string)
- name (string)
- category (string)
- logoURI (string)
Example
Next Steps
YieldGetMarkets
List markets on a network
YieldGetProviders
List yield providers
Body
application/json
The body is of type object.
Response
OK
[]YieldNetwork