pub struct CreateContractExecutionTxRequest {Show 14 fields
pub idempotency_key: String,
pub entity_secret_ciphertext: String,
pub wallet_id: String,
pub blockchain: Option<Blockchain>,
pub contract_address: String,
pub abi_function_signature: Option<String>,
pub abi_parameters: Option<Vec<Value>>,
pub call_data: Option<String>,
pub fee_level: Option<FeeLevel>,
pub gas_limit: Option<String>,
pub max_fee: Option<String>,
pub priority_fee: Option<String>,
pub ref_id: Option<String>,
pub amount: Option<String>,
}Expand description
Request body for creating a contract execution transaction.
Fields§
§idempotency_key: StringIdempotency key (UUID).
entity_secret_ciphertext: StringEncrypted entity secret ciphertext.
wallet_id: StringSource wallet ID.
blockchain: Option<Blockchain>Blockchain network for the call.
contract_address: StringContract address to call.
abi_function_signature: Option<String>ABI function signature (e.g. transfer(address,uint256)).
abi_parameters: Option<Vec<Value>>ABI-encoded parameters.
call_data: Option<String>Raw call data (alternative to abi_function_signature + abi_parameters).
fee_level: Option<FeeLevel>Fee priority level.
gas_limit: Option<String>Custom gas limit.
max_fee: Option<String>Max fee per gas (EIP-1559).
priority_fee: Option<String>Max priority fee per gas (EIP-1559).
ref_id: Option<String>External reference ID.
amount: Option<String>ETH value to send with the call.
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 moreAuto 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