Skip to content

Commit 9f9eca0

Browse files
author
mollkeith
committed
feat(memo): update jsonrpc doc
1 parent 8656a13 commit 9f9eca0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/jsonrpc_apis.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Retrieves a comprehensive list of all poll identifiers (both active and complete
2121
| Name | Type | Description |
2222
| --------- | ---------- | --------------------------------- |
2323
| ids | []uint256 | Array of unique poll identifiers |
24+
| type | uint8 | Type of poll, from 0 to 255 |
2425

2526
#### Example
2627

@@ -30,7 +31,9 @@ Request:
3031
{
3132
"jsonrpc": "2.0",
3233
"method":"getpolls",
33-
"params": {},
34+
"params": {
35+
"type": 0
36+
},
3437
"id": 1
3538
}
3639
```

0 commit comments

Comments
 (0)