mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-29 05:15:32 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user