Skip to content
Snippets Groups Projects
Commit 2d910f42 authored by Jerome DESCHAMPS's avatar Jerome DESCHAMPS
Browse files

Add methods for reporting

parent 1a7e7565
No related branches found
No related tags found
No related merge requests found
......@@ -215,4 +215,15 @@ pub trait OtterscanApi {
) -> RpcResult<Option<H256>>;
#[method(name = "getContractCreator")]
async fn get_contract_creator(&self, addr: Address) -> RpcResult<Option<ContractCreatorData>>;
#[method(name = "getAccountWithBalance")]
async fn get_account_with_balance(
&self,
limit: Option<u64>,
) -> RpcResult<Vec<(Address,U256)>>;
#[method(name = "getCoinNumberCreated")]
async fn get_coin_created_since(
&self,
timestamp: Option<U64>,
) -> RpcResult<U256>;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment