Increase nonce
process increase nonce request to orderbook and return its hash
Parameters:
maker
:Type: String
Description: Address of user initiating the nonce increase.
new_nonce
:Type: Integer
Description: The new nonce value that is to be set.
Constraints: Must be a non-negative integer.
gas_fee
:Type: Dictionary
Description: Information about the gas fee associated with the nonce increase operation.
Fields:
gas_per_action
: Integer, minimum 0, representing the gas cost per action.fee_token
: String, indicating the token used for the fee.max_gas_price
: Integer, minimum 0, the maximum price per gas unit.conversion_rate
: List of integers, with minimum size 2 and maximum size 2, each element being non-negative, representing the conversion rate.
salt
:Type: Integer
Description: A random value used to ensure the uniqueness of the nonce increase request.
Constraints: Must be a non-negative integer.
sign
:Type: List
Description: Signature data required to authorize the nonce increase.
Constraints: Must be a list containing exactly 2 integer items, each of which should be non-negative.
Response example:
In case of a successful place, the order hash is returned
Success operation means the request successfully passed the validation phase and is now in the request processing queue.
In case of an unsuccessful request, the error and code are returned (see)
Last updated