Module ergo_lib_c_core::tx_builder
source · Expand description
Unsigned transaction builder
Structs
- Unsigned transaction builder
Functions
- Get box selection
- Build the unsigned transaction
- Get change address
- Get current height
- Get data inputs
- Get fee amount
- Creates new TxBuilder
box_selection
- selected input boxes (viasuper::box_selector
)output_candidates
- output boxes to be “created” in this transaction,current_height
- chain height that will be used in additionally created boxes (change, miner’s fee, etc.),fee_amount
- miner’s fee,change_address
- change (inputs - outputs) will be sent to this address, will be given to miners, - Get outputs EXCLUDING fee and change
- Set context extension for a given input
- Set transaction’s data inputs
- Permits the burn of the given token amount, i.e. allows this token amount to be omitted in the outputs
- Suggested transaction fee (semi-default value used across wallets and dApps as of Oct 2020)