fix: use H160 for address in getTransactionCount (#5472)

This commit is contained in:
Aleš Ferlan
2023-02-04 17:31:53 +02:00
committed by GitHub
parent 5183c28d5e
commit d84f40dd77
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
/**
* Returns the number of transactions sent from given address at given time (block number).
**/
getTransactionCount: AugmentedRpc<(hash: H256 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>;
getTransactionCount: AugmentedRpc<(address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>;
/**
* Returns transaction receipt by transaction hash.
**/