Smart contracts are electronic agreements stored on distributed computers called blockchains. Use the smart contracts API to get details about contracts on the network.
Show contract details
POST/v1
Shows the details of a given smart contract on the network.
A contract_address is the location of a smart contract program on a given blockchain. It is similar to a memory address on a single computer, but in this case it is the address within the context of a distributed system. Each blockchain has a globally unique ID called a network_id.
Network ID
Blockchain Name
Description
1
Ethereum
Layer 1 Ethereum blockchain.
10
Optimism
Layer 2 Ethereum blockchain with faster, cheaper transactions.
137
Polygon Proof-of-Stake
Ethereum side chain with faster, cheaper transactions.
The ID of the contract within the Formless Network.
metadata
dictionary
A dictionary containing the metadata fields to update. This dictionary will be merged into any existing metadata and will overwrite any specified attributes.