Smart Contracts
Smart contracts are electronic agreements stored on distributed computers called blockchains. Use the smart contracts API to get details about contracts on the network.
Last updated
Smart contracts are electronic agreements stored on distributed computers called blockchains. Use the smart contracts API to get details about contracts on the network.
Last updated
POST
/v1
Shows the details of a given smart contract on the network.
Headers
Name | Value |
---|---|
Body
Response
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.
Name | Type | Description |
---|---|---|
Network ID | Blockchain Name | Description |
---|---|---|
Content-Type
application/json
Authorization
Bearer <token>
contract_id
string
The ID of the contract within the Formless Network.
Ethereum
Layer 1 Ethereum blockchain.
Optimism
Layer 2 Ethereum blockchain with faster, cheaper transactions.
Polygon Proof-of-Stake
Ethereum side chain with faster, cheaper transactions.