Paper Wallet

Deprecated

We have deprecated PaperWallet in favor of our EmbeddedWallet which adds support for more sign in methods.

Hierarchy

Constructors

Properties

#connectParams: undefined | ConnectParams<PaperWalletConnectionArgs>
chain: Pick<Chain, "chainId" | "rpc">
chains: Chain[]
connector?: Connector<{}>

Type declaration

    dappMetadata: DAppMetaData
    onAuthSuccess: undefined | ((authResult) => void)

    Type declaration

      • (authResult): void
      • Parameters

        • authResult: AuthAndWalletRpcReturnType

        Returns void

    paperClientId: string
    type: "evm" = "evm"
    walletId: string
    walletStorage: AsyncStorage
    id: string = ...
    meta: {
        iconURL: string;
        name: string;
    } = ...

    Type declaration

    • iconURL: string
    • name: string

    Accessors

    Methods

    • Parameters

      • currencyAddress: string = NATIVE_TOKEN_ADDRESS

      Returns Promise<{
          decimals: number;
          displayValue: string;
          name: string;
          symbol: string;
          value: BigNumber;
      }>

      the native token balance of the connected wallet

    Generated using TypeDoc