Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Latest commit

 

History

History

moralis-tokens-and-txs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Moraris Token and Transactions


In this notebook, we leverage Moralis API to extract lots of juicy data from tokens, transactions, balances, etc.



Features

tokens

  1. Get all ERC20 tokens owned by an address
  2. Get the price of an ERC20 token
  3. Get the all ERC20 transfers by wallet
  4. Get all ERC20 transactions by contract
  5. Get ERC20 metadata by contract

balances

  1. Get the native balance of an address
  2. Get the native balance of a multi-signature wallet

transactions

  1. Get all transactions of an address
  2. Get transaction by tx hash
  3. Get the verbose transaction of an address

events

  1. Get the logs for a contract

blocks

  1. Get block content by block number

resolve

  1. Reverse Resolve ENS name


Installing

To run this notebook locally, first install dependencies:

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Then add your Moralis API info to an .env file:

cp .env_example .env
vim .env


Start Jupyter server:

jupyter notebook

◼️