Usage

Initialize DeFiSDK

DeFi SDK directly connects to the Ethereum blockchain. You are welcome to use an Ethereum node of your choice to start using DeFi SDK.

If you don't have a node, in the example below you can use a node provided by Cloudflare and served through our domain.

from defisdk import DeFiSDK

ETHEREUM_NODE_URL = 'https://eth-mainnet.zerion.io/'

defi_sdk = DeFiSDK(ETHEREUM_NODE_URL)

Last updated