mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-28 12:55:41 +08:00
* fix: openapi lint validator * fix: balances schema * fix: add title to all entities * fix: some additionalProperties and duplicate names * fix: remove additional properties for rosetta * fix: rosetta tests * style: remove empty description
27 lines
984 B
JSON
27 lines
984 B
JSON
{
|
|
"type": "object",
|
|
"title": "RosettaConstructionMetadataResponse",
|
|
"description": "The ConstructionMetadataResponse returns network-specific metadata used for transaction construction. Optionally, the implementer can return the suggested fee associated with the transaction being constructed. The caller may use this info to adjust the intent of the transaction or to create a transaction with a different account that can pay the suggested fee. Suggested fee is an array in case fee payment must occur in multiple currencies.",
|
|
"required": ["metadata"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"metadata": {
|
|
"type": "object",
|
|
"properties": {
|
|
"account_sequence": {
|
|
"type": "integer"
|
|
},
|
|
"recent_block_hash": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"suggested_fee": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./../../entities/rosetta/rosetta-amount.schema.json"
|
|
}
|
|
}
|
|
}
|
|
}
|