provider_get_code
Retrieve the smart contract code stored at a specific Ethereum or EVM-compatible blockchain address. Specify the address and optional block tag for accurate code retrieval.
Instructions
Get the code at an address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The address to get code from | |
blockTag | No | Optional block tag (latest, pending, etc.) |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "The address to get code from",
"type": "string"
},
"blockTag": {
"description": "Optional block tag (latest, pending, etc.)",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}