Blockchain API
Select what you want to achieve:
Get Blocks
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
1 | getBlockByHash | Get block by hash | Method Documentation | https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash |
2 | getBlockByDate | Get block by date | Method Documentation | https://deep-index.moralis.io/api/v2.2/dateToBlock |
Get Transactions
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
3 | getDecodedWalletTransaction | Get decoded transactions by wallet | Method Documentation | https://deep-index.moralis.io/api/v2.2/:address/verbose |
4 | getTransactionByHash | Get transaction by hash | Method Documentation | https://deep-index.moralis.io/api/v2.2/transaction/:transaction_hash |
5 | getDecodedTransactionByHash | Get decoded transaction by hash | Method Documentation | https://deep-index.moralis.io/api/v2.2/transaction/:transaction_hash/verbose |
6 | getInternalTransactions | Get internal transactions by transaction hash | Method Documentation | https://deep-index.moralis.io/api/v2.2/transaction/:transaction_hash/internal-transactions |
7 | getWalletTransactions | Get native transactions by wallet | Method Documentation | https://deep-index.moralis.io/api/v2.2/:address |
Get Logs
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
8 | getContractLogs | Get logs by contract | Method Documentation | https://deep-index.moralis.io/api/v2.2/:address/logs |
9 | getContractEvents | Get events by contract | Method Documentation | https://deep-index.moralis.io/api/v2.2/:address/events |
Get Stats
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
10 | getBlockStats | Get block stats | Method Documentation | https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/stats |
Get Latest Block Number
No. | Method | Description | API Reference | URL |
---|---|---|---|---|
11 | getLatestBlockNumber | Get latest block number. | Method Documentation | https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain |