Credit

Build transaction calls to enable auto top-up

Changed on

Returns the calls needed to enable auto top-up. Checks on-chain state and only includes setOperator (if not already set) and addCreditReceiver (if not already whitelisted).

get/credit/accounts/{account}/operator/auto-topup/enable

Request

  • Base URL
    https://api.sprinter.tech
  • URL
    https://api.sprinter.tech/credit/accounts/{account}/operator/auto-topup/enable
  • Auth
    none declared

Path parameters

accountstring required

User account address

Query parameters

receiverstring required

Receiver address to auto top-up

Response

List of contract calls

Changes

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to object for status

    • info

      endpoint added