withdrawBlockRewards

Creates an unsigned First validator award balance withdrawal transaction.

Usage

visionWeb.transactionBuilder.withdrawBlockRewards(address, options)

Parameters

ParameterDescriptionTypeDefault
addressOptional address of FV’s withdrawal account.stringDefault account address
optionsDescriptions are below.object-

options parameters

ParameterDescriptionTypeDefault
permissionIdPermission id for multi-signature use.number-

Returns

Object.

Example

visionWeb.transactionBuilder.withdrawBlockRewards();
> {
  visible: false,
  txID: 'e62d962438cc7aefc3cb7cc55544edee2773ab326ea462b18de04f1a3dcc70d3',
  raw_data: {
    contract: [ [Object] ],
    ref_block_bytes: 'b4e2',
    ref_block_hash: 'fcd70dbaa8fdd43f',
    expiration: 1608553278000,
    timestamp: 1608553218102
  },
  raw_data_hex: '0a02b4e22208fcd70dbaa8fdd43f40b0d4fca9e82e5a65080112610a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412300a154653cd48c2723cb985679f4e44d99c64d22d89f41d1215462d7a77f8bef6fe225bf5e353dd6a380f588a1496180a70b680f9a9e82e'
}