Contracts

A "smart contract" is simply a program that runs on the Polygon blockchain. It's a collection of code (its functions) and data (its state) that resides at a specific address on the Polygon blockchain. Source: Official Ethereum Docs

Sample Query

Find the latest contracts deployed by block_timestamp.

select *
  from polygon.raw.contracts
order by block_timestamp desc 
limit 100

Table Columns

Column Name
Description
Example

address

Contract address.

0xffd12523317eed786f3215357c40ad56a23360b7

bytecode

The bytecode data of this contract.

0x6d4946c0e9f43f4dee607b0ef1fa1c3318585733ff

block_timestamp

The timestamp of the block that this contract was created in.

2021-05-17 05:30:17

block_number

The number of the block that this contract was created in.

14,592,605

block_hash

The hash of the block that this contract was created in.

0x5b32fccdddfe67519374c2cdaf9f2e5464e5c10ee1e6e51fb63b6f77e6770177

transaction_hash

The transaction hash of the block that this contract was created in.

0x8d5c5554f4bbb6677ab7b220301f1963a0ab318030e12348dc578341d96661ea

deployer

Address of the contract deployer.

0x0000000000004946c0e9f43f4dee607b0ef1fa1c

Last updated