Chain
Description
The chain object defines chains in a format supported by the Metafi SDK.
Structure
Field Name | Type | Description |
---|---|---|
| String | Name of the chain, eg. "Ethereum mainnet" |
| String | Symbol of the native currency of the chain, eg. "ETH" |
| boolean | Whether or not the chain is a testnet |
| String | Link to the chain block explorer |
| String | Key for the chain in the |
| Number | Chain ID of the chain - only for EVM compatible chains |
| String | RPC node URL of the chain |
Supported Chains
Currently, we support the following chains:
Mainnets
Ethereum Mainnet :
chains.eth
Polygon Matic Mainnet :
chains.matic
Testnets
Görli (Goerli testnet) :
chains.goerli
Mumbai testnet :
chains.mumbai
We are working on supporting more chains - feel free to reach out via Discord if you require support for a different chain.
Usage
Last updated