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

      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/state/ledger-end' })