Read
Read Contract
Read from smart contracts with intelligent execution strategy:
- Single calls: Always executed directly for efficiency
- Multiple calls: Uses multicall by default, or direct calls if disabled
- Failed preparations: Returns preparation errors directly
If multicall is not specified, it will be used by default. In case of multicall related errors, engine will fallback to direct calls. Only in the case where multicall is explicitly enabled, engine will not fallback to direct calls.
post/v1/read/contract
Request
- Base URL: https://engine.thirdweb.com (the document declares no server; this is the origin it was published from)
- URL: https://engine.thirdweb.com/v1/read/contract
- Auth: API key in header x-secret-key
Request body
Example request
{
"readOptions": {
"multicall": true
}
}Response
Successfully read contract data
Changes
No recorded changes to this operation across all 1 revision of this API.