pub struct EstimateContractExecFeeRequest {
pub contract_address: String,
pub abi_function_signature: Option<String>,
pub abi_parameters: Option<Vec<Value>>,
pub call_data: Option<String>,
pub amount: Option<String>,
pub blockchain: Option<Blockchain>,
pub source_address: Option<String>,
pub wallet_id: Option<String>,
}Expand description
Request body for estimateContractExecutionFee.
Fields§
§contract_address: StringTarget contract address.
abi_function_signature: Option<String>ABI function signature.
abi_parameters: Option<Vec<Value>>ABI parameters.
call_data: Option<String>Raw ABI-encoded call data.
amount: Option<String>Amount of native coin to send.
blockchain: Option<Blockchain>Blockchain for the call.
source_address: Option<String>Source address.
wallet_id: Option<String>Source wallet ID.
Trait Implementations§
Source§impl Clone for EstimateContractExecFeeRequest
impl Clone for EstimateContractExecFeeRequest
Source§fn clone(&self) -> EstimateContractExecFeeRequest
fn clone(&self) -> EstimateContractExecFeeRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EstimateContractExecFeeRequest
impl<'de> Deserialize<'de> for EstimateContractExecFeeRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EstimateContractExecFeeRequest
impl RefUnwindSafe for EstimateContractExecFeeRequest
impl Send for EstimateContractExecFeeRequest
impl Sync for EstimateContractExecFeeRequest
impl Unpin for EstimateContractExecFeeRequest
impl UnsafeUnpin for EstimateContractExecFeeRequest
impl UnwindSafe for EstimateContractExecFeeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more