mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-07 00:12:30 +08:00
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "POST response for estimated fee",
|
|
"title": "TransactionFeeEstimateResponse",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["estimated_cost", "estimated_cost_scalar", "estimated_fee_rates", "estimated_fees"],
|
|
"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" }
|
|
}
|
|
},
|
|
"estimated_fee_rates": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"estimated_fees": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|