Hierarchy (view full)

Constructors

Properties

Methods

backupWallet callContract callDaemon createContract createRawTransaction decodeRawTransaction encryptWallet estimateFee estimateSmartFee fromHexAddress getAccountInfo getAddressInfo getAddressesByAccount getAddressesByLabel getBalance getBestBlockHash getBlock getBlockCount getBlockHash getBlockchainInfo getChainTips getDifficulty getHexAddress getInvalid getMiningInfo getNetworkInfo getNewAddress getPoolInfo getRawTransaction getStakeSplitThreshold getStakingStatus getTransaction getTransactionReceipt getTxOut getUnconfirmedBalance getWalletInfo listContracts listUnspent promiseBackupWallet promiseCallContract promiseCreateContract promiseCreateRawTransaction promiseDecodeRawTransaction promiseEncryptWallet promiseEstimateFee promiseEstimateSmartFee promiseFromHexAddress promiseGetAccountInfo promiseGetAddressInfo promiseGetAddressesByAccount promiseGetAddressesByLabel promiseGetBalance promiseGetBestBlockHash promiseGetBlock promiseGetBlockCount promiseGetBlockHash promiseGetBlockchainInfo promiseGetChainTips promiseGetDifficulty promiseGetHexAddress promiseGetInvalid promiseGetMiningInfo promiseGetNetworkInfo promiseGetNewAddress promiseGetPoolInfo promiseGetRawTransaction promiseGetStakeSplitThreshold promiseGetStakingStatus promiseGetTransaction promiseGetTransactionReceipt promiseGetTxOut promiseGetUnconfirmedBalance promiseGetWalletInfo promiseListContracts promiseListUnspent promiseSearchLogs promiseSendMany promiseSendRawTransaction promiseSendToAddress promiseSendToContract promiseSetAccount promiseSetTxFee promiseSignMessage promiseSignRawTransaction promiseStop promiseValidateAddress promiseVerifyMessage promiseWalletLock promiseWalletPassphrase promiseWalletPassphraseChange searchLogs sendMany sendRawTransaction sendToAddress sendToContract setAccount setDefaultAccount setTxFee signMessage signRawTransaction stop validateAddress verifyMessage walletLock walletPassphrase walletPassphraseChange isEmpty isString

Constructors

Properties

authHeader: string = ''
url: string = ''

Methods

  • Parameters

    • contrtactAddress: string
    • data: string
    • senderAddress: string
    • gasLimit: undefined | string
    • fromBlock: undefined | number
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • method: string
    • paramsJsonStr: string
    • callback: ((e: null | Error, resultObj: any) => any)
        • (e, resultObj): any
        • Parameters

          • e: null | Error
          • resultObj: any

          Returns any

    Returns void

  • Parameters

    • bytecode: string
    • gasLimit: undefined | string | number = 2500000
    • gasPrice: undefined | string | number = 0.00005
    • senderAddress: string
    • broadcast: boolean = true
    • changeToSender: boolean = true
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • blockcount: number
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • conf_target: number
    • estimate_mode: undefined | string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • paramOptionalAccount: null | string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • paramOptionalAccount: null | string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • paramOptionalAccount: null | string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • hash: string
    • verbose: 0 | 1 | 2
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • metrixAddress: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • paramOptionalAccount: null | string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • txid: string
    • format: null | boolean
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • txid: string
    • vout: number
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • start: undefined | string | number = 1
    • maxDisplay: undefined | string | number = 20
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • minConf: number
    • maxConf: number
    • addressesArray: string[]
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • contrtactAddress: string
    • data: string
    • senderAddress: string
    • OptionalgasLimit: string
    • OptionalfromBlock: number

    Returns Promise<any>

  • Parameters

    • bytecode: string
    • gasLimit: undefined | string | number
    • gasPrice: undefined | string | number
    • senderAddress: string
    • Optionalbroadcast: boolean
    • OptionalchangeToSender: boolean

    Returns Promise<any>

  • Parameters

    • fromBlock: number
    • toBlock: undefined | number = -1
    • addresses: undefined | string[]
    • topics: undefined | (null | string)[] = []
    • minconf: undefined | number = 0

    Returns Promise<any>

  • Parameters

    • addressesAmmountsObj: any
    • confirmations: number
    • comment: string
    • feeAddressesArray: null | string | string[]

    Returns Promise<any>

  • Parameters

    • contractAddress: string
    • datahex: string
    • amount: string | number
    • gasLimit: string | number
    • gasPrice: string | number
    • senderAddress: string
    • Optionalbroadcast: boolean
    • OptionalchangeToSender: boolean

    Returns Promise<any>

  • Parameters

    • fromBlock: number
    • toBlock: number
    • addresses: undefined | string[] = []
    • topics: undefined | (null | string)[] = []
    • minconf: undefined | number = 0
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • addressesAmmountsObj: any
    • confirmations: number
    • comment: string
    • feeAddressesArray: null | string | string[]
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • address: string
    • ammount: string
    • comment: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • contractAddress: string
    • datahex: string
    • amount: undefined | string | number = 0
    • gasLimit: undefined | string | number = 250000
    • gasPrice: undefined | string | number = 0.00005
    • senderAddress: string
    • broadcast: undefined | boolean = true
    • changeToSender: undefined | boolean = true
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • address: string
    • account: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • address: string
    • message: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • address: string
    • signature: string
    • message: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • passphrase: string
    • timeoutSeconds: number
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void

  • Parameters

    • oldPassphrase: string
    • newPassphrase: string
    • callback: ((e: null | Error, result: any) => void)
        • (e, result): void
        • Parameters

          • e: null | Error
          • result: any

          Returns void

    Returns void