Query merchant's contract bytecode
GET/conf/bytecode
Query the contract bytecode of the merchant on the chain specified by the chain ID.
Request
Query Parameters
chainId int32required
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
Status code
msg stringrequired
Status message on success or error message on failure
description string
Detailed description when error
data string
Contract bytecode
{
"code": 0,
"msg": "string",
"description": "string",
"data": "string"
}
{
"code": 200,
"msg": "success",
"data": "0xf43d82803e903d91602b57fd5bf33d602d80600a3d3981f3363d3d373d3d3d363d737b90388b40273be414c026c5871e37a8bac3442b5a"
}
Unauthorized
Forbidden
Not Found
Loading...