@@ -239,7 +234,7 @@ All documents are sent in json format, the body format of the request is always
{
body: {
name: DOCUMENT_TYPE_ID,
[DOCUMENT_TYPE_NAME]: DOCUMENT_DATAS
[DOCUMENT_TYPE_NAME]: DOCUMENT_IN_JSON_FORMAT
}
}
...
...
@@ -253,17 +248,41 @@ table of document types :
| 4| identity|
| 5| block|
### Block
With the exception of the peer format detailed below, the json format of each document is already detailed in the DUP protocol v10 : https://git.duniter.org/nodes/typescript/duniter/blob/1.6/doc/Protocol.md