POSTeth_getCode
Tron Mainnet
https://tron-mainnet.nodit.io/Returns the runtime bytecode deployed at a contract address.
Querying a regular account returns 0x.
Request Body
It contains following parameters in order:
address: The contract address to look up. (required)block: The block to query against. (required, currently onlylatestis supported)
A TRON account address. It is not a Base58 address but the 20-byte form obtained by removing
the 41 prefix from the TRON hexadecimal address. (e.g.) TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t →
41a614f803b6fd780986a42c78ec9c7f77e6ded13c → 0xa614f803b6fd780986a42c78ec9c7f77e6ded13c
A TRON account address. It is not a Base58 address but the 20-byte form obtained by removing
the 41 prefix from the TRON hexadecimal address. (e.g.) TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t →
41a614f803b6fd780986a42c78ec9c7f77e6ded13c → 0xa614f803b6fd780986a42c78ec9c7f77e6ded13c
Responses
응답 본문이 없습니다.