run commond below, the parameter is block number:
curl --request POST 'http://52.147.194.138:9500' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"method": "trace_block",
"params": ["0x766914"],
"id": 1
}'| // SPDX-License-Identifier: MIT | |
| // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) | |
| pragma solidity ^0.8.1; | |
| /** | |
| * @dev Collection of functions related to the address type | |
| */ | |
| library Address { | |
| /** |
run commond below, the parameter is block number:
curl --request POST 'http://52.147.194.138:9500' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"method": "trace_block",
"params": ["0x766914"],
"id": 1
}'run node trace.js to get the inner transactions. The txhash and node url is hardcoded into the script.
curl example:
curl --request POST 'http://40.70.223.9:9500' --header 'Content-Type: application/json' --data-raw '{| pragma solidity ^0.6.2; | |
| contract SubContract { | |
| function _revert(bool cond, string memory error) public pure { | |
| require(cond, error); | |
| } | |
| function destruct() public {} | |
| function deposit() payable public {} |
| // src/app.ts | |
| // import "./dashboard"; | |
| //import "./explorer"; | |
| import express from "express"; | |
| import http from "http"; | |
| import "source-map-support/register"; | |
| const app = express(); | |
| const server = http.createServer(app); |
| #!/bin/bash | |
| # | |
| # This is free and unencumbered software released into the public domain. | |
| # | |
| # Requires bc, dc, openssl, xxd | |
| # | |
| # by grondilu from https://bitcointalk.org/index.php?topic=10970.msg156708#msg156708 | |
| base58=({1..9} {A..H} {J..N} {P..Z} {a..k} {m..z}) | |
| bitcoinregex="^[$(printf "%s" "${base58[@]}")]{34}$" |
| pragma solidity ^0.4.0; | |
| contract Controlled { | |
| address public controller; | |
| modifier onlyController { | |
| require(msg.sender == controller); | |
| _; | |
| } | |
| constructor() public | |
| { |
| pragma solidity ^0.4.0; | |
| contract Controlled { | |
| address public controller; | |
| modifier onlyController { | |
| require(msg.sender == controller); | |
| _; | |
| } | |
| constructor() public | |
| { |
| pragma solidity ^0.4.0; | |
| contract Controlled { | |
| address public controller; | |
| modifier onlyController { | |
| require(msg.sender == controller); | |
| _; | |
| } | |
| constructor() public | |
| { |
| pragma solidity ^0.4.0; | |
| contract Controlled { | |
| address public controller; | |
| modifier onlyController { | |
| require(msg.sender == controller); | |
| _; | |
| } | |
| constructor() public | |
| { |