Canton dAppBooster
    Preparing search index...
    • Escape hatch for ledger reads useExecute and useSignMessage do not cover: the participant's JSON API, passed through untyped.

      Returns UseLedgerResult

      with no CantonConnectProvider above it, and from ledgerApi itself where nothing is connected, which isReady is there to check first.

      const { ledgerApi } = useLedger()
      await ledgerApi({
      requestMethod: 'get',
      resource: '/v2/users/{user-id}/rights',
      path: { 'user-id': 'alice' },
      })