diff --git a/src/contract/ContractProvider.ts b/src/contract/ContractProvider.ts index cebf3dd..01698fc 100644 --- a/src/contract/ContractProvider.ts +++ b/src/contract/ContractProvider.ts @@ -26,7 +26,7 @@ export type ContractGetMethodResult = { export interface ContractProvider { getState(): Promise; - get(name: string, args: TupleItem[]): Promise; + get(name: string | number, args: TupleItem[]): Promise; external(message: Cell): Promise; internal(via: Sender, args: { value: bigint | string, bounce?: Maybe, sendMode?: SendMode, body?: Maybe }): Promise; open(contract: T): OpenedContract;