pub struct WriteCallFunctionDto {
pub vault_account_id: String,
pub abi_function: WriteAbiFunction,
pub amount: Option<String>,
pub fee_level: Option<FeeLevel>,
pub fee: Option<String>,
pub note: Option<String>,
pub use_gasless: Option<bool>,
pub external_id: Option<String>,
}
Fields§
§vault_account_id: String
The vault account id this contract was deploy from
abi_function: WriteAbiFunction
§amount: Option<String>
Amount in base asset. Being used in payable functions
fee_level: Option<FeeLevel>
Fee level for the write function transaction. interchangeable with the ‘fee’ field
fee: Option<String>
Max fee amount for the write function transaction. interchangeable with the ‘feeLevel’ field
note: Option<String>
Custom note, not sent to the blockchain, that describes the transaction at your Fireblocks workspace
use_gasless: Option<bool>
Indicates whether the token should be created in a gasless manner, utilizing the ERC-2771 standard. When set to true, the transaction will be relayed by a designated relayer. The workspace must be configured to use Fireblocks gasless relay.
external_id: Option<String>
External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters
Implementations§
Source§impl WriteCallFunctionDto
impl WriteCallFunctionDto
pub fn new( vault_account_id: String, abi_function: WriteAbiFunction, ) -> WriteCallFunctionDto
Trait Implementations§
Source§impl Clone for WriteCallFunctionDto
impl Clone for WriteCallFunctionDto
Source§fn clone(&self) -> WriteCallFunctionDto
fn clone(&self) -> WriteCallFunctionDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more