Credit
Build transaction calls to enable auto top-up
Changed onReturns 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 URLhttps://api.sprinter.tech
- URLhttps://api.sprinter.tech/credit/accounts/{account}/operator/auto-topup/enable
- Authnone 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 fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoobjectfor status
- breaking
- info
endpoint added
- info