interface RegisterOracleOptions {
    _canIncreaseFee?: boolean;
    _expectedMineRate?: number;
    _isInternalBuild?: boolean;
    _microBlockCycle?: number;
    abiVersion: undefined | AbiVersion;
    absoluteTtl?: boolean;
    aeppOrigin?: string;
    aeppRpcClientId?: string;
    authData?: AuthData | ((tx) => Promise<AuthData>);
    blocks?: number;
    confirm?: number | boolean;
    consensusProtocolVersion?: ConsensusProtocolVersion;
    denomination?: AE_AMOUNT_FORMATS;
    fee: undefined | Int;
    innerTx?: boolean;
    interval?: number;
    networkId?: string;
    nonce?: number;
    onAccount: AccountBase;
    onCompiler?: CompilerBase;
    onNode: Node;
    oracleTtlType?: delta | block;
    oracleTtlValue?: number;
    queryFee?: Int;
    strategy?: NextNonceStrategy;
    ttl: undefined | number;
    verify?: boolean;
    version?: 1;
    waitMined?: boolean;
}

Hierarchy (view full)

Properties

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

Type declaration

blocks?: number
confirm?: number | boolean

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

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

oracleTtlType?: delta | block = ...
oracleTtlValue?: number = ...
queryFee?: Int = coinAmount
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