pub struct Fees {
pub get_utxos_base: u128,
pub get_utxos_cycles_per_ten_instructions: u128,
pub get_utxos_maximum: u128,
pub get_balance: u128,
pub get_balance_maximum: u128,
pub get_current_fee_percentiles: u128,
pub get_current_fee_percentiles_maximum: u128,
pub send_transaction_base: u128,
pub send_transaction_per_byte: u128,
pub get_block_headers_base: u128,
pub get_block_headers_cycles_per_ten_instructions: u128,
pub get_block_headers_maximum: u128,
}Fields§
§get_utxos_base: u128The base fee to charge for all get_utxos requests.
get_utxos_cycles_per_ten_instructions: u128The number of cycles to charge per 10 instructions.
get_utxos_maximum: u128The maximum amount of cycles that can be charged in a get_utxos request.
A request must send at least this amount for it to be accepted.
get_balance: u128The flat fee to charge for a get_balance request.
get_balance_maximum: u128The maximum amount of cycles that can be charged in a get_balance request.
A request must send at least this amount for it to be accepted.
get_current_fee_percentiles: u128The flat fee to charge for a get_current_fee_percentiles request.
get_current_fee_percentiles_maximum: u128The maximum amount of cycles that can be charged in a get_current_fee_percentiles request.
A request must send at least this amount for it to be accepted.
send_transaction_base: u128The base fee to charge for all send_transaction requests.
send_transaction_per_byte: u128The number of cycles to charge for each byte in the transaction.
get_block_headers_base: u128The base fee to charge for all get_block_headers requests.
get_block_headers_cycles_per_ten_instructions: u128The number of cycles to charge per 10 instructions.
get_block_headers_maximum: u128The maximum amount of cycles that can be charged in a get_block_headers request.
A request must send at least this amount for it to be accepted.
Implementations§
Trait Implementations§
Source§impl CandidType for Fees
impl CandidType for Fees
Source§impl<'de> Deserialize<'de> for Fees
impl<'de> Deserialize<'de> for Fees
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Fees
impl StructuralPartialEq for Fees
Auto Trait Implementations§
impl Freeze for Fees
impl RefUnwindSafe for Fees
impl Send for Fees
impl Sync for Fees
impl Unpin for Fees
impl UnwindSafe for Fees
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)