From 10ad4ed8d18957b1e3249100db2569e601d0a3d0 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 3 Sep 2020 17:13:55 -0300 Subject: [PATCH] update metadata.py --- lbry/service/metadata.py | 507 ++++++++++++++---------------- tests/unit/service/test_parser.py | 2 +- 2 files changed, 239 insertions(+), 270 deletions(-) diff --git a/lbry/service/metadata.py b/lbry/service/metadata.py index bfecd6a71..07693063c 100644 --- a/lbry/service/metadata.py +++ b/lbry/service/metadata.py @@ -1631,7 +1631,7 @@ interface = { ], "group": "channel", "cli": "channel create", - "help": "Create a new channel by generating a channel private key and establishing an '@' prefixed claim.\n\nUsage:\n channel create () ( | --bid=) [--allow_duplicate_name]\n [--email=] [--website_url=]\n [--cover_url=] [--featured=...] [--title=]\n [--description=<description>] [--thumbnail_url=<thumbnail_url>]\n [--tag=<tag>...] [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name of the channel prefixed with '@'\n --bid=<bid> : (str) amount to back the channel\n --allow_duplicate_name : (bool) create new channel even if one\n already exists with given name\n --email=<email> : (str) email of channel owner\n --website_url=<website_url> : (str) website url\n --cover_url=<cover_url> : (str) url to cover image\n --featured=<featured> : (str, list) claim_id(s) of featured content\n in channel\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) new channel transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Create a new channel by generating a channel private key and establishing an '@' prefixed claim.\n\nUsage:\n channel create (<name>) (<bid> | --bid=<bid>) [--allow_duplicate_name]\n [--email=<email>] [--website_url=<website_url>]\n [--cover_url=<cover_url>] [--featured=<featured>...] [--title=<title>]\n [--description=<description>] [--thumbnail_url=<thumbnail_url>]\n [--tag=<tag>...] [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name of the channel prefixed with '@'\n --bid=<bid> : (str) amount to back the channel\n --allow_duplicate_name : (bool) create new channel even if one\n already exists with given name\n --email=<email> : (str) email of channel owner\n --website_url=<website_url> : (str) website url\n --cover_url=<cover_url> : (str) url to cover image\n --featured=<featured> : (str, list) claim_id(s) of featured content\n in channel\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) new channel transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "channel_export": { "name": "export", @@ -2619,7 +2619,7 @@ interface = { ], "group": "channel", "cli": "channel update", - "help": "Update an existing channel claim.\n\nUsage:\n channel update (<claim_id> | --claim_id=<claim_id>) [<bid> | --bid=<bid>]\n [--new_signing_key] [--clear_featured]\n [--new_signing_key] [--clear_featured] [--email=<email>]\n [--website_url=<website_url>] [--cover_url=<cover_url>]\n [--featured=<featured>...] [--title=<title>]\n [--description=<description>] [--thumbnail_url=<thumbnail_url>]\n [--tag=<tag>...] [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>] [--replace]\n [--clear_tags] [--clear_languages] [--clear_locations]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the channel to update\n --bid=<bid> : (str) update amount backing the channel\n --new_signing_key : (bool) generate a new signing key, will\n invalidate all previous publishes\n --clear_featured : (bool) clear existing featured content\n (prior to adding new ones)\n --email=<email> : (str) email of channel owner\n --website_url=<website_url> : (str) website url\n --cover_url=<cover_url> : (str) url to cover image\n --featured=<featured> : (str, list) claim_id(s) of featured content\n in channel\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) transaction updating the channel\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Update an existing channel claim.\n\nUsage:\n channel update (<claim_id> | --claim_id=<claim_id>) [<bid> | --bid=<bid>]\n [--new_signing_key] [--clear_featured]\n [--new_signing_key] [--clear_featured] [--email=<email>]\n [--website_url=<website_url>] [--cover_url=<cover_url>]\n [--featured=<featured>...] [--title=<title>]\n [--description=<description>] [--thumbnail_url=<thumbnail_url>]\n [--tag=<tag>...] [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>] [--replace]\n [--clear_tags] [--clear_languages] [--clear_locations]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the channel to update\n --bid=<bid> : (str) update amount backing the channel\n --new_signing_key : (bool) generate a new signing key, will\n invalidate all previous publishes\n --clear_featured : (bool) clear existing featured content\n (prior to adding new ones)\n --email=<email> : (str) email of channel owner\n --website_url=<website_url> : (str) website url\n --cover_url=<cover_url> : (str) url to cover image\n --featured=<featured> : (str, list) claim_id(s) of featured content\n in channel\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) transaction updating the channel\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "claim_list": { "name": "list", @@ -2913,62 +2913,6 @@ interface = { ], "type": "int" }, - { - "name": "channel", - "desc": [ - "signed by this channel (argument is", - "a URL which automatically gets resolved),", - "see --channel_id if you need to filter by", - "multiple channels at the same time,", - "includes results with invalid signatures,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str" - }, - { - "name": "channel_id", - "desc": [ - "signed by any of these channels including invalid signatures,", - "implies --has_channel_signature,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str, list" - }, - { - "name": "not_channel_id", - "desc": [ - "exclude everything signed by any of these channels" - ], - "type": "str, list" - }, - { - "name": "has_channel_signature", - "desc": [ - "results with a channel signature (valid or invalid)" - ], - "default": False, - "type": "bool" - }, - { - "name": "valid_channel_signature", - "desc": [ - "results with a valid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with valid signatures" - ], - "default": False, - "type": "bool" - }, - { - "name": "invalid_channel_signature", - "desc": [ - "results with invalid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with invalid signatures" - ], - "default": False, - "type": "bool" - }, { "name": "page", "desc": [ @@ -3266,62 +3210,6 @@ interface = { ], "type": "int" }, - { - "name": "channel", - "desc": [ - "signed by this channel (argument is", - "a URL which automatically gets resolved),", - "see --channel_id if you need to filter by", - "multiple channels at the same time,", - "includes results with invalid signatures,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str" - }, - { - "name": "channel_id", - "desc": [ - "signed by any of these channels including invalid signatures,", - "implies --has_channel_signature,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str, list" - }, - { - "name": "not_channel_id", - "desc": [ - "exclude everything signed by any of these channels" - ], - "type": "str, list" - }, - { - "name": "has_channel_signature", - "desc": [ - "results with a channel signature (valid or invalid)" - ], - "default": False, - "type": "bool" - }, - { - "name": "valid_channel_signature", - "desc": [ - "results with a valid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with valid signatures" - ], - "default": False, - "type": "bool" - }, - { - "name": "invalid_channel_signature", - "desc": [ - "results with invalid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with invalid signatures" - ], - "default": False, - "type": "bool" - }, { "name": "page", "desc": [ @@ -3347,7 +3235,7 @@ interface = { ], "group": "claim", "cli": "claim list", - "help": "List my stream and channel claims.\n\nUsage:\n claim list [--account_id=<account_id>] [--wallet_id=<wallet_id>]\n [--is_spent] [--resolve] [--include_received_tips]\n [--name=<name>...] [--claim_id=<claim_id>...] [--text=<text>]\n [--txid=<txid>] [--nout=<nout>] [--height=<height>]\n [--timestamp=<timestamp>] [--creation_height=<creation_height>]\n [--creation_timestamp=<creation_timestamp>] [--amount=<amount>]\n [--any_tag=<any_tag>...] [--all_tag=<all_tag>...] [--not_tag=<not_tag>...]\n [--any_language=<any_language>...] [--all_language=<all_language>...]\n [--not_language=<not_language>...] [--any_location=<any_location>...]\n [--all_location=<all_location>...] [--not_location=<not_location>...]\n [--release_time=<release_time>] [--channel=<channel>]\n [--channel_id=<channel_id>...] [--not_channel_id=<not_channel_id>...]\n [--has_channel_signature] [--valid_channel_signature]\n [--invalid_channel_signature] [--stream_type=<stream_type>...]\n [--media_type=<media_type>...] [--fee_currency=<fee_currency>]\n [--fee_amount=<fee_amount>] [--duration=<duration>] [--channel=<channel>]\n [--channel_id=<channel_id>...] [--not_channel_id=<not_channel_id>...]\n [--has_channel_signature] [--valid_channel_signature]\n [--invalid_channel_signature] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --claim_type=<claim_type> : (str) claim type: channel, stream,\n repost, collection\n --account_id=<account_id> : (str) restrict operation to specific\n account, otherwise all accounts in wallet\n --wallet_id=<wallet_id> : (str) restrict operation to specific\n wallet\n --is_spent : (bool) shows previous claim updates and\n abandons\n --resolve : (bool) resolves each claim to provide\n additional metadata\n --include_received_tips : (bool) calculate the amount of tips\n recieved for claim outputs\n --name=<name> : (str, list) claim name (normalized)\n --claim_id=<claim_id> : (str, list) full or partial claim id\n --text=<text> : (str) full text search\n --txid=<txid> : (str) transaction id\n --nout=<nout> : (int) position in the transaction\n --height=<height> : (int) last updated block height (supports\n equality constraints)\n --timestamp=<timestamp> : (int) last updated timestamp (supports\n equality constraints)\n --creation_height=<creation_height> : (int) created at block height (supports\n equality constraints)\n --creation_timestamp=<creation_timestamp> : (int) created at timestamp (supports\n equality constraints)\n --amount=<amount> : (str) claim amount (supports equality\n constraints)\n --any_tag=<any_tag> : (str, list) containing any of the tags\n --all_tag=<all_tag> : (str, list) containing every tag\n --not_tag=<not_tag> : (str, list) not containing any of these\n tags\n --any_language=<any_language> : (str, list) containing any of the\n languages\n --all_language=<all_language> : (str, list) containing every language\n --not_language=<not_language> : (str, list) not containing any of these\n languages\n --any_location=<any_location> : (str, list) containing any of the\n locations\n --all_location=<all_location> : (str, list) containing every location\n --not_location=<not_location> : (str, list) not containing any of these\n locations\n --release_time=<release_time> : (int) limit to claims self-described as\n having been released to the public on or\n after this UTC timestamp, when claim does\n not provide a release time the publish\n time is used instead (supports equality\n constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with\n --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with\n --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --stream_type=<stream_type> : (str, list) filter by 'video', 'image',\n 'document', etc\n --media_type=<media_type> : (str, list) filter by 'video/mp4',\n 'image/png', etc\n --fee_currency=<fee_currency> : (str) specify fee currency# LBC, BTC, USD\n --fee_amount=<fee_amount> : (str) content download fee (supports\n equality constraints)\n --duration=<duration> : (int) duration of video or audio in\n seconds (supports equality constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with\n --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with\n --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for\n pagination\n --include_total : (bool) calculate total number of items\n and pages\n\nReturns:\n (Paginated[Output]) streams and channels in wallet\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" + "help": "List my stream and channel claims.\n\nUsage:\n claim list [--account_id=<account_id>] [--wallet_id=<wallet_id>]\n [--is_spent] [--resolve] [--include_received_tips]\n [--name=<name>...] [--claim_id=<claim_id>...] [--text=<text>]\n [--txid=<txid>] [--nout=<nout>] [--height=<height>]\n [--timestamp=<timestamp>] [--creation_height=<creation_height>]\n [--creation_timestamp=<creation_timestamp>] [--amount=<amount>]\n [--any_tag=<any_tag>...] [--all_tag=<all_tag>...] [--not_tag=<not_tag>...]\n [--any_language=<any_language>...] [--all_language=<all_language>...]\n [--not_language=<not_language>...] [--any_location=<any_location>...]\n [--all_location=<all_location>...] [--not_location=<not_location>...]\n [--release_time=<release_time>] [--channel=<channel>]\n [--channel_id=<channel_id>...] [--not_channel_id=<not_channel_id>...]\n [--has_channel_signature] [--valid_channel_signature]\n [--invalid_channel_signature] [--stream_type=<stream_type>...]\n [--media_type=<media_type>...] [--fee_currency=<fee_currency>]\n [--fee_amount=<fee_amount>] [--duration=<duration>] [--page=<page>]\n [--page_size=<page_size>] [--include_total]\n\nOptions:\n --claim_type=<claim_type> : (str) claim type: channel, stream,\n repost, collection\n --account_id=<account_id> : (str) restrict operation to specific\n account, otherwise all accounts in wallet\n --wallet_id=<wallet_id> : (str) restrict operation to specific\n wallet\n --is_spent : (bool) shows previous claim updates and\n abandons\n --resolve : (bool) resolves each claim to provide\n additional metadata\n --include_received_tips : (bool) calculate the amount of tips\n recieved for claim outputs\n --name=<name> : (str, list) claim name (normalized)\n --claim_id=<claim_id> : (str, list) full or partial claim id\n --text=<text> : (str) full text search\n --txid=<txid> : (str) transaction id\n --nout=<nout> : (int) position in the transaction\n --height=<height> : (int) last updated block height (supports\n equality constraints)\n --timestamp=<timestamp> : (int) last updated timestamp (supports\n equality constraints)\n --creation_height=<creation_height> : (int) created at block height (supports\n equality constraints)\n --creation_timestamp=<creation_timestamp> : (int) created at timestamp (supports\n equality constraints)\n --amount=<amount> : (str) claim amount (supports equality\n constraints)\n --any_tag=<any_tag> : (str, list) containing any of the tags\n --all_tag=<all_tag> : (str, list) containing every tag\n --not_tag=<not_tag> : (str, list) not containing any of these\n tags\n --any_language=<any_language> : (str, list) containing any of the\n languages\n --all_language=<all_language> : (str, list) containing every language\n --not_language=<not_language> : (str, list) not containing any of these\n languages\n --any_location=<any_location> : (str, list) containing any of the\n locations\n --all_location=<all_location> : (str, list) containing every location\n --not_location=<not_location> : (str, list) not containing any of these\n locations\n --release_time=<release_time> : (int) limit to claims self-described as\n having been released to the public on or\n after this UTC timestamp, when claim does\n not provide a release time the publish\n time is used instead (supports equality\n constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --stream_type=<stream_type> : (str, list) filter by 'video', 'image',\n 'document', etc\n --media_type=<media_type> : (str, list) filter by 'video/mp4',\n 'image/png', etc\n --fee_currency=<fee_currency> : (str) specify fee currency# LBC, BTC, USD\n --fee_amount=<fee_amount> : (str) content download fee (supports\n equality constraints)\n --duration=<duration> : (int) duration of video or audio in\n seconds (supports equality constraints)\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for\n pagination\n --include_total : (bool) calculate total number of items\n and pages\n\nReturns:\n (Paginated[Output]) streams and channels in wallet\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" }, "claim_search": { "name": "search", @@ -3369,7 +3257,8 @@ interface = { " [--trending_global=<trending_global]", " [--reposted_claim_id=<reposted_claim_id>] [--reposted=<reposted>]", " [--claim_type=<claim_type>] [--order_by=<order_by>...]", - " [--wallet_id=<wallet_id>] [--include_purchase_receipt] [--include_is_my_output]" + " [--wallet_id=<wallet_id>] [--include_purchase_receipt] [--include_is_my_output]", + " [--protobuf]" ], "kwargs": 17 }, @@ -3514,6 +3403,14 @@ interface = { ], "type": "str, list" }, + { + "name": "protobuf", + "desc": [ + "protobuf encoded result" + ], + "default": False, + "type": "bool" + }, { "name": "name", "desc": [ @@ -3748,62 +3645,6 @@ interface = { ], "type": "int" }, - { - "name": "channel", - "desc": [ - "signed by this channel (argument is", - "a URL which automatically gets resolved),", - "see --channel_id if you need to filter by", - "multiple channels at the same time,", - "includes results with invalid signatures,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str" - }, - { - "name": "channel_id", - "desc": [ - "signed by any of these channels including invalid signatures,", - "implies --has_channel_signature,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str, list" - }, - { - "name": "not_channel_id", - "desc": [ - "exclude everything signed by any of these channels" - ], - "type": "str, list" - }, - { - "name": "has_channel_signature", - "desc": [ - "results with a channel signature (valid or invalid)" - ], - "default": False, - "type": "bool" - }, - { - "name": "valid_channel_signature", - "desc": [ - "results with a valid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with valid signatures" - ], - "default": False, - "type": "bool" - }, - { - "name": "invalid_channel_signature", - "desc": [ - "results with invalid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with invalid signatures" - ], - "default": False, - "type": "bool" - }, { "name": "page", "desc": [ @@ -4101,62 +3942,6 @@ interface = { ], "type": "int" }, - { - "name": "channel", - "desc": [ - "signed by this channel (argument is", - "a URL which automatically gets resolved),", - "see --channel_id if you need to filter by", - "multiple channels at the same time,", - "includes results with invalid signatures,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str" - }, - { - "name": "channel_id", - "desc": [ - "signed by any of these channels including invalid signatures,", - "implies --has_channel_signature,", - "use in conjunction with --valid_channel_signature" - ], - "type": "str, list" - }, - { - "name": "not_channel_id", - "desc": [ - "exclude everything signed by any of these channels" - ], - "type": "str, list" - }, - { - "name": "has_channel_signature", - "desc": [ - "results with a channel signature (valid or invalid)" - ], - "default": False, - "type": "bool" - }, - { - "name": "valid_channel_signature", - "desc": [ - "results with a valid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with valid signatures" - ], - "default": False, - "type": "bool" - }, - { - "name": "invalid_channel_signature", - "desc": [ - "results with invalid channel signature or no signature,", - "use in conjunction with --has_channel_signature to", - "only get results with invalid signatures" - ], - "default": False, - "type": "bool" - }, { "name": "page", "desc": [ @@ -4182,7 +3967,7 @@ interface = { ], "group": "claim", "cli": "claim search", - "help": "Search for stream and channel claims on the blockchain.\nArguments marked with \"supports equality constraints\" allow prepending the\nvalue with an equality constraint such as '>', '>=', '<' and '<='\neg. --height=\">400000\" would limit results to only claims above 400k block height.\n\nUsage:\n claim search\n [--is_controlling] [--public_key_id=<public_key_id>]\n [--creation_height=<creation_height>]\n [--activation_height=<activation_height>] [--expiration_height=<expiration_height>]\n [--effective_amount=<effective_amount>]\n [--support_amount=<support_amount>] [--trending_group=<trending_group>]\n [--trending_mixed=<trending_mixed>] [--trending_local=<trending_local>]\n [--trending_global=<trending_global]\n [--reposted_claim_id=<reposted_claim_id>] [--reposted=<reposted>]\n [--claim_type=<claim_type>] [--order_by=<order_by>...]\n [--wallet_id=<wallet_id>] [--include_purchase_receipt] [--include_is_my_output]\n [--name=<name>...] [--claim_id=<claim_id>...] [--text=<text>]\n [--txid=<txid>] [--nout=<nout>] [--height=<height>]\n [--timestamp=<timestamp>] [--creation_height=<creation_height>]\n [--creation_timestamp=<creation_timestamp>] [--amount=<amount>]\n [--any_tag=<any_tag>...] [--all_tag=<all_tag>...]\n [--not_tag=<not_tag>...] [--any_language=<any_language>...]\n [--all_language=<all_language>...] [--not_language=<not_language>...]\n [--any_location=<any_location>...] [--all_location=<all_location>...]\n [--not_location=<not_location>...] [--release_time=<release_time>]\n [--channel=<channel>] [--channel_id=<channel_id>...]\n [--not_channel_id=<not_channel_id>...] [--has_channel_signature]\n [--valid_channel_signature] [--invalid_channel_signature]\n [--stream_type=<stream_type>...] [--media_type=<media_type>...]\n [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--duration=<duration>] [--channel=<channel>]\n [--channel_id=<channel_id>...] [--not_channel_id=<not_channel_id>...]\n [--has_channel_signature] [--valid_channel_signature]\n [--invalid_channel_signature] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --wallet_id=<wallet_id> : (str) wallet to check for claim purchase\n reciepts\n --claim_type=<claim_type> : (str) claim type: channel, stream,\n repost, collection\n --include_purchase_receipt : (bool) lookup and include a receipt if\n this wallet has purchased the claim\n --include_is_my_output : (bool) lookup and include a boolean\n indicating if claim being resolved is\n yours\n --is_controlling : (bool) winning claims of their respective\n name\n --activation_height=<activation_height> : (int) height at which claim starts\n competing for name (supports equality\n constraints)\n --expiration_height=<expiration_height> : (int) height at which claim will expire\n (supports equality constraints)\n --support_amount=<support_amount> : (str) limit by supports and tips received\n (supports equality constraints)\n --effective_amount=<effective_amount> : (str) limit by total value (initial claim\n value plus all tips and supports\n received), this amount is blank until\n claim has reached activation height\n (supports equality constraints)\n --trending_group=<trending_group> : (int) group numbers 1 through 4\n representing the trending groups of the\n content: 4 means content is trending\n globally and independently, 3 means\n content is not trending globally but is\n trending independently (locally), 2 means\n it is trending globally but not\n independently and 1 means it's not\n trending globally or locally (supports\n equality constraints)\n --trending_mixed=<trending_mixed> : (int) trending amount taken from the\n global or local value depending on the\n trending group: 4 - global value, 3 -\n local value, 2 - global value, 1 - local\n value (supports equality constraints)\n --trending_local=<trending_local> : (int) trending value calculated relative\n only to the individual contents past\n history (supports equality constraints)\n --trending_global=<trending_global> : (int) trending value calculated relative\n to all trending content globally\n (supports equality constraints)\n --public_key_id=<public_key_id> : (str) only return channels having this\n public key id, this is the same key as\n used in the wallet file to map channel\n certificate private keys:\n {'public_key_id': 'private key'}\n --reposted_claim_id=<reposted_claim_id> : (str) all reposts of the specified\n original claim id\n --reposted=<reposted> : (int) claims reposted this many times\n (supports equality constraints)\n --order_by=<order_by> : (str, list) field to order by, default is\n descending order, to do an ascending\n order prepend ^ to the field name, eg.\n '^amount' available fields: 'name',\n 'height', 'release_time', 'publish_time',\n 'amount', 'effective_amount',\n 'support_amount', 'trending_group',\n 'trending_mixed', 'trending_local',\n 'trending_global', 'activation_height'\n --name=<name> : (str, list) claim name (normalized)\n --claim_id=<claim_id> : (str, list) full or partial claim id\n --text=<text> : (str) full text search\n --txid=<txid> : (str) transaction id\n --nout=<nout> : (int) position in the transaction\n --height=<height> : (int) last updated block height (supports\n equality constraints)\n --timestamp=<timestamp> : (int) last updated timestamp (supports\n equality constraints)\n --creation_height=<creation_height> : (int) created at block height (supports\n equality constraints)\n --creation_timestamp=<creation_timestamp> : (int) created at timestamp (supports\n equality constraints)\n --amount=<amount> : (str) claim amount (supports equality\n constraints)\n --any_tag=<any_tag> : (str, list) containing any of the tags\n --all_tag=<all_tag> : (str, list) containing every tag\n --not_tag=<not_tag> : (str, list) not containing any of these\n tags\n --any_language=<any_language> : (str, list) containing any of the\n languages\n --all_language=<all_language> : (str, list) containing every language\n --not_language=<not_language> : (str, list) not containing any of these\n languages\n --any_location=<any_location> : (str, list) containing any of the\n locations\n --all_location=<all_location> : (str, list) containing every location\n --not_location=<not_location> : (str, list) not containing any of these\n locations\n --release_time=<release_time> : (int) limit to claims self-described as\n having been released to the public on or\n after this UTC timestamp, when claim does\n not provide a release time the publish\n time is used instead (supports equality\n constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with\n --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with\n --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --stream_type=<stream_type> : (str, list) filter by 'video', 'image',\n 'document', etc\n --media_type=<media_type> : (str, list) filter by 'video/mp4',\n 'image/png', etc\n --fee_currency=<fee_currency> : (str) specify fee currency# LBC, BTC, USD\n --fee_amount=<fee_amount> : (str) content download fee (supports\n equality constraints)\n --duration=<duration> : (int) duration of video or audio in\n seconds (supports equality constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with\n --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with\n --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for\n pagination\n --include_total : (bool) calculate total number of items\n and pages\n\nReturns:\n (Paginated[Output]) search results\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" + "help": "Search for stream and channel claims on the blockchain.\nArguments marked with \"supports equality constraints\" allow prepending the\nvalue with an equality constraint such as '>', '>=', '<' and '<='\neg. --height=\">400000\" would limit results to only claims above 400k block height.\n\nUsage:\n claim search\n [--is_controlling] [--public_key_id=<public_key_id>]\n [--creation_height=<creation_height>]\n [--activation_height=<activation_height>] [--expiration_height=<expiration_height>]\n [--effective_amount=<effective_amount>]\n [--support_amount=<support_amount>] [--trending_group=<trending_group>]\n [--trending_mixed=<trending_mixed>] [--trending_local=<trending_local>]\n [--trending_global=<trending_global]\n [--reposted_claim_id=<reposted_claim_id>] [--reposted=<reposted>]\n [--claim_type=<claim_type>] [--order_by=<order_by>...]\n [--wallet_id=<wallet_id>] [--include_purchase_receipt] [--include_is_my_output]\n [--protobuf]\n [--name=<name>...] [--claim_id=<claim_id>...] [--text=<text>]\n [--txid=<txid>] [--nout=<nout>] [--height=<height>]\n [--timestamp=<timestamp>] [--creation_height=<creation_height>]\n [--creation_timestamp=<creation_timestamp>] [--amount=<amount>]\n [--any_tag=<any_tag>...] [--all_tag=<all_tag>...]\n [--not_tag=<not_tag>...] [--any_language=<any_language>...]\n [--all_language=<all_language>...] [--not_language=<not_language>...]\n [--any_location=<any_location>...] [--all_location=<all_location>...]\n [--not_location=<not_location>...] [--release_time=<release_time>]\n [--channel=<channel>] [--channel_id=<channel_id>...]\n [--not_channel_id=<not_channel_id>...] [--has_channel_signature]\n [--valid_channel_signature] [--invalid_channel_signature]\n [--stream_type=<stream_type>...] [--media_type=<media_type>...]\n [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--duration=<duration>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --wallet_id=<wallet_id> : (str) wallet to check for claim purchase\n reciepts\n --claim_type=<claim_type> : (str) claim type: channel, stream,\n repost, collection\n --include_purchase_receipt : (bool) lookup and include a receipt if\n this wallet has purchased the claim\n --include_is_my_output : (bool) lookup and include a boolean\n indicating if claim being resolved is\n yours\n --is_controlling : (bool) winning claims of their respective\n name\n --activation_height=<activation_height> : (int) height at which claim starts\n competing for name (supports equality\n constraints)\n --expiration_height=<expiration_height> : (int) height at which claim will expire\n (supports equality constraints)\n --support_amount=<support_amount> : (str) limit by supports and tips received\n (supports equality constraints)\n --effective_amount=<effective_amount> : (str) limit by total value (initial claim\n value plus all tips and supports\n received), this amount is blank until\n claim has reached activation height\n (supports equality constraints)\n --trending_group=<trending_group> : (int) group numbers 1 through 4\n representing the trending groups of the\n content: 4 means content is trending\n globally and independently, 3 means\n content is not trending globally but is\n trending independently (locally), 2 means\n it is trending globally but not\n independently and 1 means it's not\n trending globally or locally (supports\n equality constraints)\n --trending_mixed=<trending_mixed> : (int) trending amount taken from the\n global or local value depending on the\n trending group: 4 - global value, 3 -\n local value, 2 - global value, 1 - local\n value (supports equality constraints)\n --trending_local=<trending_local> : (int) trending value calculated relative\n only to the individual contents past\n history (supports equality constraints)\n --trending_global=<trending_global> : (int) trending value calculated relative\n to all trending content globally\n (supports equality constraints)\n --public_key_id=<public_key_id> : (str) only return channels having this\n public key id, this is the same key as\n used in the wallet file to map channel\n certificate private keys:\n {'public_key_id': 'private key'}\n --reposted_claim_id=<reposted_claim_id> : (str) all reposts of the specified\n original claim id\n --reposted=<reposted> : (int) claims reposted this many times\n (supports equality constraints)\n --order_by=<order_by> : (str, list) field to order by, default is\n descending order, to do an ascending\n order prepend ^ to the field name, eg.\n '^amount' available fields: 'name',\n 'height', 'release_time', 'publish_time',\n 'amount', 'effective_amount',\n 'support_amount', 'trending_group',\n 'trending_mixed', 'trending_local',\n 'trending_global', 'activation_height'\n --protobuf : (bool) protobuf encoded result\n --name=<name> : (str, list) claim name (normalized)\n --claim_id=<claim_id> : (str, list) full or partial claim id\n --text=<text> : (str) full text search\n --txid=<txid> : (str) transaction id\n --nout=<nout> : (int) position in the transaction\n --height=<height> : (int) last updated block height (supports\n equality constraints)\n --timestamp=<timestamp> : (int) last updated timestamp (supports\n equality constraints)\n --creation_height=<creation_height> : (int) created at block height (supports\n equality constraints)\n --creation_timestamp=<creation_timestamp> : (int) created at timestamp (supports\n equality constraints)\n --amount=<amount> : (str) claim amount (supports equality\n constraints)\n --any_tag=<any_tag> : (str, list) containing any of the tags\n --all_tag=<all_tag> : (str, list) containing every tag\n --not_tag=<not_tag> : (str, list) not containing any of these\n tags\n --any_language=<any_language> : (str, list) containing any of the\n languages\n --all_language=<all_language> : (str, list) containing every language\n --not_language=<not_language> : (str, list) not containing any of these\n languages\n --any_location=<any_location> : (str, list) containing any of the\n locations\n --all_location=<all_location> : (str, list) containing every location\n --not_location=<not_location> : (str, list) not containing any of these\n locations\n --release_time=<release_time> : (int) limit to claims self-described as\n having been released to the public on or\n after this UTC timestamp, when claim does\n not provide a release time the publish\n time is used instead (supports equality\n constraints)\n --channel=<channel> : (str) signed by this channel (argument is\n a URL which automatically gets resolved),\n see --channel_id if you need to filter by\n multiple channels at the same time,\n includes results with invalid signatures,\n use in conjunction with --valid_channel_signature\n --channel_id=<channel_id> : (str, list) signed by any of these\n channels including invalid signatures,\n implies --has_channel_signature, use in\n conjunction with --valid_channel_signature\n --not_channel_id=<not_channel_id> : (str, list) exclude everything signed by\n any of these channels\n --has_channel_signature : (bool) results with a channel signature\n (valid or invalid)\n --valid_channel_signature : (bool) results with a valid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with valid signatures\n --invalid_channel_signature : (bool) results with invalid channel\n signature or no signature, use in\n conjunction with --has_channel_signature\n to only get results with invalid\n signatures\n --stream_type=<stream_type> : (str, list) filter by 'video', 'image',\n 'document', etc\n --media_type=<media_type> : (str, list) filter by 'video/mp4',\n 'image/png', etc\n --fee_currency=<fee_currency> : (str) specify fee currency# LBC, BTC, USD\n --fee_amount=<fee_amount> : (str) content download fee (supports\n equality constraints)\n --duration=<duration> : (int) duration of video or audio in\n seconds (supports equality constraints)\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for\n pagination\n --include_total : (bool) calculate total number of items\n and pages\n\nReturns:\n (Paginated[Output]) search results\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" }, "collection_abandon": { "name": "abandon", @@ -4724,7 +4509,7 @@ interface = { ], "group": "collection", "cli": "collection create", - "help": "Create a new collection.\n\nUsage:\n collection create (<name> | --name=<name>) (<bid> | --bid=<bid>)\n (<claims>... | --claims=<claims>...) [--allow_duplicate_name]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the stream (can only consist\n of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the content\n --claims=<claims> : (str, list) claim ids to be included in the\n collection\n --allow_duplicate_name : (bool) create new collection even if one\n already exists with given name\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) \n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Create a new collection.\n\nUsage:\n collection create (<name> | --name=<name>) (<bid> | --bid=<bid>)\n (<claims>... | --claims=<claims>...) [--allow_duplicate_name]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the stream (can only consist\n of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the content\n --claims=<claims> : (str, list) claim ids to be included in the\n collection\n --allow_duplicate_name : (bool) create new collection even if one\n already exists with given name\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) \n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "collection_list": { "name": "list", @@ -5675,7 +5460,7 @@ interface = { ], "group": "collection", "cli": "collection update", - "help": "Update an existing collection claim.\n\nUsage:\n collection update (<claim_id> | --claim_id=<claim_id>) [--bid=<bid>]\n [--claims=<claims>...] [--clear_claims]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--replace] [--clear_tags] [--clear_languages] [--clear_locations]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the collection to update\n --bid=<bid> : (str) amount to back the collection\n --claims=<claims> : (str, list) claim ids to be included in the\n collection\n --clear_claims : (bool) clear existing claims (prior to\n adding new ones)\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) updated collection transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Update an existing collection claim.\n\nUsage:\n collection update (<claim_id> | --claim_id=<claim_id>) [--bid=<bid>]\n [--claims=<claims>...] [--clear_claims]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--replace] [--clear_tags] [--clear_languages] [--clear_locations]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the collection to update\n --bid=<bid> : (str) amount to back the collection\n --claims=<claims> : (str, list) claim ids to be included in the\n collection\n --clear_claims : (bool) clear existing claims (prior to\n adding new ones)\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) updated collection transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "comment_abandon": { "name": "abandon", @@ -8235,7 +8020,7 @@ interface = { } ], "cli": "publish", - "help": "Create or replace a stream claim at a given name (use 'stream create/update' for more control).\n\nUsage:\n publish (<name> | --name=<name>) [--bid=<bid>]\n [--clear_fee] [--clear_channel] [--file_path=<file_path>] [--validate_file]\n [--optimize_file] [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--fee_address=<fee_address>] [--author=<author>] [--license=<license>]\n [--license_url=<license_url>] [--release_time=<release_time>]\n [--width=<width>] [--height=<height>] [--duration=<duration>]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...] [--language=<language>...]\n [--location=<location>...] [--account_id=<account_id>]\n [--claim_address=<claim_address>] [--channel_id=<channel_id>]\n [--channel_name=<channel_name>] [--replace] [--clear_tags] [--clear_languages]\n [--clear_locations] [--wallet_id=<wallet_id>]\n [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the content (can only\n consist of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the stream\n --clear_fee : (bool) clear fee\n --clear_channel : (bool) clear channel signature\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) transaction for the published claim\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Create or replace a stream claim at a given name (use 'stream create/update' for more control).\n\nUsage:\n publish (<name> | --name=<name>) [--bid=<bid>]\n [--clear_fee] [--clear_channel] [--file_path=<file_path>] [--validate_file]\n [--optimize_file] [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--fee_address=<fee_address>] [--author=<author>] [--license=<license>]\n [--license_url=<license_url>] [--release_time=<release_time>]\n [--width=<width>] [--height=<height>] [--duration=<duration>]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...] [--language=<language>...]\n [--location=<location>...] [--account_id=<account_id>]\n [--claim_address=<claim_address>] [--channel_id=<channel_id>]\n [--channel_name=<channel_name>] [--replace] [--clear_tags] [--clear_languages]\n [--clear_locations] [--wallet_id=<wallet_id>]\n [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the content (can only\n consist of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the stream\n --clear_fee : (bool) clear fee\n --clear_channel : (bool) clear channel signature\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) transaction for the published claim\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "purchase_create": { "name": "create", @@ -8549,7 +8334,8 @@ interface = { " [--include_is_my_output]", " [--include_sent_supports]", " [--include_sent_tips]", - " [--include_received_tips]" + " [--include_received_tips]", + " [--protobuf]" ], "returns": [ " '<url>': {", @@ -8663,6 +8449,14 @@ interface = { ], "default": False, "type": "bool" + }, + { + "name": "protobuf", + "desc": [ + "protobuf encoded result" + ], + "default": False, + "type": "bool" } ], "returns": { @@ -8672,7 +8466,7 @@ interface = { "type": "dict" }, "cli": "resolve", - "help": "Get the claim that a URL refers to.\n\nUsage:\n resolve <urls>... [--wallet_id=<wallet_id>]\n [--include_purchase_receipt]\n [--include_is_my_output]\n [--include_sent_supports]\n [--include_sent_tips]\n [--include_received_tips]\n\nOptions:\n --urls=<urls> : (str, list) one or more urls to resolve\n --wallet_id=<wallet_id> : (str) wallet to check for claim purchase reciepts\n --include_purchase_receipt : (bool) lookup and include a receipt if this wallet has\n purchased the claim being resolved\n --include_is_my_output : (bool) lookup and include a boolean indicating if claim\n being resolved is yours\n --include_sent_supports : (bool) lookup and sum the total amount of supports\n you've made to this claim\n --include_sent_tips : (bool) lookup and sum the total amount of tips you've\n made to this claim\n --include_received_tips : (bool) lookup and sum the total amount of tips you've\n received to this claim\n\nReturns:\n (dict) resolve results, keyed by url\n '<url>': {\n If a resolution error occurs:\n 'error': Error message\n If the url resolves to a channel or a claim in a channel:\n 'certificate': {\n 'address': (str) claim address,\n 'amount': (float) claim amount,\n 'effective_amount': (float) claim amount including supports,\n 'claim_id': (str) claim id,\n 'claim_sequence': (int) claim sequence number (or -1 if unknown),\n 'decoded_claim': (bool) whether or not the claim value was decoded,\n 'height': (int) claim height,\n 'confirmations': (int) claim depth,\n 'timestamp': (int) timestamp of the block that included this claim tx,\n 'has_signature': (bool) included if decoded_claim\n 'name': (str) claim name,\n 'permanent_url': (str) permanent url of the certificate claim,\n 'supports: (list) list of supports [{'txid': (str) txid,\n 'nout': (int) nout,\n 'amount': (float) amount}],\n 'txid': (str) claim txid,\n 'nout': (str) claim nout,\n 'signature_is_valid': (bool), included if has_signature,\n 'value': ClaimDict if decoded, otherwise hex string\n }\n If the url resolves to a channel:\n 'claims_in_channel': (int) number of claims in the channel,\n If the url resolves to a claim:\n 'claim': {\n 'address': (str) claim address,\n 'amount': (float) claim amount,\n 'effective_amount': (float) claim amount including supports,\n 'claim_id': (str) claim id,\n 'claim_sequence': (int) claim sequence number (or -1 if unknown),\n 'decoded_claim': (bool) whether or not the claim value was decoded,\n 'height': (int) claim height,\n 'depth': (int) claim depth,\n 'has_signature': (bool) included if decoded_claim\n 'name': (str) claim name,\n 'permanent_url': (str) permanent url of the claim,\n 'channel_name': (str) channel name if claim is in a channel\n 'supports: (list) list of supports [{'txid': (str) txid,\n 'nout': (int) nout,\n 'amount': (float) amount}]\n 'txid': (str) claim txid,\n 'nout': (str) claim nout,\n 'signature_is_valid': (bool), included if has_signature,\n 'value': ClaimDict if decoded, otherwise hex string\n }\n }" + "help": "Get the claim that a URL refers to.\n\nUsage:\n resolve <urls>... [--wallet_id=<wallet_id>]\n [--include_purchase_receipt]\n [--include_is_my_output]\n [--include_sent_supports]\n [--include_sent_tips]\n [--include_received_tips]\n [--protobuf]\n\nOptions:\n --urls=<urls> : (str, list) one or more urls to resolve\n --wallet_id=<wallet_id> : (str) wallet to check for claim purchase reciepts\n --include_purchase_receipt : (bool) lookup and include a receipt if this wallet has\n purchased the claim being resolved\n --include_is_my_output : (bool) lookup and include a boolean indicating if claim\n being resolved is yours\n --include_sent_supports : (bool) lookup and sum the total amount of supports\n you've made to this claim\n --include_sent_tips : (bool) lookup and sum the total amount of tips you've\n made to this claim\n --include_received_tips : (bool) lookup and sum the total amount of tips you've\n received to this claim\n --protobuf : (bool) protobuf encoded result\n\nReturns:\n (dict) resolve results, keyed by url\n '<url>': {\n If a resolution error occurs:\n 'error': Error message\n If the url resolves to a channel or a claim in a channel:\n 'certificate': {\n 'address': (str) claim address,\n 'amount': (float) claim amount,\n 'effective_amount': (float) claim amount including supports,\n 'claim_id': (str) claim id,\n 'claim_sequence': (int) claim sequence number (or -1 if unknown),\n 'decoded_claim': (bool) whether or not the claim value was decoded,\n 'height': (int) claim height,\n 'confirmations': (int) claim depth,\n 'timestamp': (int) timestamp of the block that included this claim tx,\n 'has_signature': (bool) included if decoded_claim\n 'name': (str) claim name,\n 'permanent_url': (str) permanent url of the certificate claim,\n 'supports: (list) list of supports [{'txid': (str) txid,\n 'nout': (int) nout,\n 'amount': (float) amount}],\n 'txid': (str) claim txid,\n 'nout': (str) claim nout,\n 'signature_is_valid': (bool), included if has_signature,\n 'value': ClaimDict if decoded, otherwise hex string\n }\n If the url resolves to a channel:\n 'claims_in_channel': (int) number of claims in the channel,\n If the url resolves to a claim:\n 'claim': {\n 'address': (str) claim address,\n 'amount': (float) claim amount,\n 'effective_amount': (float) claim amount including supports,\n 'claim_id': (str) claim id,\n 'claim_sequence': (int) claim sequence number (or -1 if unknown),\n 'decoded_claim': (bool) whether or not the claim value was decoded,\n 'height': (int) claim height,\n 'depth': (int) claim depth,\n 'has_signature': (bool) included if decoded_claim\n 'name': (str) claim name,\n 'permanent_url': (str) permanent url of the claim,\n 'channel_name': (str) channel name if claim is in a channel\n 'supports: (list) list of supports [{'txid': (str) txid,\n 'nout': (int) nout,\n 'amount': (float) amount}]\n 'txid': (str) claim txid,\n 'nout': (str) claim nout,\n 'signature_is_valid': (bool), included if has_signature,\n 'value': ClaimDict if decoded, otherwise hex string\n }\n }" }, "routing_table_get": { "name": "routing_table_get", @@ -9656,7 +9450,7 @@ interface = { ], "group": "stream", "cli": "stream create", - "help": "Make a new stream claim and announce the associated file to lbrynet.\n\nUsage:\n stream create (<name> | --name=<name>) (<bid> | --bid=<bid>) [--allow_duplicate_name]\n [--file_path=<file_path>] [--validate_file] [--optimize_file]\n [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--fee_address=<fee_address>] [--author=<author>] [--license=<license>]\n [--license_url=<license_url>] [--release_time=<release_time>]\n [--width=<width>] [--height=<height>] [--duration=<duration>]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the stream (can only consist\n of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the content\n --allow_duplicate_name : (bool) create new stream even if one\n already exists with given name\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) \n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Make a new stream claim and announce the associated file to lbrynet.\n\nUsage:\n stream create (<name> | --name=<name>) (<bid> | --bid=<bid>) [--allow_duplicate_name]\n [--file_path=<file_path>] [--validate_file] [--optimize_file]\n [--fee_currency=<fee_currency>] [--fee_amount=<fee_amount>]\n [--fee_address=<fee_address>] [--author=<author>] [--license=<license>]\n [--license_url=<license_url>] [--release_time=<release_time>]\n [--width=<width>] [--height=<height>] [--duration=<duration>]\n [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --name=<name> : (str) name for the stream (can only consist\n of a-z A-Z 0-9 and -(dash))\n --bid=<bid> : (str) amount to back the content\n --allow_duplicate_name : (bool) create new stream even if one\n already exists with given name\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) \n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "stream_list": { "name": "list", @@ -10920,7 +10714,7 @@ interface = { ], "group": "stream", "cli": "stream update", - "help": "Update an existing stream claim and if a new file is provided announce it to lbrynet.\n\nUsage:\n stream update (<claim_id> | --claim_id=<claim_id>) [--bid=<bid>]\n [--clear_fee] [--clear_channel] [--file_path=<file_path>]\n [--validate_file] [--optimize_file] [--fee_currency=<fee_currency>]\n [--fee_amount=<fee_amount>] [--fee_address=<fee_address>]\n [--author=<author>] [--license=<license>] [--license_url=<license_url>]\n [--release_time=<release_time>] [--width=<width>] [--height=<height>]\n [--duration=<duration>] [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>] [--replace]\n [--clear_tags] [--clear_languages] [--clear_locations]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the stream to update\n --bid=<bid> : (str) update amount backing the stream\n --clear_fee : (bool) clear fee\n --clear_channel : (bool) clear channel signature\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ...\n --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) stream update transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" + "help": "Update an existing stream claim and if a new file is provided announce it to lbrynet.\n\nUsage:\n stream update (<claim_id> | --claim_id=<claim_id>) [--bid=<bid>]\n [--clear_fee] [--clear_channel] [--file_path=<file_path>]\n [--validate_file] [--optimize_file] [--fee_currency=<fee_currency>]\n [--fee_amount=<fee_amount>] [--fee_address=<fee_address>]\n [--author=<author>] [--license=<license>] [--license_url=<license_url>]\n [--release_time=<release_time>] [--width=<width>] [--height=<height>]\n [--duration=<duration>] [--title=<title>] [--description=<description>]\n [--thumbnail_url=<thumbnail_url>] [--tag=<tag>...]\n [--language=<language>...] [--location=<location>...]\n [--account_id=<account_id>] [--claim_address=<claim_address>]\n [--channel_id=<channel_id>] [--channel_name=<channel_name>] [--replace]\n [--clear_tags] [--clear_languages] [--clear_locations]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --claim_id=<claim_id> : (str) claim_id of the stream to update\n --bid=<bid> : (str) update amount backing the stream\n --clear_fee : (bool) clear fee\n --clear_channel : (bool) clear channel signature\n --file_path=<file_path> : (str) path to file to be associated with\n name.\n --validate_file : (bool) validate that the video container\n and encodings match common web browser\n support or that optimization succeeds if\n specified. FFmpeg is required\n --optimize_file : (bool) transcode the video & audio if\n necessary to ensure common web browser\n support. FFmpeg is required\n --fee_currency=<fee_currency> : (str) specify fee currency\n --fee_amount=<fee_amount> : (str) content download fee\n --fee_address=<fee_address> : (str) address where to send fee payments,\n will use the claim holding address by\n default\n --author=<author> : (str) author of the publication. The usage\n for this field is not the same as for\n channels. The author field is used to\n credit an author who is not the publisher\n and is not represented by the channel. For\n example, a pdf file of 'The Odyssey' has an\n author of 'Homer' but may by published to a\n channel such as '@classics', or to no\n channel at all\n --license=<license> : (str) publication license\n --license_url=<license_url> : (str) publication license url\n --release_time=<release_time> : (int) original public release of content,\n seconds since UNIX epoch\n --width=<width> : (int) image/video width, automatically\n calculated from media file\n --height=<height> : (int) image/video height, automatically\n calculated from media file\n --duration=<duration> : (int) audio/video duration in seconds,\n automatically calculated\n --title=<title> : (str)\n --description=<description> : (str)\n --thumbnail_url=<thumbnail_url> : (str) url to thumbnail image\n --tag=<tag> : (str, list)\n --language=<language> : (str, list) languages used by the channel,\n using RFC 5646 format, eg: for English\n `--language=en` for Spanish (Spain)\n `--language=es-ES` for Spanish (Mexican)\n `--language=es-MX` for Chinese (Simplified)\n `--language=zh-Hans` for Chinese\n (Traditional) `--language=zh-Hant`\n --location=<location> : (str, list) locations of the channel,\n consisting of 2 letter `country` code and a\n `state`, `city` and a postal `code` along\n with a `latitude` and `longitude`. for JSON\n RPC: pass a dictionary with aforementioned\n attributes as keys, eg: ... \"locations\":\n [{'country': 'US', 'state': 'NH'}] ... for\n command line: pass a colon delimited list\n with values in the following order: \"COUNTR\n Y:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n making sure to include colon for blank\n values, for example to provide only the\n city: ... --locations=\"::Manchester\" with\n all values set: ... --locations=\"US:NH:Manc\n hester:03101:42.990605:-71.460989\"\n optionally, you can just pass the\n \"LATITUDE:LONGITUDE\": ... --locations=\"42.990605:-71.460989\" finally,\n you can also pass JSON string of dictionary\n on the command line as you would via JSON\n RPC ... --locations=\"{'country': 'US',\n 'state': 'NH'}\"\n --account_id=<account_id> : (str) account to hold the claim\n --claim_address=<claim_address> : (str) specific address where the claim is\n held, if not specified it will be\n determined automatically from the account\n --channel_id=<channel_id> : (str) claim id of the publishing channel\n --channel_name=<channel_name> : (str) name of publishing channel\n --replace : (bool) instead of modifying specific values\n on the claim, this will clear all existing\n values and only save passed in values,\n useful for form submissions where all\n values are always set\n --clear_tags : (bool) clear existing tags (prior to adding\n new ones)\n --clear_languages : (bool) clear existing languages (prior to\n adding new ones)\n --clear_locations : (bool) clear existing locations (prior to\n adding new ones)\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (Transaction) stream update transaction\n {\n \"txid\": \"hash of transaction in hex\",\n \"height\": \"block where transaction was recorded\",\n \"inputs\": [\n \"spent outputs...\"\n ],\n \"outputs\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ],\n \"total_input\": \"sum of inputs as a decimal\",\n \"total_output\": \"sum of outputs, sans fee, as a decimal\",\n \"total_fee\": \"fee amount\",\n \"hex\": \"entire transaction encoded in hex\"\n }" }, "support_abandon": { "name": "abandon", @@ -11454,6 +11248,209 @@ interface = { "cli": "support list", "help": "List staked supports and sent/received tips.\n\nUsage:\n support list [<account_id> | --account_id=<account_id>] [--wallet_id=<wallet_id>]\n [--name=<name>...] [--claim_id=<claim_id>...]\n [--received | --sent | --staked] [--is_spent]\n [--page=<page>] [--page_size=<page_size>] [--include_total]\n\nOptions:\n --account_id=<account_id> : (str) restrict operation to specific account\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --name=<name> : (str, list) support for specific claim name(s)\n --claim_id=<claim_id> : (str, list) support for specific claim id(s)\n --received : (bool) only show received (tips)\n --sent : (bool) only show sent (tips)\n --staked : (bool) only show my staked supports\n --is_spent : (bool) show abandoned supports\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) \n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" }, + "support_search": { + "name": "search", + "desc": { + "text": [ + "Search for supports on the blockchain.", + "Arguments marked with \"supports equality constraints\" allow prepending the", + "value with an equality constraint such as '>', '>=', '<' and '<='", + "eg. --height=\">400000\" would limit results to only supports above 400k block height." + ], + "usage": [ + " support search [--wallet_id=<wallet_id>] [--order_by=<order_by>...]" + ], + "kwargs": 19 + }, + "arguments": [ + { + "name": "wallet_id", + "desc": [ + "wallet to check if support is owned by user" + ], + "type": "str" + }, + { + "name": "order_by", + "desc": [ + "field to order by" + ], + "type": "str, list" + }, + { + "name": "claim_id", + "desc": [ + "full claim id" + ], + "type": "str, list" + }, + { + "name": "txid", + "desc": [ + "transaction id" + ], + "type": "str" + }, + { + "name": "nout", + "desc": [ + "position in the transaction" + ], + "type": "int" + }, + { + "name": "height", + "desc": [ + "last updated block height (supports equality constraints)" + ], + "type": "int" + }, + { + "name": "timestamp", + "desc": [ + "last updated timestamp (supports equality constraints)" + ], + "type": "int" + }, + { + "name": "amount", + "desc": [ + "claim amount (supports equality constraints)" + ], + "type": "str" + }, + { + "name": "page", + "desc": [ + "page to return for paginating" + ], + "type": "int" + }, + { + "name": "page_size", + "desc": [ + "number of items on page for pagination" + ], + "type": "int" + }, + { + "name": "include_total", + "desc": [ + "calculate total number of items and pages" + ], + "default": False, + "type": "bool" + } + ], + "returns": { + "desc": [ + "search results" + ], + "type": "Paginated[Output]", + "json": { + "page": "Page number of the current items.", + "page_size": "Number of items to show on a page.", + "total_pages": "Total number of pages.", + "total_items": "Total number of items.", + "items": [ + { + "txid": "hash of transaction in hex", + "nout": "position in the transaction", + "height": "block where transaction was recorded", + "amount": "value of the txo as a decimal", + "address": "address of who can spend the txo", + "confirmations": "number of confirmed blocks", + "is_change": "payment to change address, only available when it can be determined", + "is_received": "true if txo was sent from external account to this account", + "is_spent": "true if txo is spent", + "is_mine": "payment to one of your accounts, only available when it can be determined", + "type": "one of 'claim', 'support' or 'purchase'", + "name": "when type is 'claim' or 'support', this is the claim name", + "claim_id": "when type is 'claim', 'support' or 'purchase', this is the claim id", + "claim_op": "when type is 'claim', this determines if it is 'create' or 'update'", + "value": "when type is 'claim' or 'support' with payload, this is the decoded protobuf payload", + "value_type": "determines the type of the 'value' field: 'channel', 'stream', etc", + "protobuf": "hex encoded raw protobuf version of 'value' field", + "permanent_url": "when type is 'claim' or 'support', this is the long permanent claim URL", + "claim": "for purchase outputs only, metadata of purchased claim", + "reposted_claim": "for repost claims only, metadata of claim being reposted", + "signing_channel": "for signed claims only, metadata of signing channel", + "is_channel_signature_valid": "for signed claims only, whether signature is valid", + "purchase_receipt": "metadata for the purchase transaction associated with this claim" + } + ] + } + }, + "kwargs": [ + { + "name": "claim_id", + "desc": [ + "full claim id" + ], + "type": "str, list" + }, + { + "name": "txid", + "desc": [ + "transaction id" + ], + "type": "str" + }, + { + "name": "nout", + "desc": [ + "position in the transaction" + ], + "type": "int" + }, + { + "name": "height", + "desc": [ + "last updated block height (supports equality constraints)" + ], + "type": "int" + }, + { + "name": "timestamp", + "desc": [ + "last updated timestamp (supports equality constraints)" + ], + "type": "int" + }, + { + "name": "amount", + "desc": [ + "claim amount (supports equality constraints)" + ], + "type": "str" + }, + { + "name": "page", + "desc": [ + "page to return for paginating" + ], + "type": "int" + }, + { + "name": "page_size", + "desc": [ + "number of items on page for pagination" + ], + "type": "int" + }, + { + "name": "include_total", + "desc": [ + "calculate total number of items and pages" + ], + "default": False, + "type": "bool" + } + ], + "group": "support", + "cli": "support search", + "help": "Search for supports on the blockchain.\nArguments marked with \"supports equality constraints\" allow prepending the\nvalue with an equality constraint such as '>', '>=', '<' and '<='\neg. --height=\">400000\" would limit results to only supports above 400k block height.\n\nUsage:\n support search [--wallet_id=<wallet_id>] [--order_by=<order_by>...]\n [--claim_id=<claim_id>...] [--txid=<txid>] [--nout=<nout>]\n [--height=<height>] [--timestamp=<timestamp>] [--amount=<amount>]\n [--page=<page>] [--page_size=<page_size>] [--include_total]\n\nOptions:\n --wallet_id=<wallet_id> : (str) wallet to check if support is owned by user\n --order_by=<order_by> : (str, list) field to order by\n --claim_id=<claim_id> : (str, list) full claim id\n --txid=<txid> : (str) transaction id\n --nout=<nout> : (int) position in the transaction\n --height=<height> : (int) last updated block height (supports equality\n constraints)\n --timestamp=<timestamp> : (int) last updated timestamp (supports equality\n constraints)\n --amount=<amount> : (str) claim amount (supports equality constraints)\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) search results\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" + }, "sync_apply": { "name": "apply", "desc": { @@ -12128,7 +12125,7 @@ interface = { ], "group": "txo", "cli": "txo list", - "help": "List my transaction outputs.\n\nUsage:\n txo list [--include_received_tips] [--resolve] [--order_by]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --include_received_tips : (bool) calculate the amount of tips recieved for claim\n outputs\n --resolve : (bool) resolves each claim to provide additional\n metadata\n --order_by=<order_by> : (str) field to order by: 'name', 'height', 'amount'\n and 'none'\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output\n --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) \n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" + "help": "List my transaction outputs.\n\nUsage:\n txo list [--include_received_tips] [--resolve] [--order_by]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --include_received_tips : (bool) calculate the amount of tips recieved for claim\n outputs\n --resolve : (bool) resolves each claim to provide additional\n metadata\n --order_by=<order_by> : (str) field to order by: 'name', 'height', 'amount'\n and 'none'\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) \n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" }, "txo_plot": { "name": "plot", @@ -12463,7 +12460,7 @@ interface = { ], "group": "txo", "cli": "txo plot", - "help": "Plot transaction output sum over days.\n\nUsage:\n txo_plot [--days_back=<days_back> |\n [--start_day=<start_day> [--days_after=<days_after> | --end_day=<end_day>]]\n ]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --days_back=<days_back> : (int) number of days back from today (not compatible\n with --start_day, --days_after, --end_day) [default:\n 0]\n --start_day=<start_day> : (str) start on specific date (YYYY-MM-DD) (instead of\n --days_back)\n --days_after=<days_after> : (int) end number of days after --start_day (instead of\n --end_day)\n --end_day=<end_day> : (str) end on specific date (YYYY-MM-DD) (instead of\n --days_after)\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output\n --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (List) " + "help": "Plot transaction output sum over days.\n\nUsage:\n txo_plot [--days_back=<days_back> |\n [--start_day=<start_day> [--days_after=<days_after> | --end_day=<end_day>]]\n ]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --days_back=<days_back> : (int) number of days back from today (not compatible\n with --start_day, --days_after, --end_day) [default:\n 0]\n --start_day=<start_day> : (str) start on specific date (YYYY-MM-DD) (instead of --days_back)\n --days_after=<days_after> : (int) end number of days after --start_day (instead of --end_day)\n --end_day=<end_day> : (str) end on specific date (YYYY-MM-DD) (instead of --days_after)\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (List) " }, "txo_spend": { "name": "spend", @@ -12611,13 +12608,6 @@ interface = { ], "type": "str" }, - { - "name": "wallet_id", - "desc": [ - "restrict operation to specific wallet" - ], - "type": "str" - }, { "name": "change_account_id", "desc": [ @@ -12772,13 +12762,6 @@ interface = { ], "type": "str" }, - { - "name": "wallet_id", - "desc": [ - "restrict operation to specific wallet" - ], - "type": "str" - }, { "name": "change_account_id", "desc": [ @@ -12812,7 +12795,7 @@ interface = { ], "group": "txo", "cli": "txo spend", - "help": "Spend transaction outputs, batching into multiple transactions as necessary.\n\nUsage:\n txo spend [--batch_size=<batch_size>] [--include_full_tx]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--wallet_id=<wallet_id>]\n [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --batch_size=<batch_size> : (int) number of txos to spend per\n transactions [default: 500]\n --include_full_tx : (bool) include entire tx in output and not\n just the txid\n --type=<type> : (str, list) claim type: stream, channel,\n support, purchase, collection, repost,\n other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your\n outputs, if using this flag the other\n related flags are ignored (--is_my_output,\n --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are\n exactly this combination: \"--is_my_input\n --is_my_output --type=other\" this allows to\n exclude \"change\" payments, this flag can be\n used in combination with any of the other\n flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to\n query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (List[Transaction]) " + "help": "Spend transaction outputs, batching into multiple transactions as necessary.\n\nUsage:\n txo spend [--batch_size=<batch_size>] [--include_full_tx]\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --batch_size=<batch_size> : (int) number of txos to spend per\n transactions [default: 500]\n --include_full_tx : (bool) include entire tx in output and not\n just the txid\n --type=<type> : (str, list) claim type: stream, channel,\n support, purchase, collection, repost,\n other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your\n outputs, if using this flag the other\n related flags are ignored (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are\n exactly this combination: \"--is_my_input --is_my_output --type=other\" this allows to\n exclude \"change\" payments, this flag can be\n used in combination with any of the other\n flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to\n query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (List[Transaction]) " }, "txo_sum": { "name": "sum", @@ -12944,13 +12927,6 @@ interface = { ], "type": "str" }, - { - "name": "wallet_id", - "desc": [ - "restrict operation to specific wallet" - ], - "type": "str" - }, { "name": "change_account_id", "desc": [ @@ -13107,13 +13083,6 @@ interface = { ], "type": "str" }, - { - "name": "wallet_id", - "desc": [ - "restrict operation to specific wallet" - ], - "type": "str" - }, { "name": "change_account_id", "desc": [ @@ -13147,7 +13116,7 @@ interface = { ], "group": "txo", "cli": "txo sum", - "help": "Sum of transaction outputs.\n\nUsage:\n txo sum\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--wallet_id=<wallet_id>]\n [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --type=<type> : (str, list) claim type: stream, channel,\n support, purchase, collection, repost,\n other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your\n outputs, if using this flag the other\n related flags are ignored (--is_my_output,\n --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are\n exactly this combination: \"--is_my_input\n --is_my_output --type=other\" this allows to\n exclude \"change\" payments, this flag can be\n used in combination with any of the other\n flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to\n query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --wallet_id=<wallet_id> : (str) restrict operation to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (int) sum of filtered outputs" + "help": "Sum of transaction outputs.\n\nUsage:\n txo sum\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--change_account_id=<change_account_id>]\n [--fund_account_id=<fund_account_id>...] [--preview] [--no_wait]\n\nOptions:\n --type=<type> : (str, list) claim type: stream, channel,\n support, purchase, collection, repost,\n other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your\n outputs, if using this flag the other\n related flags are ignored (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are\n exactly this combination: \"--is_my_input --is_my_output --type=other\" this allows to\n exclude \"change\" payments, this flag can be\n used in combination with any of the other\n flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to\n query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --change_account_id=<change_account_id> : (str) account to send excess change (LBC)\n --fund_account_id=<fund_account_id> : (str, list) accounts to fund the\n transaction\n --preview : (bool) do not broadcast the transaction\n --no_wait : (bool) do not wait for mempool confirmation\n\nReturns:\n (int) sum of filtered outputs" }, "utxo_list": { "name": "list", @@ -13485,7 +13454,7 @@ interface = { ], "group": "utxo", "cli": "utxo list", - "help": "List unspent transaction outputs\n\nUsage:\n utxo_list\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output\n --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) unspent outputs\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" + "help": "List unspent transaction outputs\n\nUsage:\n utxo_list\n [--type=<type>...] [--txid=<txid>...] [--claim_id=<claim_id>...]\n [--channel_id=<channel_id>...] [--name=<name>...] [--is_spent]\n [--is_not_spent] [--is_my_input_or_output] [--is_my_output]\n [--is_not_my_output] [--is_my_input] [--is_not_my_input]\n [--exclude_internal_transfers] [--account_id=<account_id>...]\n [--wallet_id=<wallet_id>] [--page=<page>] [--page_size=<page_size>]\n [--include_total]\n\nOptions:\n --type=<type> : (str, list) claim type: stream, channel, support,\n purchase, collection, repost, other\n --txid=<txid> : (str, list) transaction id of outputs\n --claim_id=<claim_id> : (str, list) claim id\n --channel_id=<channel_id> : (str, list) claims in this channel\n --name=<name> : (str, list) claim name\n --is_spent : (bool) only show spent txos\n --is_not_spent : (bool) only show not spent txos\n --is_my_input_or_output : (bool) txos which have your inputs or your outputs, if\n using this flag the other related flags are ignored\n (--is_my_output, --is_my_input, etc)\n --is_my_output : (bool) show outputs controlled by you\n --is_not_my_output : (bool) show outputs not controlled by you\n --is_my_input : (bool) show outputs created by you\n --is_not_my_input : (bool) show outputs not created by you\n --exclude_internal_transfers : (bool) excludes any outputs that are exactly this\n combination: \"--is_my_input --is_my_output --type=other\" this allows to exclude \"change\"\n payments, this flag can be used in combination with\n any of the other flags\n --account_id=<account_id> : (str, list) id(s) of the account(s) to query\n --wallet_id=<wallet_id> : (str) restrict results to specific wallet\n --page=<page> : (int) page to return for paginating\n --page_size=<page_size> : (int) number of items on page for pagination\n --include_total : (bool) calculate total number of items and pages\n\nReturns:\n (Paginated[Output]) unspent outputs\n {\n \"page\": \"Page number of the current items.\",\n \"page_size\": \"Number of items to show on a page.\",\n \"total_pages\": \"Total number of pages.\",\n \"total_items\": \"Total number of items.\",\n \"items\": [\n {\n \"txid\": \"hash of transaction in hex\",\n \"nout\": \"position in the transaction\",\n \"height\": \"block where transaction was recorded\",\n \"amount\": \"value of the txo as a decimal\",\n \"address\": \"address of who can spend the txo\",\n \"confirmations\": \"number of confirmed blocks\",\n \"is_change\": \"payment to change address, only available when it can be determined\",\n \"is_received\": \"true if txo was sent from external account to this account\",\n \"is_spent\": \"true if txo is spent\",\n \"is_mine\": \"payment to one of your accounts, only available when it can be determined\",\n \"type\": \"one of 'claim', 'support' or 'purchase'\",\n \"name\": \"when type is 'claim' or 'support', this is the claim name\",\n \"claim_id\": \"when type is 'claim', 'support' or 'purchase', this is the claim id\",\n \"claim_op\": \"when type is 'claim', this determines if it is 'create' or 'update'\",\n \"value\": \"when type is 'claim' or 'support' with payload, this is the decoded protobuf payload\",\n \"value_type\": \"determines the type of the 'value' field: 'channel', 'stream', etc\",\n \"protobuf\": \"hex encoded raw protobuf version of 'value' field\",\n \"permanent_url\": \"when type is 'claim' or 'support', this is the long permanent claim URL\",\n \"claim\": \"for purchase outputs only, metadata of purchased claim\",\n \"reposted_claim\": \"for repost claims only, metadata of claim being reposted\",\n \"signing_channel\": \"for signed claims only, metadata of signing channel\",\n \"is_channel_signature_valid\": \"for signed claims only, whether signature is valid\",\n \"purchase_receipt\": \"metadata for the purchase transaction associated with this claim\"\n }\n ]\n }" }, "utxo_release": { "name": "release", diff --git a/tests/unit/service/test_parser.py b/tests/unit/service/test_parser.py index 50268542f..3806dbc6a 100644 --- a/tests/unit/service/test_parser.py +++ b/tests/unit/service/test_parser.py @@ -318,7 +318,7 @@ Options: --angry=<angry> : (int) [default: 4] Returns: - (Wallet) + (Wallet) { "id": "wallet_id", "name": "optional wallet name"