Transaction Output TXO
A TXO is a "Transaction Output." MobileCoin is a ledger built on the "Unspent Transaction Output" model (UTXO).
Transaction Output TXO
In order to construct a transaction, the wallet will select "Unspent Transaction Outputs" and perform a cryptographic operation to mark them as "spent" in the ledger. Then, it will mint new TXOs for the recipient.
Attributes
Name | Type | Description |
| string, value is "txo" | String representing the object's type. Objects of the same type share the same value. |
| string (uint64) | Available pico MOB for this account at the current |
| string (uint64) | Block index in which the TXO was received by an account. |
| string (uint64) | Block index in which the TXO was spent by an account. |
| boolean | Flag that indicates if the |
| string | The |
| string | The |
| hash map | A normalized hash mapping account_id to account objects. Keys include "type" and "status". |
| string (enum) | With respect to this account, the TXO may be "minted" or "received". |
| string (enum) | With respect to this account, the TXO may be "unspent", "pending", "spent", "secreted" or "orphaned". For received TXOs received as an assigned address, the lifecycle is "unspent" -> "pending" -> "spent". For outbound, minted TXOs, we cannot monitor its received lifecycle status with respect to the minting account, we note its status as "secreted". If a TXO is received at an address unassigned (likely due to a recovered account or using the account on another client), the TXO is considered "orphaned" until its address is calculated -- in this case, there are manual ways to discover the missing assigned address for orphaned TXOs or to recover an entire account. |
| string (hex) | A cryptographic key for this TXO. |
| string (hex) | The public key for this TXO, can be used as an identifier to find the TXO in the ledger. |
| string (hex) | The encrypted fog hint for this TXO. |
| string (uint64) | The assigned subaddress index for this TXO with respect to its received account. |
| string (uint64) | The address corresponding to the subaddress index which was assigned as an intended sender for this TXO. |
| string (hex) | A fingerprint of the TXO derived from your private spend key materials, required to spend a TXO |
| string (hex) | A confirmation that the sender of the TXO can provide to validate that they participated in the construction of this TXO. |
Example
Received and Spent TXO
TXO Spent Between Accounts in the Same Wallet
View Only Transaction Output ViewOnlyTXO
a minimal txo entity useful for view-only-accounts
Attributes
Name | Type | Description |
| string, value is "view_only_txo" | String representing the object's type. Objects of the same type share the same value. |
| string (hex) | The public key for this TXO, can be used as an identifier to find the TXO in the ledger. |
| string (uint64) | Available pico MOB for this account at the current |
| string | The local ID for view only account that has the private view key capable of decrypting this txo. |
| string | Whether or not this txo has been manually marked as spent. |
| string | A synthetic ID created from properties of the TXO. This will be the same for a given TXO across systems. |
Example
Last updated