@dashevo/wallet-lib
Version:
Light wallet library for Dash
13 lines (9 loc) • 662 B
Markdown
**Usage**: `getBytesOf(value, type)`
**Description**: For a provided type and value, returns the bytes value of it
**Notes**: Used for transaction size calculation for fee estimation
Parameters:
| parameters | type | required | Description |
|-------------------|---------------|----------------| -------------------------------------------------|
| **value** | Output/UTXO | yes | Value input in dash |
| **type** | Output/UTXO | yes | Value input in dash |
Returns : {Number} - Bytes value