Just a way for me to learn more about eth chain data and also maybe try to index it (?)
- look up block info
- look up transaction
- look up transaction receipt
- look up block
- deduce a contract is an ERC721
- deduce a contract is an ERC1155
- create a starlette API
- Create web service endpoint to:
- Fetch an NFT contract info /assets/<contract_addr>
- Fetch metadata of an tokenID /assets/<contract_addr>/<token_id>
- Index the chain from genesis for all NFT contract
field | dataType |
---|---|
baseFeePerGas | int |
difficulty | int |
extraData | HexBytes |
gasLimit | int |
gasUsed | int |
hash | HexBytes |
logsBlook | HexBytes |
miner | str |
mixHash | HexBytes |
nonce | HexBytes |
number | int |
parentHash | HexBytes |
receiptsRoot | HexBytes |
size | int |
stateRoot | HexBytes |
timestamp | int |
field | type |
---|---|
name | str |
type | str |
addr | str |
symbol | str |
totalSupply | int |
tokenURI | str |