fix: rosetta construction derive api (#21)

* fix(package): 'Server-Side Request Forgery' vulnerability in axios package

* fix: change construction derive api to fit latest spec

Closes #10
This commit is contained in:
Lola Dam
2021-02-22 12:20:58 +01:00
committed by Matthew Little
parent c5c5af07af
commit cade138987
5 changed files with 26 additions and 43 deletions

View File

@@ -4,11 +4,14 @@
"type": "object",
"title": "RosettaConstructionDeriveResponse",
"description": "ConstructionDeriveResponse is returned by the /construction/derive endpoint.",
"required": ["address"],
"required": [],
"properties": {
"address": {
"type": "string",
"description": "Address in network-specific format."
"description": "[DEPRECATED by account_identifier in v1.4.4] Address in network-specific format."
},
"account_identifier": {
"$ref": "./../../entities/rosetta/rosetta-account-identifier.schema.json"
},
"metadata": {
"type": "object"