Transaction Log
A Transaction Log is a record of a MobileCoin transaction that was constructed and sent from this wallet.
Transaction Log
Due to the privacy properties of the MobileCoin ledger, transactions are ephemeral. Once they have been created, they only exist until they are validated, and then only the outputs are written to the ledger. For this reason, the Full-service Wallet stores outgoing transactions in the transaction_log
table in order to preserve transaction history. Received transactions are instead saved as txos.
Attributes
Name
Type
Description
id
integer
Unique identifier for the transaction log. This value is not associated to the ledger.
account_id
string
Unique identifier for the assigned associated account. If the transaction is outgoing, this account is from whence the TXO came. If received, this is the receiving account.
value_map
map (string, uint64)
Total value per token associated to this transaction log.
fee_value
string (uint64)
Fee value associated to this transaction log.
fee_token_id
string (uint64)
Fee token id associated to this transaction log.
submitted_block_index
string (uint64)
The block index of the highest block on the network at the time the transaction was submitted.
tombstone_block_index
string (uint64)
The tombstone block index.
finalized_block_index
string (uint64)
The scanned block block index in which this transaction occurred.
status
string
String representing the transaction log status. Valid statuses are "built", "pending", "succeeded", "failed".
input_txos
[InputTxo]
A list of the TXOs which were inputs to this transaction.
payload_txos
[OutputTxo]
A list of the TXOs which were payloads of this transaction.
change_txos
[OutputTxo]
A list of the TXOs which were change in this transaction.
sent_time
Timestamp
Time at which sent transaction log was created. Only available if direction is "sent". This value is null if "received" or if the sent transactions were recovered from the ledger (is_sent_recovered = true
).
comment
string
An arbitrary string attached to the object.
failure_code
integer
Code representing the cause of "failed" status.
failure_message
string
Human parsable explanation of "failed" status.
Input Txo
Attributes
Name
Type
Description
txo_id
string
Unique identifier for the txo.
amount
Amount of this txo.
Output Txo
Attributes
Name
Type
Description
txo_id
string
Unique identifier for the txo.
amount
Amount of this txo.
recipient_public_address_b58
string
Public address b58 of the recipient of this txo.
Example
Last updated
Was this helpful?