DeFunds API

Page for developers

API test guideline (Optimism Goerli Testnet)

  1. Add Optimism Goerli Testnetarrow-up-right network to your wallet

  2. Get Optimism Goerli ETH

  3. Copy Fund ID from the fund URL. Example: https://dev.defunds.co/#/market/0xe8307970e65f4d2ab98c662ce22239cfarrow-up-right Where 0xe8307970e65f4d2ab98c662ce22239cf is Fund ID

  4. Check code examples. Use the Fund ID from step 6 and the private key you created the fund from.

  5. Swap tokens, enjoy

REST API

Last updated