feat: Add batch renewals to batching plugin
All checks were successful
Build Docker / Build Image (push) Successful in 44s

This commit is contained in:
Nathan Woodburn 2025-01-28 00:03:10 +11:00
parent f5fc0766a1
commit 4b7b9f991b
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -211,6 +211,28 @@ functions = {
}
}
},
"renew":{
"name": "Batch renew domains",
"type": "default",
"description": "Renew a ton of domain",
"params": {
"domains": {
"name": "Domains to renew (one per line)",
"type": "longText"
}
},
"returns": {
"status": {
"name": "Status",
"type": "text"
},
"transaction":
{
"name": "Hash of the transaction",
"type": "tx"
}
}
},
"advancedBid":{
"name": "Bid on domains with csv",
"type": "default",
@ -382,6 +404,8 @@ def register(params, authentication):
"transaction":response['hash']
}
def renew(params, authentication):
return simple("RENEW", params, authentication)
def advancedBid(params, authentication):
bids = params["bids"]