⚡ Heavy Workload? We Offer Higher Rate Limits to Accelerate Your dApp Performance
Method: POST get_random_outputs
Fetches necessary quantity (output_count) of random outputs for desired amounts with respect to specified confirmed_height_or_depth.
Response may have less outputs than asked for some amounts, if blockchain lacks enough.
amounts - array of uint64
Amounts in Atomic Units in an Array.
output_count - uint32
Number of outputs to show for each specified amount in amounts.
confirmed_height_or_depth - int32
Positive values are read as height, negative values are read as depth*, 0 is genesis block. Mix-ins will be selected from the [0..confirmed_height_or_depth] window.
* Depth is calculated from the tip block. Different nodes may have different tip numbers depending on blockchain sync status.