interface SpendOptions {
    _canIncreaseFee?: boolean;
    _expectedMineRate?: number;
    _isInternalBuild?: boolean;
    _microBlockCycle?: number;
    absoluteTtl?: boolean;
    aeppOrigin?: string;
    aeppRpcClientId?: string;
    authData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>);
    blocks?: number;
    confirm?: number | boolean;
    denomination?: AE_AMOUNT_FORMATS;
    fee: undefined | Int;
    innerTx?: boolean;
    interval?: number;
    networkId?: string;
    nonce?: number;
    onAccount: AccountBase;
    onCompiler?: CompilerBase;
    onNode: Node;
    payload?: `ba_${string}`;
    resolveByNode?: boolean;
    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
aeppOrigin?: string
aeppRpcClientId?: string
authData?: AuthData | ((tx: `tx_${string}`) => Promise<AuthData>)
blocks?: number
confirm?: number | boolean

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

denomination?: AE_AMOUNT_FORMATS
fee: undefined | Int
innerTx?: boolean
interval?: number
networkId?: string
nonce?: number = ...
onAccount: AccountBase

Account to use

onCompiler?: CompilerBase
onNode: Node

Node to use

payload?: `ba_${string}` = ...
resolveByNode?: boolean
ttl: undefined | number
verify?: boolean

Verify transaction before broadcast, throw error if not

version
waitMined?: boolean

Ensure that transaction get into block