Interface CreateGeneralizedAccountOptions

interface CreateGeneralizedAccountOptions {
    _canIncreaseFee?: boolean;
    _expectedMineRate?: number;
    _isInternalBuild?: boolean;
    _microBlockCycle?: number;
    absoluteTtl?: boolean;
    aci?: Aci;
    aeppOrigin?: string;
    aeppRpcClientId?: string;
    authData?: AuthData | ((tx) => Promise<AuthData>);
    blocks?: number;
    bytecode?: `cb_${string}`;
    confirm?: number | boolean;
    consensusProtocolVersion?: ConsensusProtocolVersion;
    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)

Properties

_canIncreaseFee?: boolean
_expectedMineRate?: number
_isInternalBuild?: boolean
_microBlockCycle?: number
absoluteTtl?: boolean
aci?: Aci
aeppOrigin?: string
aeppRpcClientId?: string
authData?: AuthData | ((tx) => Promise<AuthData>)

Type declaration

blocks?: number
bytecode?: `cb_${string}`
confirm?: number | boolean

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

consensusProtocolVersion?: ConsensusProtocolVersion
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?: 1
waitMined?: boolean

Ensure that transaction get into block

Generated using TypeDoc