@solana/web3.js 1.47.3 → 1.47.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -885,11 +885,17 @@ declare module '@solana/web3.js' {
885
885
  /** Optional rent epoch info for account */
886
886
  rentEpoch?: number;
887
887
  };
888
+ export type TransactionReturnDataEncoding = 'base64';
889
+ export type TransactionReturnData = {
890
+ programId: string;
891
+ data: [string, TransactionReturnDataEncoding];
892
+ };
888
893
  export type SimulatedTransactionResponse = {
889
894
  err: TransactionError | string | null;
890
895
  logs: Array<string> | null;
891
896
  accounts?: (SimulatedTransactionAccountInfo | null)[] | null;
892
897
  unitsConsumed?: number;
898
+ returnData?: TransactionReturnData | null;
893
899
  };
894
900
  export type ParsedInnerInstruction = {
895
901
  index: number;