pcko1/bscscan-python

View on GitHub
bscscan/configs/stable.json

Summary

Maintainability
Test Coverage
{
  "get_logs": {
    "module": "logs",
    "kwargs": {
      "from_block": 4993830,
      "to_block": 4993832,
      "address": "0xe561479bebee0e606c19bb1973fc4761613e3c42",
      "topic_0": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
      "topic_0_1_opr": "and",
      "topic_1": "0x000000000000000000000000730e2065b9daee84c3003c05bf6d2b3a08e55667"
    }
  },
  "get_proxy_block_number": {
    "module": "proxy",
    "kwargs": {}
  },
  "get_proxy_block_by_number": {
    "module": "proxy",
    "kwargs": {
      "tag": "0x3d0900"
    }
  },
  "get_proxy_block_transaction_count_by_number": {
    "module": "proxy",
    "kwargs": {
      "tag": "0x3d0900"
    }
  },
  "get_proxy_transaction_by_hash": {
    "module": "proxy",
    "kwargs": {
      "txhash": "0xa0f2e87dfb75e3ebb8b23eff7b490442ff74cf8921eb61217dfc48918fe4020f"
    }
  },
  "get_proxy_transaction_by_block_number_and_index": {
    "module": "proxy",
    "kwargs": {
      "tag": "0x3d0900",
      "index": "0x0"
    }
  },
  "get_proxy_transaction_count": {
    "module": "proxy",
    "kwargs": {
      "address": "0x4430b3230294D12c6AB2aAC5C2cd68E80B16b581"
    }
  },
  "get_proxy_transaction_receipt": {
    "module": "proxy",
    "kwargs": {
      "txhash": "0xa0f2e87dfb75e3ebb8b23eff7b490442ff74cf8921eb61217dfc48918fe4020f"
    }
  },
  "get_proxy_call": {
    "module": "proxy",
    "kwargs": {
      "to": "0xAEEF46DB4855E25702F8237E8f403FddcaF931C0",
      "data": "0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724"
    }
  },
  "get_proxy_code_at": {
    "module": "proxy",
    "kwargs": {
      "address": "0x0000000000000000000000000000000000001000"
    }
  },
  "get_proxy_storage_position_at": {
    "module": "proxy",
    "kwargs": {
      "position": "0x0",
      "address": "0x0000000000000000000000000000000000001004"
    }
  },
  "get_proxy_gas_price": {
    "module": "proxy",
    "kwargs": {}
  },
  "get_proxy_est_gas": {
    "module": "proxy",
    "kwargs": {
      "data": "0x4e71d92d",
      "from_addr": "0xbe0eb53f46cd790cd13851d5eff43d12404d33e8",
      "to_addr": "0xf0160428a8552ac9bb7e050d90eeade4ddd52843",
      "value": "0xff22",
      "gas_price": "0x51da038cc",
      "gas": "0x5f5e0ff"
    }
  },
  "get_block_reward_by_block_number": {
    "module": "blocks",
    "kwargs": {
      "block_no": "2150000"
    }
  },
  "get_est_block_countdown_time_by_block_number": {
    "module": "blocks",
    "kwargs": {
      "block_no": "15000000"
    }
  },
  "get_block_number_by_timestamp": {
    "module": "blocks",
    "kwargs": {
      "timestamp": "1601510400",
      "closest": "before"
    }
  },
  "get_tx_receipt_status": {
    "module": "transactions",
    "kwargs": {
      "txhash": "0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00"
    }
  },
  "get_total_bnb_supply": {
    "module": "stats",
    "kwargs": {}
  },
  "get_validators_list": {
    "module": "stats",
    "kwargs": {}
  },
  "get_bnb_last_price": {
    "module": "stats",
    "kwargs": {}
  },
  "get_total_supply_by_contract_address": {
    "module": "tokens",
    "kwargs": {
      "contract_address": "0xe9e7cea3dedca5984780bafc599bd69add087d56"
    }
  },
  "get_circulating_supply_by_contract_address": {
    "module": "tokens",
    "kwargs": {
      "contract_address": "0xe9e7cea3dedca5984780bafc599bd69add087d56"
    }
  },
  "get_acc_balance_by_token_contract_address": {
    "module": "tokens",
    "kwargs": {
      "contract_address": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
      "address": "0x89e73303049ee32919903c09e8de5629b84f59eb"
    }
  },
  "get_contract_abi": {
    "module": "contracts",
    "kwargs": {
      "contract_address": "0x0000000000000000000000000000000000001004"
    }
  },
  "get_contract_source_code": {
    "module": "contracts",
    "kwargs": {
      "contract_address": "0x0000000000000000000000000000000000001004"
    }
  },
  "get_bnb_balance": {
    "module": "accounts",
    "kwargs": {
      "address": "0x0000000000000000000000000000000000001004"
    }
  },
  "get_bnb_balance_multiple": {
    "module": "accounts",
    "kwargs": {
      "addresses": [
        "0x0000000000000000000000000000000000001004",
        "0x63a9975ba31b0b9626b34300f7f627147df1f526",
        "0x198ef1ec325a96cc354c7266a038be8b5c558f67"
      ]
    }
  },
  "get_normal_txs_by_address": {
    "module": "accounts",
    "kwargs": {
      "address": "0x35e7a025f4da968de7e4d7e4004197917f4070f1",
      "startblock": 0,
      "endblock": 99999999,
      "sort": "asc"
    }
  },
  "get_normal_txs_by_address_paginated": {
    "module": "accounts",
    "kwargs": {
      "address": "0x35e7a025f4da968de7e4d7e4004197917f4070f1",
      "startblock": 0,
      "endblock": 99999999,
      "page": 1,
      "offset": 10,
      "sort": "asc"
    }
  },
  "get_internal_txs_by_address": {
    "module": "accounts",
    "kwargs": {
      "address": "0x0000000000000000000000000000000000001004",
      "startblock": 0,
      "endblock": 2702578,
      "sort": "asc"
    }
  },
  "get_internal_txs_by_address_paginated": {
    "module": "accounts",
    "kwargs": {
      "address": "0x0000000000000000000000000000000000001004",
      "startblock": 0,
      "endblock": 2702578,
      "page": 1,
      "offset": 10,
      "sort": "asc"
    }
  },
  "get_internal_txs_by_txhash": {
    "module": "accounts",
    "kwargs": {
      "txhash": "0x6dbc8f3e1ba98c63463b19ebef957ccd842db274ed499a54f2cdde8499604d54"
    }
  },
  "get_internal_txs_by_block_range_paginated": {
    "module": "accounts",
    "kwargs": {
      "startblock": 0,
      "endblock": 2702578,
      "page": 1,
      "offset": 10,
      "sort": "asc"
    }
  },
  "get_bep20_token_transfer_events_by_address": {
    "module": "accounts",
    "kwargs": {
      "address": "0x63aea877b5d5fa234a1532f1b26a4f6d9051866e",
      "startblock": 0,
      "endblock": 999999999,
      "sort": "asc"
    }
  },
  "get_bep20_token_transfer_events_by_contract_address_paginated": {
    "module": "accounts",
    "kwargs": {
      "contract_address": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
      "page": 1,
      "offset": 100,
      "sort": "asc"
    }
  },
  "get_bep20_token_transfer_events_by_address_and_contract_paginated": {
    "module": "accounts",
    "kwargs": {
      "contract_address": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
      "address": "0x63aea877b5d5fa234a1532f1b26a4f6d9051866e",
      "page": 1,
      "offset": 100,
      "sort": "asc"
    }
  },
  "get_bep721_token_transfer_events_by_address": {
    "module": "accounts",
    "kwargs": {
      "address": "0xcd4ee0a77e09afa8d5a6518f7cf8539bef684e6c",
      "startblock": 0,
      "endblock": 999999999,
      "sort": "asc"
    }
  },
  "get_bep721_token_transfer_events_by_contract_address_paginated": {
    "module": "accounts",
    "kwargs": {
      "contract_address": "0x5e74094cd416f55179dbd0e45b1a8ed030e396a1",
      "page": 1,
      "offset": 100,
      "sort": "asc"
    }
  },
  "get_bep721_token_transfer_events_by_address_and_contract_paginated": {
    "module": "accounts",
    "kwargs": {
      "contract_address": "0x5e74094cd416f55179dbd0e45b1a8ed030e396a1",
      "address": "0xcd4ee0a77e09afa8d5a6518f7cf8539bef684e6c",
      "page": 1,
      "offset": 100,
      "sort": "asc"
    }
  },
  "get_validated_blocks_by_address": {
    "module": "accounts",
    "kwargs": {
      "address": "0x4396e28197653d0c244d95f8c1e57da902a72b4e"
    }
  },
  "get_validated_blocks_by_address_paginated": {
    "module": "accounts",
    "kwargs": {
      "address": "0x4396e28197653d0c244d95f8c1e57da902a72b4e",
      "page": 1,
      "offset": 100
    }
  }
}