Skip to main content
POST
Records a bot from its mined deployment. The API reads the receipt and checks that the transaction succeeded and called deployShim on this network’s bot factory. It takes the bot’s address and owner from the factory’s ShimDeployed event, never from the request.
Confirm each deployment once. The call does not look for an existing record, so confirming the same hash again records a second bot for the same contract. It also accepts any successful deployShim call on the factory, whichever wallet sent it. The recorded ownerWallet is the wallet that sent it, and only that wallet can sign the bot’s owner actions. Trusset holds no key to it.

Body Parameters

string
required
Hash of the mined deployment transaction built by Deploy Liquidation Bot.
string
Display label, at most 64 characters. Surrounding whitespace is trimmed, and an empty label is stored as null. Change it later with Update Bot.

Response Fields

object

Error Codes