Difference between revisions of "API"

From DeFiChain-Wiki
Line 30: Line 30:
 
* https://api.defichain.io/v1/listpoolpairs<br>
 
* https://api.defichain.io/v1/listpoolpairs<br>
 
* https://api.defichain.io/v1/listtokens<br>
 
* https://api.defichain.io/v1/listtokens<br>
* https://api.defichain.io/v1/getaccount?including_start=true&owner=dDgnpwmZJ2XnDXRVuqrBbbfoL5x953fP3b <nowiki><br></nowiki> (the option including_start=true is needed to show the DFI-tokens)<br>
+
* https://api.defichain.io/v1/getaccount?including_start=true&owner=dDgnpwmZJ2XnDXRVuqrBbbfoL5x953fP3b (the option including_start=true is needed to show the DFI-tokens)<br>
 
* https://api.defichain.io/v1/gettokenrichlist?id=2&network=mainnet<br>
 
* https://api.defichain.io/v1/gettokenrichlist?id=2&network=mainnet<br>
 
* https://api.defichain.io/v1/getpoolpair?id=4&network=mainnet<br>
 
* https://api.defichain.io/v1/getpoolpair?id=4&network=mainnet<br>

Revision as of 20:43, 24 May 2021

General

Blockchain

Addresses

Transactions

Blocks

DEX (Decentraliced Exchange)

General

Important IDs

  • DFI: id=0
  • ETH: id=1
  • BTC: id=2
  • USDT: id=3
  • ETH-DFI: id=4
  • BTC-DFI: id=5
  • USDT-DFI: id=6
  • DOGE: id=7
  • DOGE-DFI: id=8
  • LTC: id=9
  • LTC-DFI: id=10
  • BCH: id=11
  • BCH-DFI: id = 12