pub struct CreateContractExecutionTxRequest {Show 13 fields
pub idempotency_key: String,
pub wallet_id: String,
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 fee_level: Option<FeeLevel>,
pub gas_limit: Option<String>,
pub gas_price: Option<String>,
pub max_fee: Option<String>,
pub priority_fee: Option<String>,
pub ref_id: Option<String>,
}Expand description
Request body for createContractExecutionTransaction.
Fields§
§idempotency_key: StringClient-generated idempotency key (UUID).
wallet_id: StringSource wallet ID.
contract_address: StringTarget contract address.
abi_function_signature: Option<String>ABI function signature to call.
abi_parameters: Option<Vec<Value>>ABI parameters for the function call.
call_data: Option<String>Raw ABI-encoded call data (alternative to abi_function_signature).
amount: Option<String>Amount of native coin to send with the call.
fee_level: Option<FeeLevel>Gas fee level preference.
gas_limit: Option<String>Custom gas limit override.
gas_price: Option<String>Custom gas price override.
max_fee: Option<String>EIP-1559 max fee per gas override.
priority_fee: Option<String>EIP-1559 priority fee override.
ref_id: Option<String>Application-defined reference identifier.
Trait Implementations§
Source§impl Clone for CreateContractExecutionTxRequest
impl Clone for CreateContractExecutionTxRequest
Source§fn clone(&self) -> CreateContractExecutionTxRequest
fn clone(&self) -> CreateContractExecutionTxRequest
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 CreateContractExecutionTxRequest
impl<'de> Deserialize<'de> for CreateContractExecutionTxRequest
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 CreateContractExecutionTxRequest
impl RefUnwindSafe for CreateContractExecutionTxRequest
impl Send for CreateContractExecutionTxRequest
impl Sync for CreateContractExecutionTxRequest
impl Unpin for CreateContractExecutionTxRequest
impl UnsafeUnpin for CreateContractExecutionTxRequest
impl UnwindSafe for CreateContractExecutionTxRequest
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