Skip to content

Commit

Permalink
fix: get_nonce response type
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Sep 6, 2022
1 parent c6bba65 commit f0c30bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/types/api/rpc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { StarknetChainId } from '../../constants';
import { BlockIdentifier } from '../../provider/utils';
import { BigNumberish } from '../../utils/number';
import { Status } from '../lib';
import { OPENRPC } from './openrpc';

Expand Down Expand Up @@ -143,7 +144,7 @@ export namespace RPC {
starknet_getNonce: {
QUERY: never;
REQUEST: any[];
RESPONSE: any;
RESPONSE: BigNumberish;
};
starknet_getStorageAt: {
QUERY: never;
Expand Down
2 changes: 1 addition & 1 deletion src/types/api/sequencer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export namespace Sequencer {
contractAddress: string;
};
REQUEST: never;
RESPONSE: any;
RESPONSE: BigNumberish;
};
get_storage_at: {
QUERY: {
Expand Down

0 comments on commit f0c30bd

Please sign in to comment.