Get contract by address
GET/ronin/contracts/:address
Get a contract by its address.
Request
Path Parameters
address stringrequired
Contract address. Example: 0xf6c5f9a72e6d46f30c7223a4cff854f94c7e95aa
Query Parameters
with_proxy_to boolean
Includes 'contract proxy to'.
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
address string
createdAtBlock integer
createdAtBlockHash string
createdAtBlockTime integer
createdAtTx string
creator string
name string
proxyTo
object
address string
createdAtBlock integer
createdAtBlockHash string
createdAtBlockTime integer
createdAtTx string
creator string
name string
proxyVersion integer
standard string
symbol string
verifiedName string
verifiedStandard string
verifiedSymbol string
proxyVersion integer
standard string
symbol string
verifiedName string
verifiedStandard string
verifiedSymbol string
{
"result": {
"address": "string",
"createdAtBlock": 0,
"createdAtBlockHash": "string",
"createdAtBlockTime": 0,
"createdAtTx": "string",
"creator": "string",
"name": "string",
"proxyTo": {
"address": "string",
"createdAtBlock": 0,
"createdAtBlockHash": "string",
"createdAtBlockTime": 0,
"createdAtTx": "string",
"creator": "string",
"name": "string",
"proxyVersion": 0,
"standard": "string",
"symbol": "string",
"verifiedName": "string",
"verifiedStandard": "string",
"verifiedSymbol": "string"
},
"proxyVersion": 0,
"standard": "string",
"symbol": "string",
"verifiedName": "string",
"verifiedStandard": "string",
"verifiedSymbol": "string"
}
}
Invalid parameter
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...
Was this helpful?
Happy React is loading...