Get TXOs For Account
Get TXOs for a given account with offset and limit parameters
Parameters
Parameter
Purpose
Requirements
account_id
The account on which to perform this action.
Account must exist in the wallet.
offset
The pagination offset. Results start at the offset index. Optional, defaults to 0.
limit
Limit for the number of results. Optional, defaults to 100
status
Optional txo status filer. Available status: "txo_status_unspent", "txo_status_spent", "txo_status_orphaned", "txo_status_pending", "txo_status_secreted",
Example
{
"method": "get_txos_for_account",
"params": {
"account_id": "b59b3d0efd6840ace19cdc258f035cc87e6a63b6c24498763c478c417c1f44ca",
"offset": "2",
"limit": "8"
},
"jsonrpc": "2.0",
"id": 1
}
{
"method": "get_txos_for_account",
"result": {
"txo_ids": [
"001cdcc1f0a22dc0ddcdaac6020cc03d919cbc3c36923f157b4a6bf0dc980167",
"00408833347550b046f0996afe92313745f76e307904686e93de5bab3590e9da",
"005b41a40be1401426f9a00965cc334e4703e4089adb8fa00616e7b25b92c6e5"
],
"txo_map": {
"001cdcc1f0a22dc0ddcdaac6020cc03d919cbc3c36923f157b4a6bf0dc980167": {
"account_status_map": {
"a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10": {
"txo_status": "spent",
"txo_type": "received"
}
},
"assigned_subaddress": "7BeDc5jpZu72AuNavumc8qo8CRJijtQ7QJXyPo9dpnqULaPhe6GdaDNF7cjxkTrDfTcfMgWVgDzKzbvTTwp32KQ78qpx7bUnPYxAgy92caJ",
"e_fog_hint": "0a54bf0a5f37989b379b9db3e8937387c5033428b399d44ee524c02b53ce8b7fa7ffc7181a854255cefc68704f69eedd43a891d2ed65c9f6e4c0fc645c2bc156278395221100a4fc3a1d617d04f6eca8851e846a0100",
"is_spent_recovered": false,
"key_image": "0a20f041e3da520a6e3328d43a920b90bf87826a1602c9249cf6591dd32328a4544e",
"minted_account_id": null,
"object": "txo",
"confirmation": null,
"public_key": "0a201a592874a596aeb14cbeb1c7d3449cbd20dc8078ad7fff657e131d619145ef0a",
"received_account_id": "a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10",
"received_block_index": "128567",
"spent_block_index": "128569",
"subaddress_index": "0",
"target_key": "0a209e1067117870549a77a47de04bd810da052abfc23d60a0c433367bfc689b7428",
"txo_id": "001cdcc1f0a22dc0ddcdaac6020cc03d919cbc3c36923f157b4a6bf0dc980167",
"value_pmob": "990000000000"
},
"84f30233774d728bb7844bed59d471fe55ee3680ab70ddc312840db0f978f3ba": {
"account_status_map": {
"36fdf8fbdaa35ad8e661209b8a7c7057f29bf16a1e399a34aa92c3873dfb853c": {
"txo_status": "unspent",
"txo_type": "received"
},
"a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10": {
"txo_status": "secreted",
"txo_type": "minted"
}
},
"assigned_subaddress": null,
"e_fog_hint": "0a5472b079a520696518cc7d7c3036e855cbbcf1a3e247db32ab2e62e835183077b862ef86ec4963a584650cc028eb645569f9de1392b88f8fd7fa07aa28c4e035fd5f4866f3db3d403a05d2adb5e4f2992c010b0100",
"is_spent_recovered": false,
"key_image": null,
"minted_account_id": "a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10",
"object": "txo",
"confirmation": "0a204488e153cce1e4bcdd4419eecb778f3d2d2b024b39aaa29532d2e47e238b2e31",
"public_key": "0a20e6736474f73e440686736bfd045d838c2b3bc056ffc647ad6b1c990f5a46b123",
"received_account_id": "36fdf8fbdaa35ad8e661209b8a7c7057f29bf16a1e399a34aa92c3873dfb853c",
"received_block_index": null,
"spent_block_index": null,
"subaddress_index": null,
"target_key": "0a20762d8a723aae2aa70cc11c62c91af715f957a7455b695641fe8c94210812cf1b",
"txo_id": "84f30233774d728bb7844bed59d471fe55ee3680ab70ddc312840db0f978f3ba",
"value_pmob": "200"
},
"58c2c3780792ccf9c51014c7688a71f03732b633f8c5dfa49040fa7f51328280": {
"account_status_map": {
"a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10": {
"txo_status": "unspent",
"txo_type": "received"
}
},
"assigned_subaddress": "7BeDc5jpZu72AuNavumc8qo8CRJijtQ7QJXyPo9dpnqULaPhe6GdaDNF7cjxkTrDfTcfMgWVgDzKzbvTTwp32KQ78qpx7bUnPYxAgy92caJ",
"e_fog_hint": "0a546f862ccf5e96a89b3ede770a70aa26ce8be704a7e5a73fff02d16ee1f694297b6c17d2e668d6181df047ae68730dfc7913b28aca66450ee1de0ca3b0bedb07664918899848f217bcbbe48be2ef40074ae5dd0100",
"is_spent_recovered": false,
"key_image": "0a20784ab38c4541ce23abbec6744431d6ae14101c49c6535b3e9bf3fd728db13848",
"minted_account_id": null,
"object": "txo",
"confirmation": null,
"public_key": "0a20d803a979c9ec0531f106363a885dde29101fcd70209f9ed686905512dfd14d5f",
"received_account_id": "a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10",
"received_block_index": "79",
"spent_block_index": null,
"subaddress_index": "0",
"target_key": "0a209abadbfcec6c81b3d184dc104e51cac4c4faa8bab4da21a3714901519810c20d",
"txo_id": "58c2c3780792ccf9c51014c7688a71f03732b633f8c5dfa49040fa7f51328280",
"value_pmob": "4000000000000"
},
"b496f4f3ec3159bf48517aa7d9cda193ef8bfcac343f81eaed0e0a55849e4726": {
"account_status_map": {
"a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10": {
"txo_status": "secreted",
"txo_type": "minted"
}
},
"assigned_subaddress": null,
"e_fog_hint": "0a54338fcf8609cf80dfe017bee2339b22b626af2957ef579ae8829f3d8e7fab6c20365b6a99727fcd5e3de7784fca7e1cbb77ec35e7f2c39ea47ef6121716119ba5a67f8a6026a6a6274e7262ea8ea8280782440100",
"is_spent_recovered": false,
"key_image": null,
"minted_account_id": "a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10",
"object": "txo",
"confirmation": null,
"public_key": "0a209432c589bb4e5101c26e935b70930dfe45c78417527fb994872ebd65fcb9c116",
"received_account_id": null,
"received_block_index": null,
"spent_block_index": null,
"subaddress_index": null,
"target_key": "0a208c75723e9b9a4af0c833bfe190c43900c3b41834cf37024f5fecfbe9919dff23",
"txo_id": "b496f4f3ec3159bf48517aa7d9cda193ef8bfcac343f81eaed0e0a55849e4726",
"value_pmob": "980000000000"
}
}
},
"jsonrpc": "2.0",
"id": 1
}
Last updated
Was this helpful?