Account connected to Aeternity Snap for MetaMask https://www.npmjs.com/package/@aeternity-snap/plugin

Hierarchy (view full)

Constructors

Properties

address: `ak_${string}`

Account address

index: number
provider: BaseProvider

Methods

  • Sign encoded transaction

    Parameters

    • tx: `tx_${string}`

      Transaction to sign

    • options: {
          innerTx?: boolean;
          networkId?: string;
      } = {}

      Options

      • OptionalinnerTx?: boolean

        Sign as inner transaction for PayingFor

      • OptionalnetworkId?: string

    Returns Promise<`tx_${string}`>

    Signed transaction