* subsequently be configured as a change, receive, or send transaction.
*
* All parameters are eventually required in order to initialize the block, but
- * but if `account` is an Account class object, its properties can be used for
- * the other parameters instead of passing them into the constructor.
+ * if `account` is an Account class object, its properties can be used for the
+ * other parameters instead of passing them into the constructor.
*
- * @param {(string|Account)} account - Target of the transaction; can include `balance`, `frontier`, `representative`
- * @param {(bigint|number|string)} [balance] - Current balance of the target account in raw
+ * @param {(string | Account)} account - Target of the transaction; can include `balance`, `frontier`, `representative`
+ * @param {(bigint | number | string)} [balance] - Current balance of the target account in raw
* @param {string} [previous] - Current frontier block hash of the target account
- * @param {(string|Account)} [representative] - Current representative of the target account
+ * @param {(string | Account)} [representative] - Current representative of the target account
*/
constructor (account: string | Account, balance?: bigint | number | string, previous?: string, representative?: string | Account)
constructor (account: unknown, balance: unknown, previous: unknown, representative: unknown) {
* Set the subtype, link, and target account to configure this as a change
* representative block.
*
- * @param {(string|Account)} account - Account to choose as representative, or its address or public key
+ * @param {(string | Account)} account - Account to choose as representative, or its address or public key
* @returns {Block} This block with link, representative, and subtype configured
*/
change (representative: string | Account): Block
* Set the amount of nano that this block will receive from a corresponding
* send block.
*
- * @param {(string|Block)} sendBlock - Corresponding send block or its hash
- * @param {(bigint|number|string)} amount - Amount to be received from sender
+ * @param {(string | Block)} sendBlock - Corresponding send block or its hash
+ * @param {(bigint | number | string)} amount - Amount to be received from sender
* @param {string} [unit] - Unit of measure for amount (e.g. 'NANO' = 10³⁰ RAW). Default: "RAW"
* @returns {Block} This block with balance, link, and subtype configured
*/
/**
* Set the amount of nano that this block will send to a recipient account.
*
- * @param {(string|Account)} account - Account to target or its address or public key
- * @param {(bigint|number|string)} amount - Amount to send to recipient
+ * @param {(string | Account)} account - Account to target or its address or public key
+ * @param {(bigint | number | string)} amount - Amount to send to recipient
* @param {string} [unit] - Unit of measure for amount (e.g. 'NANO' = 10³⁰ RAW). Default: "RAW"
* @returns {Block} This block with balance, link, and subtype configured
*/