The transaction that tops up a key

Returns a transaction to sign and broadcast from any wallet: send amountQu QU to QPayhub (contract index 29) with inputType 1 and the given base64 payload, which is Pay(seller, resourceId, nonce). QPayhub forwards the payment to QMax and records a receipt that names the key. Then call POST /v1/topup/claim. Amounts below minTopupQu are refused because QPayhub keeps at least 100 QU of every payment.

get/v1/topup

Request

  • Base URL: https://qmax.exchange/api
  • URL: https://qmax.exchange/api/v1/topup
  • Auth: none declared

Query parameters

keyIdstring required
amountQuinteger required
noncestring

Optional; random if omitted

Response

{ contractIndex, inputType, amountQu, payload, nonce }

Changes

No recorded changes to this operation across all 1 revision of this API.