GetContractInfo

Queries a contract's information from the blockchain. The difference from the wallet/getcontract interface is that this interface returns not only the bytecode but also the runtime bytecode of the contract. Compared with bytecode, runtime bytecode does not contain constructor and constructor parameter information.

This endpoint supports both POST and GET methods.

Body Params
string
Defaults to TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs

Contract address, converted to a hex string.

boolean
Defaults to true

Optional, is address in visible format(base58check) or hex?

Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json