Common
Introduces the query interface, registered account and locking MAP
CreateAccount
create an account
USAGE
$ ./marker createAccount
OPTIONS
--keystore Keystore file path
--rpcaddr HTTP-RPC server address
--name you can marker your account
like "validator" or "voter"
and so on that you want
EXAMPLES:
./marker createAccount
--rpcaddr http://127.0.0.1:7445
--keystore ./UTC--2021-09-08T08-00-15.473724074Z--1c0edab88dbb72b119039c4d14b1663525b3ac15
--name "validator"
RESPONSE:
success
or
FailedLockedMAP
Locks map to be used for voting or register validator
UnlockMAP
Unlocks MAP that becomes withdrawable after the unlocking period.
RelockMAP
Relocks map that has been unlocked but not withdrawn.
WithdrawMap
Withdraws MAP that has been unlocked after the unlocking period has passed.
GetNumRegisteredValidators
Returns the number of registered validators
GetTopValidators
Returns the top n validator members for a particular validator.
GetTotalVotesForEligibleValidators
Returns lists of all validator validators and the number of votes they've received.
getTotalVotes
Returns the total votes received across all validators.
GetValidatorEligibility
Returns whether or not a validator is eligible to receive votes.
GetValidator
Returns the validator`s information.
getValidatorRewardInfo
Returns the awards of the last epoch
GetPendingVotesForValidatorByAccount
Returns the pending votes for validator made by account.
GetPendingInfoForValidator
Returns the pending votes for validator made by account And the pending Epoch.
GetActiveVotesForValidatorByAccount
Returns the active votes for validator made by account.
GetValidatorsVotedForByAccount
Returns the validators that account has voted for.
GetAccountTotalLockedGold
Returns the total amount of locked MAP for an account.
GetAccountNonvotingLockedGold
Returns the total amount of non-voting locked MAP for an account.
GetAccountLockedGoldRequirement
Returns the current locked MAP balance requirement for the supplied account.
GetPendingWithdrawals
Returns the pending withdrawals from unlocked MAP for an account.
Transfer
transfer
getAccountMetadataURL
Returns the metadata url of the account
setAccountMetadataURL
Set the metadata url for the account
getAccountName
Returns the name of the account
setAccountName
Set the name for the account
setNextCommissionUpdate
Queues an update to a validator's commission. If there was a previously scheduled update, that is overwritten.
commission: representation of the commission this validator receives on epoch payments made to its members. Must be in the range [0, 1000000].
updateCommission
Updates a validator's commission based on the previously queued update, The operation can only be executed after 2000 blocks after the successful execution of setNextCommissionUpdate
Last updated
Was this helpful?