Generalized account class

Hierarchy (view full)

Constructors

Properties

address: `ak_${string}`

Account address

Methods

  • Sign encoded transaction

    Parameters

    • tx: `tx_${string}`

      Transaction to sign

    • options: {
          aeppOrigin?: string;
          aeppRpcClientId?: string;
          authData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>);
          innerTx?: boolean;
          networkId?: string;
          onCompiler?: CompilerBase;
          onNode?: Node;
      }

      Options

      • OptionalaeppOrigin?: string
      • OptionalaeppRpcClientId?: string
      • OptionalauthData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>)

        Object with gaMeta params

      • OptionalinnerTx?: boolean

        Sign as inner transaction for PayingFor

      • OptionalnetworkId?: string
      • OptionalonCompiler?: CompilerBase
      • OptionalonNode?: Node

    Returns Promise<`tx_${string}`>

    Signed transaction