Qortal UI - Main Code Repository A User Interface for the Qortal Blockchain Project. Truly decentralized web hosting, application hosting, communications, data storage, and full infrastructure for the future global decentralized digital world.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
479 B

import TransactionBase from './TransactionBase'
export default class DelegationTransaction extends TransactionBase {
constructor() {
super()
this.type = 18
}
set superNodeAddress(superNodeAddress) {
this._superNodeAddress = superNodeAddress instanceof Uint8Array ? superNodeAddress : this.constructor.Base58.decode(superNodeAddress)
}
get params() {
const params = super.params
params.push(
this._superNodeAddress,
this._feeBytes
)
return params
}
}