ClientFacet: {
    getChainBundle(): ERef<Record<string, any>>;
    getConfiguration(): AsyncIterable<{
        clientAddress: string;
        clientHome: Record<string, any>;
    }, any, any>;
}

Type declaration

  • getChainBundle:function
    • Required for ag-solo, but deprecated in favour of getConfiguration NOTE: we use any rather than unknown because each client that wants to call a method such as E(userBundle.bank).deposit(payment) has to cast userBundle.bank; ideally, the cast is to some useful type. But unknown can't be cast directly to some other type; it has to be cast to any first.

      Returns ERef<Record<string, any>>

  • getConfiguration:function
    • Returns AsyncIterable<{
          clientAddress: string;
          clientHome: Record<string, any>;
      }, any, any>