> For the complete documentation index, see [llms.txt](https://xchainjs.gitbook.io/xchainjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xchainjs.gitbook.io/xchainjs/providers/xchain-evm-providers/how-it-works.md).

# How it Works

This section for the XChain EVM Providers library provides developers with a detailed understanding of the operational workflow, implementation, and underlying mechanisms of the library. It outlines the steps involved in utilizing the library's features and functionalities to interact effectively with various Ethereum Virtual Machine (EVM) compatible blockchain networks.

### Design <a href="#design" id="design"></a>

```
import { Address, Asset } from '@xchainjs/xchain-util'

import { ExplorerProvider } from './explorer-provider'
import { Balance, Network, Tx, TxHash, TxHistoryParams, TxsPage } from './types'

export interface OnlineDataProvider {
  getBalance(address: Address, assets?: Asset[]): Promise<Balance[]>
  getTransactions(params: TxHistoryParams): Promise<TxsPage>
  getTransactionData(txId: string, assetAddress?: Address): Promise<Tx>
}
```

### Supported Providers <a href="#implementations" id="implementations"></a>

#### Etherscan

| Provider  | Website                 | Status   | FreeTier | Chains Supported |
| --------- | ----------------------- | -------- | -------- | ---------------- |
| Etherscan | <https://snowtrace.io/> | Complete | Yes      | ETH              |

#### BSC Scan

| Provider | Website                | Status   | FreeTier | Chains Supported |
| -------- | ---------------------- | -------- | -------- | ---------------- |
| Bscscan  | <https://bscscan.com/> | Complete | Yes      | BSC              |

#### Snowtrace

| Provider  | Website                | Status   | FreeTier | Chains Supported |
| --------- | ---------------------- | -------- | -------- | ---------------- |
| Snowtrace | <https://etherscan.io> | Complete | Yes      | ETH              |

#### Covalent

| Provider | Website                       | Status   | FreeTier | Chains Supported |
| -------- | ----------------------------- | -------- | -------- | ---------------- |
| Covalent | <https://www.covalenthq.com/> | Complete | Yes      | ETH, BSC, ETH    |
