mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +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
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"description": "POST response for estimated fee",
|
|
"title": "TransactionFeeEstimateResponse",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"estimated_cost",
|
|
"estimated_cost_scalar"
|
|
],
|
|
"properties": {
|
|
"estimated_cost_scalar": {
|
|
"type": "integer"
|
|
},
|
|
"cost_scalar_change_by_byte": {
|
|
"type": "number"
|
|
},
|
|
"estimated_cost": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"read_count",
|
|
"write_count",
|
|
"read_length",
|
|
"write_length",
|
|
"runtime"
|
|
],
|
|
"properties": {
|
|
"read_count": {
|
|
"type": "integer"
|
|
},
|
|
"read_length": {
|
|
"type": "integer"
|
|
},
|
|
"runtime": {
|
|
"type": "integer"
|
|
},
|
|
"write_count": {
|
|
"type": "integer"
|
|
},
|
|
"write_length": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"estimations": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fee_rate": {
|
|
"type": "number"
|
|
},
|
|
"fee": {
|
|
"type": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|