GET
/
chain
/
{chain-id}
/
contract
/
{contract-address}
curl --request GET \
  --url https://evm.preview-api.modular.cloud/v1/chain/{chain-id}/contract/{contract-address}
{
  "result": {
    "contract": {
      "type": "ERC20",
      "address": "<string>",
      "creationTransactionHash": "<string>"
    }
  },
  "error": {
    "message": "<string>"
  }
}

Path Parameters

chain-id
string
required
contract-address
string
required

Response

200 - application/json
result
object
error
object