MetaWithInnerInstructions

type MetaWithInnerInstructions = Readonly<{
  innerInstructions?: readonly RpcInnerInstructionsGroup[] | null;
}>;

The minimum shape of getTransaction's meta field that this helper needs. Accepting a structural type keeps callers free to pass the full RPC response without coupling to a specific overload.

Example

const inner = getInnerInstructionsFromMeta(rpcResponse.meta, accountMetas);

On this page