Interface CreateGeneralizedAccountOptions

interface CreateGeneralizedAccountOptions {
    _canIncreaseFee?: boolean;
    _expectedMineRate?: number;
    _isInternalBuild?: boolean;
    _microBlockCycle?: number;
    absoluteTtl?: boolean;
    aci?: Aci;
    aeppOrigin?: string;
    aeppRpcClientId?: string;
    authData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>);
    blocks?: number;
    bytecode?: `cb_${string}`;
    confirm?: number | boolean;
    consensusProtocolVersion?: Ceres;
    ctVersion: undefined | CtVersion;
    denomination?: AE_AMOUNT_FORMATS;
    fee: undefined | Int;
    fileSystem?: Record<string, string>;
    gasLimit?: number;
    gasMax?: number;
    gasPrice: undefined | Int;
    innerTx?: boolean;
    interval?: number;
    networkId?: string;
    nonce?: number;
    onAccount: AccountBase;
    onCompiler: CompilerBase;
    onNode: Node;
    sourceCode?: string;
    sourceCodePath?: string;
    strategy?: NextNonceStrategy;
    ttl: undefined | number;
    verify?: boolean;
    version?: 1;
    waitMined?: boolean;
}

Hierarchy (view full)

  • BuildTxOptions<GaAttachTx,
        | "authFun"
        | "callData"
        | "code"
        | "ownerId"
        | "gasLimit"
        | "onNode">
  • SendTransactionOptions
  • Pick<Parameters<typeof initialize>[0],
        | "bytecode"
        | "aci"
        | "sourceCodePath"
        | "sourceCode"
        | "fileSystem">
    • CreateGeneralizedAccountOptions

Properties

_canIncreaseFee?: boolean
_expectedMineRate?: number
_isInternalBuild?: boolean
_microBlockCycle?: number
absoluteTtl?: boolean
aci?: Aci
aeppOrigin?: string
aeppRpcClientId?: string
authData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>)
blocks?: number
bytecode?: `cb_${string}`
confirm?: number | boolean

Number of micro blocks that should be mined after tx get included

consensusProtocolVersion?: Ceres
ctVersion: undefined | CtVersion
denomination?: AE_AMOUNT_FORMATS
fee: undefined | Int
fileSystem?: Record<string, string>
gasLimit?: number
gasMax?: number
gasPrice: undefined | Int
innerTx?: boolean
interval?: number
networkId?: string
nonce?: number = ...
onAccount: AccountBase

Account to use

onCompiler: CompilerBase
onNode: Node

Node to use

sourceCode?: string
sourceCodePath?: string
ttl: undefined | number
verify?: boolean

Verify transaction before broadcast, throw error if not

version
waitMined?: boolean

Ensure that transaction get into block