Class AccountGeneralized

Generalized account class

Hierarchy

Constructors

Properties

address: `ak_${string}`

Account address

Methods

  • Sign encoded transaction

    Parameters

    • tx: `tx_${string}`

      Transaction to sign

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

      Options

      • Optional aeppOrigin?: string
      • Optional aeppRpcClientId?: string
      • Optional authData?: AuthData | ((tx) => Promise<AuthData>)
      • Optional innerTx?: boolean
      • Optional networkId?: string
      • Optional onCompiler?: CompilerBase
      • Optional onNode?: Node

    Returns Promise<`tx_${string}`>

    Signed transaction

Generated using TypeDoc