forked from LBRYCommunity/lbry-sdk
docs
This commit is contained in:
parent
ee8cf08c0e
commit
a9774a293f
5 changed files with 18 additions and 1289 deletions
1273
docs/api.json
1273
docs/api.json
File diff suppressed because it is too large
Load diff
|
@ -2152,7 +2152,8 @@ Returns:
|
||||||
'blocks': (int) local blockchain height,
|
'blocks': (int) local blockchain height,
|
||||||
'blocks_behind': (int) remote_height - local_height,
|
'blocks_behind': (int) remote_height - local_height,
|
||||||
'best_blockhash': (str) block hash of most recent block,
|
'best_blockhash': (str) block hash of most recent block,
|
||||||
'is_encrypted': (bool)
|
'is_encrypted': (bool),
|
||||||
|
'is_locked': (bool),
|
||||||
},
|
},
|
||||||
'dht': {
|
'dht': {
|
||||||
'node_id': (str) lbry dht node id - hex encoded,
|
'node_id': (str) lbry dht node id - hex encoded,
|
||||||
|
@ -2474,9 +2475,9 @@ Usage:
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--amount=<amount> : (float) amount of credit to send
|
--amount=<amount> : (Decimal) amount of credit to send
|
||||||
--address=<address> : (str) address to send credits to
|
--address=<address> : (str) address to send credits to
|
||||||
--claim_id=<claim_id> : (float) claim_id of the claim to send to tip to
|
--claim_id=<claim_id> : (str) claim_id of the claim to send to tip to
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
If sending to an address:
|
If sending to an address:
|
||||||
|
|
|
@ -1951,7 +1951,8 @@ Returns:
|
||||||
'blocks': (int) local blockchain height,
|
'blocks': (int) local blockchain height,
|
||||||
'blocks_behind': (int) remote_height - local_height,
|
'blocks_behind': (int) remote_height - local_height,
|
||||||
'best_blockhash': (str) block hash of most recent block,
|
'best_blockhash': (str) block hash of most recent block,
|
||||||
'is_encrypted': (bool)
|
'is_encrypted': (bool),
|
||||||
|
'is_locked': (bool),
|
||||||
},
|
},
|
||||||
'dht': {
|
'dht': {
|
||||||
'node_id': (str) lbry dht node id - hex encoded,
|
'node_id': (str) lbry dht node id - hex encoded,
|
||||||
|
@ -2208,9 +2209,9 @@ to the owner of a claim specified by uri. A tip is a claim support where the rec
|
||||||
of the support is the claim address for the claim being supported.
|
of the support is the claim address for the claim being supported.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
'amount' (required) : (float) amount of credit to send
|
'amount' (required) : (Decimal) amount of credit to send
|
||||||
'address' (required) : (str) address to send credits to
|
'address' (required) : (str) address to send credits to
|
||||||
'claim_id' (required) : (float) claim_id of the claim to send to tip to
|
'claim_id' (required) : (str) claim_id of the claim to send to tip to
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
If sending to an address:
|
If sending to an address:
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2396,9 +2396,9 @@ class Daemon(AuthJSONRPCServer):
|
||||||
((<address> | --address=<address>) | (<claim_id> | --claim_id=<claim_id>))
|
((<address> | --address=<address>) | (<claim_id> | --claim_id=<claim_id>))
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--amount=<amount> : (float) amount of credit to send
|
--amount=<amount> : (Decimal) amount of credit to send
|
||||||
--address=<address> : (str) address to send credits to
|
--address=<address> : (str) address to send credits to
|
||||||
--claim_id=<claim_id> : (float) claim_id of the claim to send to tip to
|
--claim_id=<claim_id> : (str) claim_id of the claim to send to tip to
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
If sending to an address:
|
If sending to an address:
|
||||||
|
|
Loading…
Reference in a new issue