pub struct Transaction {Show 31 fields
pub id: String,
pub state: TransactionState,
pub blockchain: Blockchain,
pub transaction_type: TransactionType,
pub create_date: String,
pub update_date: String,
pub abi_function_signature: Option<String>,
pub abi_parameters: Option<Vec<Value>>,
pub amounts: Option<Vec<String>>,
pub amount_in_usd: Option<String>,
pub block_hash: Option<String>,
pub block_height: Option<i64>,
pub contract_address: Option<String>,
pub custody_type: Option<CustodyType>,
pub destination_address: Option<String>,
pub error_reason: Option<String>,
pub error_details: Option<String>,
pub estimated_fee: Option<TransactionFee>,
pub fee_level: Option<FeeLevel>,
pub first_confirm_date: Option<String>,
pub network_fee: Option<String>,
pub network_fee_in_usd: Option<String>,
pub nfts: Option<Vec<Nft>>,
pub operation: Option<Operation>,
pub ref_id: Option<String>,
pub source_address: Option<String>,
pub token_id: Option<String>,
pub tx_hash: Option<String>,
pub user_id: Option<String>,
pub wallet_id: Option<String>,
pub transaction_screening_evaluation: Option<TransactionScreeningDecision>,
}Expand description
A user-controlled wallet transaction.
Fields§
§id: StringCircle-assigned transaction ID.
state: TransactionStateCurrent on-chain state.
blockchain: BlockchainBlockchain this transaction is on.
transaction_type: TransactionTypeDirection of the transaction.
create_date: StringISO 8601 creation timestamp.
update_date: StringISO 8601 last-updated timestamp.
abi_function_signature: Option<String>ABI function signature for contract calls.
abi_parameters: Option<Vec<Value>>ABI parameters for contract calls.
amounts: Option<Vec<String>>Token amounts transferred (decimal strings).
amount_in_usd: Option<String>USD equivalent of the transferred amount.
block_hash: Option<String>Block hash for the confirmed transaction.
block_height: Option<i64>Block height for the confirmed transaction.
contract_address: Option<String>Target contract address.
custody_type: Option<CustodyType>Custody type of the source wallet.
destination_address: Option<String>Recipient address.
error_reason: Option<String>Short reason string for failures.
error_details: Option<String>Extended error information.
estimated_fee: Option<TransactionFee>Estimated fee at submission time.
fee_level: Option<FeeLevel>Requested fee level.
first_confirm_date: Option<String>ISO 8601 timestamp of the first on-chain confirmation.
network_fee: Option<String>Actual network fee paid (decimal string).
network_fee_in_usd: Option<String>Network fee expressed in USD.
nfts: Option<Vec<Nft>>NFTs transferred in this transaction.
operation: Option<Operation>High-level operation type.
ref_id: Option<String>Application-defined reference identifier.
source_address: Option<String>Source address.
token_id: Option<String>Circle token ID transferred.
tx_hash: Option<String>On-chain transaction hash.
user_id: Option<String>ID of the end-user who initiated this transaction.
wallet_id: Option<String>ID of the source wallet.
transaction_screening_evaluation: Option<TransactionScreeningDecision>Compliance screening evaluation.
Trait Implementations§
Source§impl Clone for Transaction
impl Clone for Transaction
Source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more