Home Reference Source
public class | source

InterfaceBlockchainTransactionsWizard

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

wallet: *

Method Summary

Public Methods
public
public

calculateFeeWizzard(serialization: *, webdPerByte: *): *

public

async createTransactionSimple(address: *, toAddress: *, toAmount: *, fee: *, currencyTokenId: *, password: *, timeLock: *): *

public

async deserializeValidateTransaction(transaction: *): *

public

async propagateTransaction(signature: *, transaction: *): {"result": boolean, "message": string, "signature": *, "transaction": *}

public

async validateTransaction(address: *, toAddress: *, toAmount: *, fee: *, currencyTokenId: *, password: *, timeLock: *, nonce: *, skipValidationNonce: boolean): {"result": boolean, "transaction": *, "signature": *}

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public transactions: * source

public wallet: * source

Public Methods

public calculateFeeSimple(): * source

Return:

*

public calculateFeeWizzard(serialization: *, webdPerByte: *): * source

Params:

NameTypeAttributeDescription
serialization *
webdPerByte *

Return:

*

public async createTransactionSimple(address: *, toAddress: *, toAmount: *, fee: *, currencyTokenId: *, password: *, timeLock: *): * source

Params:

NameTypeAttributeDescription
address *
toAddress *
toAmount *
fee *
currencyTokenId *
password *
  • optional
  • default: undefined
timeLock *

Return:

*

public async deserializeValidateTransaction(transaction: *): * source

Params:

NameTypeAttributeDescription
transaction *

Return:

*

public async propagateTransaction(signature: *, transaction: *): {"result": boolean, "message": string, "signature": *, "transaction": *} source

Params:

NameTypeAttributeDescription
signature *
transaction *

Return:

{"result": boolean, "message": string, "signature": *, "transaction": *}

public async validateTransaction(address: *, toAddress: *, toAmount: *, fee: *, currencyTokenId: *, password: *, timeLock: *, nonce: *, skipValidationNonce: boolean): {"result": boolean, "transaction": *, "signature": *} source

Params:

NameTypeAttributeDescription
address *
toAddress *
toAmount *
fee *
currencyTokenId *
password *
  • optional
  • default: undefined
timeLock *
nonce *
skipValidationNonce boolean
  • optional
  • default: false

Return:

{"result": boolean, "transaction": *, "signature": *}