Struct TransactionsApiClient

Source
pub struct TransactionsApiClient { /* private fields */ }

Implementations§

Source§

impl TransactionsApiClient

Source

pub fn new(configuration: Arc<Configuration>) -> Self

Trait Implementations§

Source§

impl TransactionsApi for TransactionsApiClient

Source§

fn cancel_transaction<'life0, 'async_trait>( &'life0 self, params: CancelTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<CancelTransactionResponse, Error<CancelTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Cancels a transaction by Fireblocks Transaction ID. Can be used only for transactions that did not get to the BROADCASTING state.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn create_transaction<'life0, 'async_trait>( &'life0 self, params: CreateTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<CreateTransactionResponse, Error<CreateTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a new transaction. This endpoint can be used for regular Transfers, Contract Calls, Raw & Typed message signing. - For Transfers, the required parameters are: assetId, source, destination and amount. - For Contract Calls, the required parameters are: operation.CONTRACT_CALL, assetId (Base Asset), source, destination, amount (usually 0) and extraParameters object with contractCallData string. - For Solana Program Calls, the required parameters are: operation.PROGRAM_CALL, assetId (SOL/SOL_TEST), source, and extraParameters object with programCallData key while the value is a Base64 encoded unsigned serialized Solana transaction object. This feature is currently in beta and might be subject to changes - Please contact your CSM for any additional information. - Typed Message Signing is supported for the following asset IDs: ‘ETH’, ‘BTC’ and ‘TRX’. Typed Message Signing Guide. - To create ZEC transaction, please call Get unspent UTXO Input endpoint to get the amount and use it as an input under networkfee on this endpoint. Please use this formula (0.0001 + 0.00005*N) where N is the number of inputs to calculate the fee needed and use it as an input under networkFee field - When using maxFee and a boost is needed, the user should set a custom gasPrice to force the override. Learn more about Fireblocks Transactions management in the following guide.
Endpoint Permission: Admin, Signer, Editor.

Source§

fn drop_transaction<'life0, 'async_trait>( &'life0 self, params: DropTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<DropTransactionResponse, Error<DropTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Drops a stuck ETH (EVM) transaction and creates a replacement transaction with 0 amount.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn estimate_transaction_fee<'life0, 'async_trait>( &'life0 self, params: EstimateTransactionFeeParams, ) -> Pin<Box<dyn Future<Output = Result<EstimatedTransactionFeeResponse, Error<EstimateTransactionFeeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Estimates the transaction fee for a specific transaction request. This endpoint simulates a transaction which means that the system will expect to have the requested asset and balance in the specified wallet. Note: Supports all Fireblocks assets except ZCash (ZEC). Learn more about Fireblocks Fee Management in the following guide.
Endpoint Permission: Admin, Signer, Approver, Editor.

Source§

fn freeze_transaction<'life0, 'async_trait>( &'life0 self, params: FreezeTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<FreezeTransactionResponse, Error<FreezeTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Freezes a transaction by ID. Usually used for AML integrations when the incoming funds should be quarantined. For account based assets - the entire amount of the transaction is frozen For UTXO based assets - all UTXOs of the specified transaction are frozen
Endpoint Permission: Admin, Non-Signing Admin.

Source§

fn get_transaction<'life0, 'async_trait>( &'life0 self, params: GetTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<TransactionResponse, Error<GetTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get a specific transaction data by Fireblocks Transaction ID
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn get_transaction_by_external_id<'life0, 'async_trait>( &'life0 self, params: GetTransactionByExternalIdParams, ) -> Pin<Box<dyn Future<Output = Result<TransactionResponse, Error<GetTransactionByExternalIdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns transaction by external transaction ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn get_transactions<'life0, 'async_trait>( &'life0 self, params: GetTransactionsParams, ) -> Pin<Box<dyn Future<Output = Result<Vec<TransactionResponse>, Error<GetTransactionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get the transaction history for your workspace.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn rescan_transactions_beta<'life0, 'async_trait>( &'life0 self, params: RescanTransactionsBetaParams, ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatedTransactionsForRescan>, Error<RescanTransactionsBetaError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Rescan transaction by running an async job.
Note: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. - Please contact to CSM to get access to this endpoint. - This operation can only be enabled under BROADCASTING or CONFIRMING
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn set_confirmation_threshold_by_transaction_hash<'life0, 'async_trait>( &'life0 self, params: SetConfirmationThresholdByTransactionHashParams, ) -> Pin<Box<dyn Future<Output = Result<SetConfirmationsThresholdResponse, Error<SetConfirmationThresholdByTransactionHashError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Overrides the required number of confirmations for transaction completion by transaction hash.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn set_transaction_confirmation_threshold<'life0, 'async_trait>( &'life0 self, params: SetTransactionConfirmationThresholdParams, ) -> Pin<Box<dyn Future<Output = Result<SetConfirmationsThresholdResponse, Error<SetTransactionConfirmationThresholdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Overrides the required number of confirmations for transaction completion Fireblocks Transaction ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn unfreeze_transaction<'life0, 'async_trait>( &'life0 self, params: UnfreezeTransactionParams, ) -> Pin<Box<dyn Future<Output = Result<UnfreezeTransactionResponse, Error<UnfreezeTransactionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Unfreezes a transaction by Fireblocks Transaction ID and makes the transaction available again.
Endpoint Permission: Admin, Non-Signing Admin.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,