- testingWaitBalanceread-only#
Wait until a balance has reached the desired value. Waits until the material balance in the currency of
amountequalsamount; onlytype"material"is currently supported. The operation blocks until this condition is met or the wait fails, for example when the request is cancelled.Request:
The request must be a TestingWaitBalanceRequest object.
Response:
On success, the result is an empty object.
interface TestingWaitBalanceRequest {
type: "material" | "available";
amount: AmountString;
}