pub struct ContractInteractionsApiClient { /* private fields */ }
Implementations§
Source§impl ContractInteractionsApiClient
impl ContractInteractionsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ContractInteractionsApi for ContractInteractionsApiClient
impl ContractInteractionsApi for ContractInteractionsApiClient
Source§fn get_deployed_contract_abi<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractAbiParams,
) -> Pin<Box<dyn Future<Output = Result<ContractAbiResponseDto, Error<GetDeployedContractAbiError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_deployed_contract_abi<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractAbiParams,
) -> Pin<Box<dyn Future<Output = Result<ContractAbiResponseDto, Error<GetDeployedContractAbiError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Return deployed contract’s ABI by blockchain native asset id and contract address. Endpoint Permission: Admin, Non-Signing Admin.
Source§fn get_transaction_receipt<'life0, 'async_trait>(
&'life0 self,
params: GetTransactionReceiptParams,
) -> Pin<Box<dyn Future<Output = Result<TransactionReceiptResponse, Error<GetTransactionReceiptError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_transaction_receipt<'life0, 'async_trait>(
&'life0 self,
params: GetTransactionReceiptParams,
) -> Pin<Box<dyn Future<Output = Result<TransactionReceiptResponse, Error<GetTransactionReceiptError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieve the transaction receipt by blockchain native asset ID and transaction hash Endpoint Permission: Admin, Non-Signing Admin.
Source§fn read_call_function<'life0, 'async_trait>(
&'life0 self,
params: ReadCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<ParameterWithValue>, Error<ReadCallFunctionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_call_function<'life0, 'async_trait>(
&'life0 self,
params: ReadCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<ParameterWithValue>, Error<ReadCallFunctionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Call a read function on a deployed contract by blockchain native asset id and contract address. Endpoint Permission: Admin, Non-Signing Admin.
Source§fn write_call_function<'life0, 'async_trait>(
&'life0 self,
params: WriteCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<WriteCallFunctionResponseDto, Error<WriteCallFunctionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_call_function<'life0, 'async_trait>(
&'life0 self,
params: WriteCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<WriteCallFunctionResponseDto, Error<WriteCallFunctionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Call a write function on a deployed contract by blockchain native asset id and contract address. This creates an onchain transaction, thus it is an async operation. It returns a transaction id that can be polled for status check. Endpoint Permission: Admin, Non-Signing Admin.
Auto Trait Implementations§
impl Freeze for ContractInteractionsApiClient
impl !RefUnwindSafe for ContractInteractionsApiClient
impl Send for ContractInteractionsApiClient
impl Sync for ContractInteractionsApiClient
impl Unpin for ContractInteractionsApiClient
impl !UnwindSafe for ContractInteractionsApiClient
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