etxn_reserve
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Specifies a number of emitted transactions this hook might emit during execution.
Definition
Section titled “Definition”int64_t etxn_fee_base ( uint32_t count);
function etxn_reserve(count: number): ErrorCode | number
Example
Section titled “Example”etxn_reserve(2);
etxn_reserve(2)
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
count | uint32_t | The largest number of transactions this hook might emit during the course of one execution. |
Name | Type | Description |
---|---|---|
count | number | The maximum amount of transactions this Hook is allowed to emit. |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The maximum number of emitted transactions this hook may emit. This will always be the same as the |
Type | Description |
---|---|
number | An ErrorCode if there is an error, or the configured transaction count on success. |