• Convert a Result<T, E> returned from Rust side to Ok or throw

    Parameters

    • response: {
          Err: any;
          Ok: any;
      }
      • Err: any
      • Ok: any
    • action: "instantiate" | "execute" | "query" | "query_chain"
    • Optional address: string

    Returns any

Generated using TypeDoc