Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/MoralisWeb3/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathbabu-moralis committed Oct 23, 2024
2 parents 463d393 + a992295 commit dd5f584
Show file tree
Hide file tree
Showing 26 changed files with 2,236 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/01-web3-data-api/evm/reference/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Select what you want to achieve:

| No. | Method | Description | API Reference | URL |
| --- | ------------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getWalletHistory` | Get full wallet history | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-history) | |
| 1 | `getWalletHistory` | Get full wallet history | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-history) | [https://deep-index.moralis.io/api/v2.2/wallets/:address/history](https://deep-index.moralis.io/api/v2.2/wallets/:address/history) |
| 2 | `getWalletTransactions` | Get native transactions by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-transactions-by-wallet) | [https://deep-index.moralis.io/api/v2.2/:address](https://deep-index.moralis.io/api/v2.2/:address) |
| 3 | `getWalletTransactionsVerbose` | Get decoded transactions by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-decoded-transactions-by-wallet) | [https://deep-index.moralis.io/api/v2.2/:address/verbose](https://deep-index.moralis.io/api/v2.2/:address/verbose) |
| 4 | `getWalletTokenTransfers` | Get ERC20 transfers by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-token-transfers) | [https://deep-index.moralis.io/api/v2.2/:address/erc20/transfers](https://deep-index.moralis.io/api/v2.2/:address/erc20/transfers) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Select what you want to achieve:

| No. | Method | Description | API Reference | URL |
| --- | ------------------------------ | ---------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getWalletHistory` | Get full wallet history | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-history) | |
| 1 | `getWalletHistory` | Get full wallet history | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-history) | [https://deep-index.moralis.io/api/v2.2/wallets/:address/history](https://deep-index.moralis.io/api/v2.2/wallets/:address/history) |
| 2 | `getWalletTransactions` | Get native transactions by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-transactions-by-wallet) | [https://deep-index.moralis.io/api/v2.2/:address](https://deep-index.moralis.io/api/v2.2/:address) |
| 3 | `getWalletTransactionsVerbose` | Get decoded transactions by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-decoded-transactions-by-wallet) | [https://deep-index.moralis.io/api/v2.2/:address/verbose](https://deep-index.moralis.io/api/v2.2/:address/verbose) |
| 4 | `getWalletTokenTransfers` | Get ERC20 transfers by wallet | [Method Documentation](/web3-data-api/evm/reference/wallet-api/get-wallet-token-transfers) | [https://deep-index.moralis.io/api/v2.2/:address/erc20/transfers](https://deep-index.moralis.io/api/v2.2/:address/erc20/transfers) |
Expand Down
9 changes: 9 additions & 0 deletions docs/01-web3-data-api/evm/supported-chains.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Supported Chains"
sidebar_position: 0
slug: "/web3-data-api/evm/supported-chains"
---

import DocCardList from '@theme/DocCardList';

<DocCardList />
122 changes: 122 additions & 0 deletions docs/01-web3-data-api/evm/supported-chains/01-ethereum-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
---
title: "Ethereum API"
slug: "/web3-data-api/evm/chains/ethereum"
sidebar_label: "Ethereum"
sidebar_position: 0
---

# Ethereum API

## Introduction

Ethereum is the pioneering smart contract platform that enables developers to build decentralized applications (dapps) on a permissionless blockchain. It supports smart contracts, decentralized finance (DeFi), and a broad array of token standards, including ERC-20 and ERC-721. Ethereum’s consensus mechanism transitioned from Proof of Work (PoW) to Proof of Stake (PoS) with the Ethereum 2.0 upgrade, making it more energy-efficient. As the largest smart contract platform by market capitalization and developer activity, Ethereum remains a leader in the blockchain space.

## Supported Networks

The Web3 Data API is available for the following networks on Ethereum:

1. **Ethereum Mainnet**
2. **Ethereum Sepolia Testnet**
3. **Ethereum Holesky Testnet**

## Network Details

| Network | Chain ID | EVM Chain |
| -------------------- | ------------------- | ----------------- |
| **Ethereum Mainnet** | 0x1 (1) | EvmChain.ETHEREUM |
| **Ethereum Sepolia** | 0xaa36a7 (11155111) | EvmChain.SEPOLIA |
| **Ethereum Holesky** | 0x4268 (17000) | EvmChain.HOLESKY |

## Supported APIs

The following APIs are supported for Ethereum:

- [Wallet API](/web3-data-api/evm/reference#wallet-api)
- [NFT API](/web3-data-api/evm/reference#nft-api)
- [Token API](/web3-data-api/evm/reference#token-api)
- [DeFi API](/web3-data-api/evm/reference#defi-api)
- [Entity API](/web3-data-api/evm/reference#entity-api)
- [Price API](/web3-data-api/evm/reference#price-api)
- [Blockchain API](/web3-data-api/evm/reference#blockchain-api)

### Wallet API

The Wallet API enables you to interact with wallet data on the Ethereum blockchain.

- [Get Wallet History on Ethereum](/web3-data-api/evm/reference#get-wallet-history)
- [Get Wallet Token Balances on Ethereum](/web3-data-api/evm/reference#get-wallet-token-balances)
- [Get Wallet Token Approvals on Ethereum](/web3-data-api/evm/reference#get-wallet-token-approvals)
- [Get Wallet NFT Balances on Ethereum](/web3-data-api/evm/reference#get-wallet-nfts)
- [Get Wallet DeFi Positions on Ethereum](/web3-data-api/evm/reference#get-wallet-defi-positions)
- [Get Wallet Net-worth on Ethereum](/web3-data-api/evm/reference#get-wallet-net-worth)
- [Get Wallet PnL on Ethereum](/web3-data-api/evm/reference#get-wallet-pnl)
- [Get Wallet Details on Ethereum](/web3-data-api/evm/reference#get-wallet-details)
- [Get Wallet Domains on Ethereum](/web3-data-api/evm/reference#get-wallet-domains)

### NFT API

The NFT API allows you to interact with NFT-related data on Ethereum. You can:

- [Get NFTs on Ethereum](/web3-data-api/evm/reference#get-nfts)
- [Get NFT Metadata on Ethereum](/web3-data-api/evm/reference#get-nft-metadata)
- [Get NFT Transfers on Ethereum](/web3-data-api/evm/reference#get-nft-transfers)
- [Get NFT Collections on Ethereum](/web3-data-api/evm/reference#get-nft-collections)
- [Get NFT Owners on Ethereum](/web3-data-api/evm/reference#get-nft-owners)
- [Get NFT Prices on Ethereum](/web3-data-api/evm/reference#get-nft-prices)
- [Get NFT Trades on Ethereum](/web3-data-api/evm/reference#get-nft-trades)
- [Get NFT Stats on Ethereum](/web3-data-api/evm/reference#get-nft-stats)
- [Get NFT Traits and Rarity on Ethereum](/web3-data-api/evm/reference#get-nft-traits-and-rarity)

### Token API

The Token API provides methods for interacting with ERC-20 tokens on Ethereum. Choose from the following actions:

- [Get Token Metadata on Ethereum](/web3-data-api/evm/reference#get-token-metadata)
- [Get Token Price on Ethereum](/web3-data-api/evm/reference#get-token-price)
- [Get Token Balances on Ethereum](/web3-data-api/evm/reference#get-token-balances)
- [Get Token Approvals on Ethereum](/web3-data-api/evm/reference#get-token-approvals)
- [Get Token Transfers on Ethereum](/web3-data-api/evm/reference#get-token-transfers)
- [Get Token Top Traders on Ethereum](/web3-data-api/evm/reference#get-token-top-traders)
- [Get Token Pairs & Liquidity on Ethereum](/web3-data-api/evm/reference#get-token-pairs--liquidity)
- [Get Token Stats on Ethereum](/web3-data-api/evm/reference#get-token-stats)
- [Get Token Owners on Ethereum](/web3-data-api/evm/reference#get-token-owners)

### DeFi API

The DeFi API enables interaction with decentralized finance positions and data on Ethereum:

- [Get Wallet DeFi Positions on Ethereum](/web3-data-api/evm/reference#get-wallet-defi-positions)

### Entity API

The Entity API allows you to interact with various entities on Ethereum, such as exchanges or other organizations:

- [Search Entities on Ethereum](/web3-data-api/evm/reference#search-entities)
- [Get Entity Categories on Ethereum](/web3-data-api/evm/reference#get-entity-categories)
- [Get Entities on Ethereum](/web3-data-api/evm/reference#get-entities)

### Price API

Retrieve price data for tokens and NFTs on Ethereum using the Price API:

- [Get Token Prices on Ethereum](/web3-data-api/evm/reference#get-token-prices)
- [Get NFT Prices on Ethereum](/web3-data-api/evm/reference#get-nft-prices)

### Blockchain API

The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:

- [Get Blocks on Ethereum](/web3-data-api/evm/reference#get-blocks)
- [Get Transactions on Ethereum](/web3-data-api/evm/reference#get-transactions)
- [Get Logs on Ethereum](/web3-data-api/evm/reference#get-logs)
- [Get Stats on Ethereum](/web3-data-api/evm/reference#get-stats)
- [Get Latest Block Number on Ethereum](/web3-data-api/evm/reference#get-latest-block-number)

---

## Unlock the Power of Ethereum with Moralis

Curious about how you can leverage the full potential of Ethereum? Check out our [Ethereum page](https://developers.moralis.com/chains/ethereum/) to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Ethereum development for all kinds of dapps.

Discover more about what you can build on Ethereum with Moralis:
[Learn more on our Ethereum page](https://developers.moralis.com/chains/ethereum/)
120 changes: 120 additions & 0 deletions docs/01-web3-data-api/evm/supported-chains/02-polygon-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---
title: "Polygon API"
slug: "/web3-data-api/evm/chains/polygon"
sidebar_label: "Polygon"
sidebar_position: 1
---

# Polygon API

## Introduction

Polygon is a Layer 2 scaling solution for Ethereum, offering faster transactions with lower fees while still benefiting from Ethereum’s security. Polygon aims to improve the user experience and developer experience by enabling decentralized applications (dapps) to scale efficiently. With a robust ecosystem and a growing set of tools, Polygon has become a popular choice for DeFi, NFTs, and gaming applications.

## Supported Networks

The Web3 Data API is available for the following Polygon networks:

1. **Polygon Mainnet**
2. **Polygon Amoy Testnet**

## Network Details

| Network | Chain ID | EVM Chain |
| ------------------- | --------------- | --------------------- |
| **Polygon Mainnet** | 0x89 (137) | EvmChain.POLYGON |
| **Polygon Amoy** | 0x13882 (80002) | EvmChain.POLYGON_AMOY |

## Supported APIs

The following APIs are supported for Polygon:

- [Wallet API](/web3-data-api/evm/reference#wallet-api)
- [NFT API](/web3-data-api/evm/reference#nft-api)
- [Token API](/web3-data-api/evm/reference#token-api)
- [DeFi API](/web3-data-api/evm/reference#defi-api)
- [Entity API](/web3-data-api/evm/reference#entity-api)
- [Price API](/web3-data-api/evm/reference#price-api)
- [Blockchain API](/web3-data-api/evm/reference#blockchain-api)

### Wallet API

The Wallet API enables you to interact with wallet data on the Polygon blockchain.

- [Get Wallet History on Polygon](/web3-data-api/evm/reference#get-wallet-history)
- [Get Wallet Token Balances on Polygon](/web3-data-api/evm/reference#get-wallet-token-balances)
- [Get Wallet Token Approvals on Polygon](/web3-data-api/evm/reference#get-wallet-token-approvals)
- [Get Wallet NFT Balances on Polygon](/web3-data-api/evm/reference#get-wallet-nfts)
- [Get Wallet DeFi Positions on Polygon](/web3-data-api/evm/reference#get-wallet-defi-positions)
- [Get Wallet Net-worth on Polygon](/web3-data-api/evm/reference#get-wallet-net-worth)
- [Get Wallet PnL on Polygon](/web3-data-api/evm/reference#get-wallet-pnl)
- [Get Wallet Details on Polygon](/web3-data-api/evm/reference#get-wallet-details)
- [Get Wallet Domains on Polygon](/web3-data-api/evm/reference#get-wallet-domains)

### NFT API

The NFT API allows you to interact with NFT-related data on Polygon. You can:

- [Get NFTs on Polygon](/web3-data-api/evm/reference#get-nfts)
- [Get NFT Metadata on Polygon](/web3-data-api/evm/reference#get-nft-metadata)
- [Get NFT Transfers on Polygon](/web3-data-api/evm/reference#get-nft-transfers)
- [Get NFT Collections on Polygon](/web3-data-api/evm/reference#get-nft-collections)
- [Get NFT Owners on Polygon](/web3-data-api/evm/reference#get-nft-owners)
- [Get NFT Prices on Polygon](/web3-data-api/evm/reference#get-nft-prices)
- [Get NFT Trades on Polygon](/web3-data-api/evm/reference#get-nft-trades)
- [Get NFT Stats on Polygon](/web3-data-api/evm/reference#get-nft-stats)
- [Get NFT Traits and Rarity on Polygon](/web3-data-api/evm/reference#get-nft-traits-and-rarity)

### Token API

The Token API provides methods for interacting with ERC-20 tokens on Polygon. Choose from the following actions:

- [Get Token Metadata on Polygon](/web3-data-api/evm/reference#get-token-metadata)
- [Get Token Price on Polygon](/web3-data-api/evm/reference#get-token-price)
- [Get Token Balances on Polygon](/web3-data-api/evm/reference#get-token-balances)
- [Get Token Approvals on Polygon](/web3-data-api/evm/reference#get-token-approvals)
- [Get Token Transfers on Polygon](/web3-data-api/evm/reference#get-token-transfers)
- [Get Token Top Traders on Polygon](/web3-data-api/evm/reference#get-token-top-traders)
- [Get Token Pairs & Liquidity on Polygon](/web3-data-api/evm/reference#get-token-pairs--liquidity)
- [Get Token Stats on Polygon](/web3-data-api/evm/reference#get-token-stats)
- [Get Token Owners on Polygon](/web3-data-api/evm/reference#get-token-owners)

### DeFi API

The DeFi API enables interaction with decentralized finance positions and data on Polygon:

- [Get Wallet DeFi Positions on Polygon](/web3-data-api/evm/reference#get-wallet-defi-positions)

### Entity API

The Entity API allows you to interact with various entities on Polygon, such as exchanges or other organizations:

- [Search Entities on Polygon](/web3-data-api/evm/reference#search-entities)
- [Get Entity Categories on Polygon](/web3-data-api/evm/reference#get-entity-categories)
- [Get Entities on Polygon](/web3-data-api/evm/reference#get-entities)

### Price API

Retrieve price data for tokens and NFTs on Polygon using the Price API:

- [Get Token Prices on Polygon](/web3-data-api/evm/reference#get-token-prices)
- [Get NFT Prices on Polygon](/web3-data-api/evm/reference#get-nft-prices)

### Blockchain API

The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:

- [Get Blocks on Polygon](/web3-data-api/evm/reference#get-blocks)
- [Get Transactions on Polygon](/web3-data-api/evm/reference#get-transactions)
- [Get Logs on Polygon](/web3-data-api/evm/reference#get-logs)
- [Get Stats on Polygon](/web3-data-api/evm/reference#get-stats)
- [Get Latest Block Number on Polygon](/web3-data-api/evm/reference#get-latest-block-number)

---

## Unlock the Power of Polygon with Moralis

Curious about how you can leverage the full potential of Polygon? Check out our [Polygon page](https://developers.moralis.com/chains/polygon/) to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Polygon development for all kinds of dapps.

Discover more about what you can build on Polygon with Moralis:
[Learn more on our Polygon page](https://developers.moralis.com/chains/polygon/)
Loading

0 comments on commit dd5f584

Please sign in to comment.