Create account in DCore blockchain network with keys derived from provided brain key. https://docs.decent.ch/developer/classgraphene_1_1wallet_1_1detail_1_1wallet__api__impl.html#a758d05a5f090adbc249258881775d222
NOTE: This method create account with owner, active and memo key set to same value. Recommended to use Utils.derivePrivateKey to derive keys from brainkey and then register account with option to set these keys to different values.
Brain key for keys derivation. Use brain key from Utils.suggestBrainKey.
Name for new account. String with alphanumerical symbols and dash. Example: 'new-account2'
Registrar account id, who pay for account registration in format '1.2.X'. Example: '1.2.345'
Registrar private key in WIF(hex)(Wallet Import Format) format.
Value confirming successful transaction broadcasting.
Exports wallet-cli compatible wallet file. https://docs.decent.ch/developer/classgraphene_1_1wallet_1_1detail_1_1wallet__api__impl.html#a3cb922b2d88865c509a8e2c91b7416ab
Account id that about to be exported, in format '1.2.X'. Example: '1.2.345'
Password for keys structure encryption.
Private keys, in WIF(hex)(Wallet Import Format) format, to be exported
Additional el gamal keys, in case that has been changed over time. Primary el gamal key is calculated from privateKeys.
WalletExport object that can be serialized and used as import for cli_wallet.
Gets account from DCore blockchain database for given account id. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#aa20a30ec92c339c1b186c4ee7825f67b
Account id in format '1.2.X'. Example: "1.2.345"
Account object.
Gets account from DCore blockchain database for given account name. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#ac5c1fd29358dcde88ec644292de59304
Account name. Example: "u123456789abcdef123456789"
Account object.
Returns number of accounts created on network https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a533c834442d9e8fbaeae5eb24d4fe8c5
Number of accounts.
List of all transaction operations in history of user. NOTE: Operations can be filtered using Chain.ChainOperationType https://docs.decent.ch/developer/group___history_a_p_i.html#ga2bfce814ce4adde1c30e63662f3fa18c
Account id in format '1.2.X'. Example: '1.2.345'
Optional HistoryOptions object to configure fromId and resultLimit for paging. fromId: Id of HistoryRecord from what to start list from. Default: '1.7.0' resultLimit: Number of HistoryRecords in result. Default: 100(Max) NOTE: List is in DESC order. Therefore fromId of operation suppose to be last in received list.
List of HistoryRecord objects.
Current account balance of asset on given account https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a52515490f739d3523c9d842e2e2362ef
Account id in format '1.2.X'. Example: '1.2.345'
Id of asset in which balance will be listed
Optional parameter to convert balance amount from blockchain asset amount format to right precision format of asset. Example: 100000000 => 1 DCT. Default: false.
Account's balance
Gets history of transfer transaction for given account name. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a180dc12024aa0e60bcbdf781611680fc
Account id in format '1.2.X'. Example: "1.2.345"
Array of private keys in case private/public pair has been changed in blockchain account, using for example cli_wallet, to be able of decrypt older memo messages from transactions.
Order of TransactionRecords in result. Default is .timeDesc.
Id of TransactionRecord to start search from for paging purposes. Default 0.0.0
Number of transaction history records in result. Use for paging. Default 100(max)
List of TransactionRecord.List of TransactionRecord.
Verifies if block in that transaction was processed to is irreversible. NOTE: Unverified blocks still can be reversed.
NOTICE: Transaction object with id in form '1.7.X' can be fetched from AccountModule.getAccountHistory method.
Account id in format '1.2.X'. Example: '1.2.30'
Transaction id in format '1.7.X'.
Returns 'true' if transaction is in irreversible block, 'false' otherwise.
Returns account's balances in all assets account have non-zero amount in. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a52515490f739d3523c9d842e2e2362ef
Account id in format '1.2.X', Example: '1.2.345'.
Optional parameter to convert balance amount from blockchain asset amount format to right precision format of asset. Example: 100000000 => 1 DCT. Default: false.
List of balances
Account id from which accounts are listed, in format '1.2.X'. Default: ''
Number of returned accounts. Default: 100(Max)
List of filtered AccountNameIdPairs.
Creates new account in DCore blockchain network. https://docs.decent.ch/developer/classgraphene_1_1wallet_1_1detail_1_1wallet__api__impl.html#aed56e5dfd4dc85b40d62dd25cb1fd029
Name of newly created account.
Public key to be used as owner key in WIF(hex)(Wallet Import Format) format.
Public key to be used as active key in WIF(hex)(Wallet Import Format) format.
Public key used to memo encryption in WIF(hex)(Wallet Import Format) format.
Registrar account id who pay account creation transaction fee.
Registrar private key, in WIF(hex)(Wallet Import Format) format, for account register transaction to be signed with.
Transaction is broadcasted if set to true
Value confirming successful transaction broadcasting.
Return list of account's transaction history with additional information about balance change and multiple options for filtering.
Account id to list history for in format '1.2.X'. Example: '1.2.345'/
List of asset ids to filter transaction with these assets. Format ['1.3.X'], example: ['1.3.0', '1.3.34']. Default is [] - no asset filtering.
Account id of partner to/from whom transaction was done. In format '1.2.X, example: '1.2.345'. Default is 'null'.
Block number to start from. Default is 'null' - filter from start.
Block number to end at. Default is 'null' - filter to end.
Offstet in transaction list for paging purpose. Default is 0 - start at begining.
Number of records to be listed. Default is 100.
Returns transfer operations for given account. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a180dc12024aa0e60bcbdf781611680fc
Account id in format '1.2.X'. Example: "1.2.345"
Array of private keys in case private/public pair has been changed in blockchain account, using for example cli_wallet, to be able of decrypt older memo messages from transactions.
Order of TransactionRecords in result. Default is .timeDesc.
Id of TransactionRecord to start search from for paging purposes. Default 0.0.0
Number of transaction history records in result. Use for paging. Default 100(max)
Optional parameter to convert amounts and fees of TransactionRecords from blockchain asset amount format to right precision format of asset. Example: 100000000 => 1 DCT. Default: false.
List of TransactionRecord.
Search accounts based on given search parameters. https://docs.decent.ch/developer/classgraphene_1_1app_1_1database__api__impl.html#a57cbf9b3e799ea70b08885cc5df9b043
Term to search in account names. Default: ''
AccountOrder to order results. Default: AccountOrder.none
Account id to start list from. Default: '0.0.0'
Limit result list size. Default: 100(Max)
List of filtered accounts.
Search for miners with parameters. https://docs.decent.ch/developer/classgraphene_1_1wallet_1_1detail_1_1wallet__api__impl.html#a6bf2da2d8f11165c8990d3a849c2dd92
Account name to search miners for.
Search keyword.
Flag to search within account's voted miners.
Sorting parameter of search results.
Miner id to start form. Use for paging.
Result count. Default and max is 1000
List of filtered MinerInfo objects.
Account id of account that is about to be updated. Example: '1.2.345'.
UpdateAccountParameters object with parameters to be changed.
Private key of account that is about to be changed, to sign transaction. In WIF(hex)(Wallet Import Format) format.
Transaction is broadcasted if set to true
Value confirming successful transaction broadcasting.
Powered by DECENT
AccountModule is class that provides methods to obtain information from DCore node's Account module API.