diff --git a/src/types/api/rpc.ts b/src/types/api/rpc.ts index 85a063c39..f341f08b4 100644 --- a/src/types/api/rpc.ts +++ b/src/types/api/rpc.ts @@ -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'; @@ -143,7 +144,7 @@ export namespace RPC { starknet_getNonce: { QUERY: never; REQUEST: any[]; - RESPONSE: any; + RESPONSE: BigNumberish; }; starknet_getStorageAt: { QUERY: never; diff --git a/src/types/api/sequencer.ts b/src/types/api/sequencer.ts index addc0990c..d93f16724 100644 --- a/src/types/api/sequencer.ts +++ b/src/types/api/sequencer.ts @@ -269,7 +269,7 @@ export namespace Sequencer { contractAddress: string; }; REQUEST: never; - RESPONSE: any; + RESPONSE: BigNumberish; }; get_storage_at: { QUERY: {