• Preparing search index...
  • The search index is not available
@oasisprotocol/sapphire-paratime
  • @oasisprotocol/sapphire-paratime
  • fetchRuntimePublicKey

Function fetchRuntimePublicKey

  • fetchRuntimePublicKey(args): Promise<CallDataPublicKey>
  • Picks the most user-trusted runtime calldata public key source based on what connections are available.

    NOTE: MetaMask does not support Web3 methods it doesn't know about, so we have to fall-back to fetch()ing directly via the default chain gateway.

    Parameters

    • args: {
          upstream: EIP2696_EthereumProvider;
      }
      • upstream: EIP2696_EthereumProvider

    Returns Promise<CallDataPublicKey>

    • Defined in clients/js/src/calldatapublickey.ts:92

Settings

Member Visibility

Theme

@oasisprotocol/sapphire-paratime
  • Loading...

Generated using TypeDoc