pub enum GetTransactionOperation {
Show 14 variants
Transfer,
Burn,
ContractCall,
Mint,
Raw,
TypedMessage,
ProgramCall,
EnableAsset,
Stake,
Unstake,
Withdraw,
RedeemFromCompound,
SupplyToCompound,
Approve,
}
Expand description
GetTransactionOperation : * TRANSFER
- Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. * MINT
- Mints new tokens. Supported for Stellar, Ripple, and EVM-based blockchains. * BURN
- Burns tokens. Supported for Stellar, Ripple, and EVM-based blockchains. * CONTRACT_CALL
- Calls a smart contract method for web3 operations on any EVM blockchain. The Fireblocks development libraries are recommended for building contract call transactions. * TYPED_MESSAGE
- An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. Learn more about typed messages. * RAW
- An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that Fireblocks do not natively support. Learn more about raw signing transactions. * PROGRAM_CALL
- Calls a smart contract for web3 operations on the Solana blockchain. Read more in the Solana Programs Interactions guide * ENABLE_ASSET
- Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. * STAKE
- Assign assets to a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. * UNSTAKE
- Remove assets from a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. * WITHDRAW
- Transfer assets from a dedicated staking vault account to another address. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. Note: Fireblocks will rename this type from WITHDRAW
to a different type name soon. There will be a 7-day notice regarding the new type name. * SUPPLY_TO_COMPOUND
- Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. * REDEEM_FROM_COMPOUND
- Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. * APPROVE
- Enables the approve function for a smart contract to withdraw from a designated wallet. Learn more.
TRANSFER
- Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. *MINT
- Mints new tokens. Supported for Stellar, Ripple, and EVM-based blockchains. *BURN
- Burns tokens. Supported for Stellar, Ripple, and EVM-based blockchains. *CONTRACT_CALL
- Calls a smart contract method for web3 operations on any EVM blockchain.
The Fireblocks development libraries
are recommended for building contract call transactions. *
TYPED_MESSAGE
- An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. Learn more about typed messages.
RAW
- An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that Fireblocks do not natively support. Learn more about raw signing transactions.PROGRAM_CALL
- Calls a smart contract for web3 operations on the Solana blockchain. Read more in the Solana Programs Interactions guideENABLE_ASSET
- Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. *STAKE
- Assign assets to a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. *UNSTAKE
- Remove assets from a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. *WITHDRAW
- Transfer assets from a dedicated staking vault account to another address. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. Note: Fireblocks will rename this type fromWITHDRAW
to a different type name soon. There will be a 7-day notice regarding the new type name. *SUPPLY_TO_COMPOUND
- Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol.REDEEM_FROM_COMPOUND
- Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol.
- Calls a smart contract method for web3 operations on any EVM blockchain.
The Fireblocks development libraries
are recommended for building contract call transactions. *
APPROVE
- Enables the approve function for a smart contract to withdraw from a designated wallet. Learn more.
Variants§
Transfer
Burn
ContractCall
Mint
Raw
TypedMessage
ProgramCall
EnableAsset
Stake
Unstake
Withdraw
RedeemFromCompound
SupplyToCompound
Approve
Trait Implementations§
Source§impl Clone for GetTransactionOperation
impl Clone for GetTransactionOperation
Source§fn clone(&self) -> GetTransactionOperation
fn clone(&self) -> GetTransactionOperation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetTransactionOperation
impl Debug for GetTransactionOperation
Source§impl Default for GetTransactionOperation
impl Default for GetTransactionOperation
Source§fn default() -> GetTransactionOperation
fn default() -> GetTransactionOperation
Source§impl<'de> Deserialize<'de> for GetTransactionOperation
impl<'de> Deserialize<'de> for GetTransactionOperation
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>,
Source§impl Display for GetTransactionOperation
impl Display for GetTransactionOperation
Source§impl Hash for GetTransactionOperation
impl Hash for GetTransactionOperation
Source§impl Ord for GetTransactionOperation
impl Ord for GetTransactionOperation
Source§fn cmp(&self, other: &GetTransactionOperation) -> Ordering
fn cmp(&self, other: &GetTransactionOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for GetTransactionOperation
impl PartialEq for GetTransactionOperation
Source§impl PartialOrd for GetTransactionOperation
impl PartialOrd for GetTransactionOperation
Source§impl Serialize for GetTransactionOperation
impl Serialize for GetTransactionOperation
impl Copy for GetTransactionOperation
impl Eq for GetTransactionOperation
impl StructuralPartialEq for GetTransactionOperation
Auto Trait Implementations§
impl Freeze for GetTransactionOperation
impl RefUnwindSafe for GetTransactionOperation
impl Send for GetTransactionOperation
impl Sync for GetTransactionOperation
impl Unpin for GetTransactionOperation
impl UnwindSafe for GetTransactionOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.