-
Notifications
You must be signed in to change notification settings - Fork 261
Feat: 4.8.1 change in api #521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…hasta, provide a new example with a non-null return value.
docs/api/rpc.md
Outdated
| ``` | ||
| Nodes: FullNode and SolidityNode | ||
|
|
||
| ## Get the paged list of witnesses info, sorted in descending order by real-time vote count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 82
( Get the paged list of witnesses info, sorted in descending order by real-time vote count. )
->
( Get a paginated list of witness information, sorted by real-time vote count in descending order. )
Follow the format using beforehand ( Paginated Now Witness List ) is better
docs/api/json-rpc.md
Outdated
|
|
||
| ### eth_getBlockReceipts | ||
|
|
||
| *Return the transaction receipts for all transactions in the specified block. For the genesis block, blocks that have been pruned by light nodes, and blocks that have not yet been produced, it returns null.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 945
Return the transaction receipts for all transactions in the specified block. For the genesis block, blocks that have been pruned by light nodes, and blocks that have not yet been produced, it returns null.
->
Returns transaction receipts for all transactions in the specified block. Returns null for the genesis block, blocks pruned by light nodes, or blocks that have not yet been produced.
|
|
||
| **Parameters** | ||
|
|
||
| String - block number, it supports three types: block number represented as hexadecimal string, blockHash (with or without the "0x" prefix), or tags ("latest", "earliest", "finalized"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String - block number, -> String - Block identifier.
block number -> a block number
hexadecimal string -> a hexadecimal string
docs/api/json-rpc.md
Outdated
|
|
||
| **Returns** | ||
|
|
||
| An array of objects - An array of transaction receipt objects, the object is the same as the return value of [eth_getTransactionReceipt](#eth_gettransactionreceipt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An array of transaction receipt objects, -> .
the object is the same as -> Each object matches
docs/api/http.md
Outdated
| Return Value: A list of all Super Representative information. | ||
|
|
||
| #### wallet/getpaginatednowwitnesslist | ||
| Description: Query the real-time vote count of each witness and return a paginated list of witnesses, sorted in descending order by real-time vote count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 1423
Description: Query the real-time vote count of each witness and return a paginated list of witnesses, sorted in descending order by real-time vote count.
->
Description: Queries real-time vote counts and returns a paginated list of witnesses, sorted by vote count in descending order.
docs/api/http.md
Outdated
| Return Value: A list of all witness information. | ||
|
|
||
| #### wallet/getpaginatednowwitnesslist | ||
| Description: Query the real-time vote count of each witness and return a paginated list of witnesses, sorted in descending order by real-time vote count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 2064
Description: Query the real-time vote count of each witness and return a paginated list of witnesses, sorted in descending order by real-time vote count.
->
Description: Queries real-time vote counts and returns a paginated list of witnesses, sorted by vote count in descending order.
|
|
||
| * `offset`: `long` type, indicates the starting index, must be `>=0`. | ||
| * `limit`: `long` type, indicates the number of witnesses to return, must be `>0`, with an upper limit of system constant `1000`. | ||
| * `visible`: `boolean` type, optional parameter, defaults to false, controls the format of the returned address. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 1435
'visible': 'boolean' type, optional parameter, defaults to false, controls the format of the returned address.
->
'visible': 'boolean' type. Optional parameter (defaults to false). Controls the format of the returned address.
|
|
||
| * `offset`: `long` type, indicates the starting index, must be `>=0`. | ||
| * `limit`: `long` type, indicates the number of witnesses to return, must be `>0`, with an upper limit of system constant `1000`. | ||
| * `visible`: `boolean` type, optional parameter, defaults to false, controls the format of the returned address. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 2076
'visible': 'boolean' type, optional parameter, defaults to false, controls the format of the returned address.
->
'visible': 'boolean' type. Optional parameter (defaults to false). Controls the format of the returned address.
docs/api/http.md
Outdated
| * `limit`: `long` type, indicates the number of witnesses to return, must be `>0`, with an upper limit of system constant `1000`. | ||
| * `visible`: `boolean` type, optional parameter, defaults to false, controls the format of the returned address. | ||
|
|
||
| Return value: A paginated list of witnesses meeting the parameter conditions, sorted in descending order by real-time vote count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 1437
Return value: A paginated list of witnesses meeting the parameter conditions, sorted in descending order by real-time vote count.
->
Return value: A paginated list of witnesses, sorted by real-time vote count in descending order.
docs/api/http.md
Outdated
| * `limit`: `long` type, indicates the number of witnesses to return, must be `>0`, with an upper limit of system constant `1000`. | ||
| * `visible`: `boolean` type, optional parameter, defaults to false, controls the format of the returned address. | ||
|
|
||
| Return value: A paginated list of witnesses meeting the parameter conditions, sorted in descending order by real-time vote count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 2078
Return value: A paginated list of witnesses meeting the parameter conditions, sorted in descending order by real-time vote count.
->
Return value: A paginated list of witnesses, sorted by real-time vote count in descending order.
No description provided.