Ajna action reference
This page is generated from the plugin registry. Do not edit it by hand.
Ajna permissionless lending protocol: liquidation and vault keeper operations on Base
For guidance and examples see the Ajna guide.
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.
| Action | Action type |
|---|---|
| Ajna: Get Auction Status | ajna/get-auction-status |
| Ajna: Get HPB Index | ajna/get-hpb-index |
| Ajna: Get Pool LUP | ajna/get-pool-lup |
| Ajna: Get Pool HTP | ajna/get-pool-htp |
| Ajna: Get Borrower Info | ajna/get-borrower-info |
| Ajna: Price to Bucket Index | ajna/price-to-index |
| Ajna: Bucket Index to Price | ajna/index-to-price |
| Ajna: cbBTC/usBTCd Kicker Info | ajna/pool1-kicker-info |
| Ajna: cbBTC/usBTCd Auction Info | ajna/pool1-auction-info |
| Ajna: cbBTC/usBTCd Bucket Info | ajna/pool1-bucket-info |
| Ajna: cbBTC/usBTCd Inflator Info | ajna/pool1-inflator-info |
| Ajna: cbBTC/usBTCd Kick | ajna/pool1-kick |
| Ajna: cbBTC/usBTCd Bucket Take | ajna/pool1-bucket-take |
| Ajna: cbBTC/usBTCd Settle | ajna/pool1-settle |
| Ajna: cbBTC/usBTCd Withdraw Bonds | ajna/pool1-withdraw-bonds |
| Ajna: cbBTC/usBTCd Update Interest | ajna/pool1-update-interest |
| Ajna: cbBTC/usBTCd Deposit Index | ajna/pool1-deposit-index |
| Ajna: usBTCd/webmx Kicker Info | ajna/pool2-kicker-info |
| Ajna: usBTCd/webmx Auction Info | ajna/pool2-auction-info |
| Ajna: usBTCd/webmx Bucket Info | ajna/pool2-bucket-info |
| Ajna: usBTCd/webmx Inflator Info | ajna/pool2-inflator-info |
| Ajna: usBTCd/webmx Kick | ajna/pool2-kick |
| Ajna: usBTCd/webmx Bucket Take | ajna/pool2-bucket-take |
| Ajna: usBTCd/webmx Settle | ajna/pool2-settle |
| Ajna: usBTCd/webmx Withdraw Bonds | ajna/pool2-withdraw-bonds |
| Ajna: usBTCd/webmx Update Interest | ajna/pool2-update-interest |
| Ajna: usBTCd/webmx Deposit Index | ajna/pool2-deposit-index |
| Ajna: cbBTC/usBTCd Is Paused | ajna/vault1-is-paused |
| Ajna: cbBTC/usBTCd Get Buckets | ajna/vault1-get-buckets |
| Ajna: cbBTC/usBTCd Total Assets | ajna/vault1-total-assets |
| Ajna: cbBTC/usBTCd LP to Value | ajna/vault1-lp-to-value |
| Ajna: cbBTC/usBTCd Drain Bucket | ajna/vault1-drain |
| Ajna: cbBTC/usBTCd Move Liquidity | ajna/vault1-move |
| Ajna: cbBTC/usBTCd Move From Buffer | ajna/vault1-move-from-buffer |
| Ajna: cbBTC/usBTCd Move To Buffer | ajna/vault1-move-to-buffer |
| Ajna: usBTCd/webmx Is Paused | ajna/vault2-is-paused |
| Ajna: usBTCd/webmx Get Buckets | ajna/vault2-get-buckets |
| Ajna: usBTCd/webmx Total Assets | ajna/vault2-total-assets |
| Ajna: usBTCd/webmx LP to Value | ajna/vault2-lp-to-value |
| Ajna: usBTCd/webmx Drain Bucket | ajna/vault2-drain |
| Ajna: usBTCd/webmx Move Liquidity | ajna/vault2-move |
| Ajna: usBTCd/webmx Move From Buffer | ajna/vault2-move-from-buffer |
| Ajna: usBTCd/webmx Move To Buffer | ajna/vault2-move-to-buffer |
| Ajna: cbBTC/usBTCd Buffer Ratio | ajna/vault1-buffer-ratio |
| Ajna: cbBTC/usBTCd Min Bucket Index | ajna/vault1-min-bucket-index |
| Ajna: usBTCd/webmx Buffer Ratio | ajna/vault2-buffer-ratio |
| Ajna: usBTCd/webmx Min Bucket Index | ajna/vault2-min-bucket-index |
| Ajna: cbBTC/usBTCd Buffer Total | ajna/vault1-buffer-total |
| Ajna: usBTCd/webmx Buffer Total | ajna/vault2-buffer-total |
Ajna: Get Auction Status
Action type: ajna/get-auction-status. Connection: not required.
Get current auction status for a borrower in an Ajna pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
ajnaPool_ | address | Yes | Pool Address (address). | ||
borrower_ | address | Yes | Borrower Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.kickTime_ | Kick Timestamp |
result.collateral_ | Collateral (WAD) |
result.debtToCover_ | Debt to Cover (WAD) |
result.isCollateralized_ | Is Collateralized |
result.price_ | Current Price (WAD) |
result.neutralPrice_ | Neutral Price (WAD) |
result.referencePrice_ | Reference Price (WAD) |
result.debtToCollateral_ | Debt to Collateral (WAD) |
result.bondFactor_ | Bond Factor (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Get HPB Index
Action type: ajna/get-hpb-index. Connection: not required.
Get the highest price bucket index of an Ajna pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
ajnaPool_ | address | Yes | Pool Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | HPB Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Get Pool LUP
Action type: ajna/get-pool-lup. Connection: not required.
Get the Lowest Utilized Price of an Ajna pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
ajnaPool_ | address | Yes | Pool Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.lup | LUP (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Get Pool HTP
Action type: ajna/get-pool-htp. Connection: not required.
Get the Highest Threshold Price of an Ajna pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
ajnaPool_ | address | Yes | Pool Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.htp | HTP (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Get Borrower Info
Action type: ajna/get-borrower-info. Connection: not required.
Get borrower loan information including debt, collateral, and threshold price
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
ajnaPool_ | address | Yes | Pool Address (address). | ||
borrower_ | address | Yes | Borrower Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.debt | Borrower Debt (WAD) |
result.collateral | Borrower Collateral (WAD) |
result.t0Np | T0 Neutral Price (WAD) |
result.thresholdPrice | Threshold Price (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Price to Bucket Index
Action type: ajna/price-to-index. Connection: not required.
Convert a price to its corresponding Ajna bucket index
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
price | uint256 | Yes | Price (WAD) (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | Bucket Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: Bucket Index to Price
Action type: ajna/index-to-price. Connection: not required.
Convert a bucket index to its corresponding price
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
index_ | uint256 | Yes | Bucket Index (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.price | Price (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Kicker Info
Action type: ajna/pool1-kicker-info. Connection: not required.
Get kicker bond information in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
kicker_ | address | Yes | Kicker Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.claimable | Claimable Bond (WAD) |
result.locked | Locked Bond (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Auction Info
Action type: ajna/pool1-auction-info. Connection: not required.
Get auction details for a borrower in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
borrower_ | address | Yes | Borrower Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.kicker | Kicker Address |
result.bondFactor | Bond Factor (WAD) |
result.bondSize | Bond Size (WAD) |
result.kickTime | Kick Timestamp |
result.referencePrice | Reference Price (WAD) |
result.neutralPrice | Neutral Price (WAD) |
result.debtToCollateral | Debt to Collateral (WAD) |
result.head | Head Address |
result.next | Next Address |
result.prev | Prev Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Bucket Info
Action type: ajna/pool1-bucket-info. Connection: not required.
Get bucket information at a given index in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
index_ | uint256 | Yes | Bucket Index (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.price | Bucket Price (WAD) |
result.quoteTokens | Quote Tokens (WAD) |
result.collateral | Collateral (WAD) |
result.bucketLP | LP Amount (WAD) |
result.scale | Bucket Scale (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Inflator Info
Action type: ajna/pool1-inflator-info. Connection: not required.
Get pool inflator and last update timestamp for cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.inflator | Pool Inflator (WAD) |
result.lastUpdate | Last Update Timestamp |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Kick
Action type: ajna/pool1-kick. Connection: required (web3).
Kick an undercollateralized borrower to start a liquidation auction in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrower_ | address | Yes | Borrower Address (address). | ||
limitIndex_ | uint256 | Yes | Limit Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Bucket Take
Action type: ajna/pool1-bucket-take. Connection: required (web3).
Take from a liquidation auction using bucket liquidity in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrowerAddress_ | address | Yes | Borrower Address (address). | ||
depositTake_ | bool | Yes | Use Deposit Take (bool). | ||
index_ | uint256 | Yes | Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Settle
Action type: ajna/pool1-settle. Connection: required (web3).
Settle a completed liquidation auction in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrowerAddress_ | address | Yes | Borrower Address (address). | ||
maxDepth_ | uint256 | Yes | Max Bucket Depth (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Withdraw Bonds
Action type: ajna/pool1-withdraw-bonds. Connection: required (web3).
Withdraw claimable kicker bonds from the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
recipient_ | address | Yes | Recipient Address (address). | ||
maxAmount_ | uint256 | Yes | Max Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Update Interest
Action type: ajna/pool1-update-interest. Connection: required (web3).
Update interest rate for the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Deposit Index
Action type: ajna/pool1-deposit-index. Connection: not required.
Get the bucket index containing a given amount of deposit in the cbBTC/usBTCd pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
debt_ | uint256 | Yes | Debt Amount (WAD) (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | Deposit Bucket Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Kicker Info
Action type: ajna/pool2-kicker-info. Connection: not required.
Get kicker bond information in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
kicker_ | address | Yes | Kicker Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.claimable | Claimable Bond (WAD) |
result.locked | Locked Bond (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Auction Info
Action type: ajna/pool2-auction-info. Connection: not required.
Get auction details for a borrower in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
borrower_ | address | Yes | Borrower Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.kicker | Kicker Address |
result.bondFactor | Bond Factor (WAD) |
result.bondSize | Bond Size (WAD) |
result.kickTime | Kick Timestamp |
result.referencePrice | Reference Price (WAD) |
result.neutralPrice | Neutral Price (WAD) |
result.debtToCollateral | Debt to Collateral (WAD) |
result.head | Head Address |
result.next | Next Address |
result.prev | Prev Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Bucket Info
Action type: ajna/pool2-bucket-info. Connection: not required.
Get bucket information at a given index in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
index_ | uint256 | Yes | Bucket Index (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.price | Bucket Price (WAD) |
result.quoteTokens | Quote Tokens (WAD) |
result.collateral | Collateral (WAD) |
result.bucketLP | LP Amount (WAD) |
result.scale | Bucket Scale (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Inflator Info
Action type: ajna/pool2-inflator-info. Connection: not required.
Get pool inflator and last update timestamp for usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.inflator | Pool Inflator (WAD) |
result.lastUpdate | Last Update Timestamp |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Kick
Action type: ajna/pool2-kick. Connection: required (web3).
Kick an undercollateralized borrower to start a liquidation auction in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrower_ | address | Yes | Borrower Address (address). | ||
limitIndex_ | uint256 | Yes | Limit Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Bucket Take
Action type: ajna/pool2-bucket-take. Connection: required (web3).
Take from a liquidation auction using bucket liquidity in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrowerAddress_ | address | Yes | Borrower Address (address). | ||
depositTake_ | bool | Yes | Use Deposit Take (bool). | ||
index_ | uint256 | Yes | Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Settle
Action type: ajna/pool2-settle. Connection: required (web3).
Settle a completed liquidation auction in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
borrowerAddress_ | address | Yes | Borrower Address (address). | ||
maxDepth_ | uint256 | Yes | Max Bucket Depth (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Withdraw Bonds
Action type: ajna/pool2-withdraw-bonds. Connection: required (web3).
Withdraw claimable kicker bonds from the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
recipient_ | address | Yes | Recipient Address (address). | ||
maxAmount_ | uint256 | Yes | Max Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Update Interest
Action type: ajna/pool2-update-interest. Connection: required (web3).
Update interest rate for the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Deposit Index
Action type: ajna/pool2-deposit-index. Connection: not required.
Get the bucket index containing a given amount of deposit in the usBTCd/webmx pool
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
debt_ | uint256 | Yes | Debt Amount (WAD) (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | Deposit Bucket Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Is Paused
Action type: ajna/vault1-is-paused. Connection: not required.
Check if the cbBTC/usBTCd vault is paused
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.isPaused | Is Vault Paused |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Get Buckets
Action type: ajna/vault1-get-buckets. Connection: not required.
Get all active bucket indices in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.buckets | Active Bucket Indices |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Total Assets
Action type: ajna/vault1-total-assets. Connection: not required.
Get total assets managed by the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.assets | Total Assets (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd LP to Value
Action type: ajna/vault1-lp-to-value. Connection: not required.
Convert LP amount to quote token value for a bucket in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
bucket | uint256 | Yes | Bucket Index (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.value | Value (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Drain Bucket
Action type: ajna/vault1-drain. Connection: required (web3).
Drain all liquidity from a bucket in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
bucket | uint256 | Yes | Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Move Liquidity
Action type: ajna/vault1-move. Connection: required (web3).
Move liquidity between buckets in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
fromIndex_ | uint256 | Yes | Source Bucket Index (uint256). | ||
toIndex_ | uint256 | Yes | Destination Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Move From Buffer
Action type: ajna/vault1-move-from-buffer. Connection: required (web3).
Move liquidity from the buffer to a pool bucket in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
toIndex_ | uint256 | Yes | Destination Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Move To Buffer
Action type: ajna/vault1-move-to-buffer. Connection: required (web3).
Move liquidity from a pool bucket to the buffer in the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
fromIndex_ | uint256 | Yes | Source Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Is Paused
Action type: ajna/vault2-is-paused. Connection: not required.
Check if the usBTCd/webmx vault is paused
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.isPaused | Is Vault Paused |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Get Buckets
Action type: ajna/vault2-get-buckets. Connection: not required.
Get all active bucket indices in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.buckets | Active Bucket Indices |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Total Assets
Action type: ajna/vault2-total-assets. Connection: not required.
Get total assets managed by the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.assets | Total Assets (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx LP to Value
Action type: ajna/vault2-lp-to-value. Connection: not required.
Convert LP amount to quote token value for a bucket in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
bucket | uint256 | Yes | Bucket Index (uint256). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.value | Value (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Drain Bucket
Action type: ajna/vault2-drain. Connection: required (web3).
Drain all liquidity from a bucket in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
bucket | uint256 | Yes | Bucket Index (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Move Liquidity
Action type: ajna/vault2-move. Connection: required (web3).
Move liquidity between buckets in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
fromIndex_ | uint256 | Yes | Source Bucket Index (uint256). | ||
toIndex_ | uint256 | Yes | Destination Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Move From Buffer
Action type: ajna/vault2-move-from-buffer. Connection: required (web3).
Move liquidity from the buffer to a pool bucket in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
toIndex_ | uint256 | Yes | Destination Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: usBTCd/webmx Move To Buffer
Action type: ajna/vault2-move-to-buffer. Connection: required (web3).
Move liquidity from a pool bucket to the buffer in the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
fromIndex_ | uint256 | Yes | Source Bucket Index (uint256). | ||
amt_ | uint256 | Yes | Amount (WAD) (uint256). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
Ajna: cbBTC/usBTCd Buffer Ratio
Action type: ajna/vault1-buffer-ratio. Connection: not required.
Get the target buffer ratio for the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.ratio | Buffer Ratio (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Min Bucket Index
Action type: ajna/vault1-min-bucket-index. Connection: not required.
Get the minimum allowed bucket index for the cbBTC/usBTCd vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | Min Bucket Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Buffer Ratio
Action type: ajna/vault2-buffer-ratio. Connection: not required.
Get the target buffer ratio for the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.ratio | Buffer Ratio (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Min Bucket Index
Action type: ajna/vault2-min-bucket-index. Connection: not required.
Get the minimum allowed bucket index for the usBTCd/webmx vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.index | Min Bucket Index |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: cbBTC/usBTCd Buffer Total
Action type: ajna/vault1-buffer-total. Connection: not required.
Get total liquidity held in the cbBTC/usBTCd buffer contract
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.bufferTotal | Buffer Total (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ajna: usBTCd/webmx Buffer Total
Action type: ajna/vault2-buffer-total. Connection: not required.
Get total liquidity held in the usBTCd/webmx buffer contract
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 8453 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.bufferTotal | Buffer Total (WAD) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Contracts
| Contract | Chain ids |
|---|---|
| Ajna Pool Info Utils | 8453 |
| cbBTC/usBTCd Pool | 8453 |
| usBTCd/webmx Pool | 8453 |
| cbBTC/usBTCd ERC-4626 Vault | 8453 |
| usBTCd/webmx ERC-4626 Vault | 8453 |
| cbBTC/usBTCd Vault Config | 8453 |
| usBTCd/webmx Vault Config | 8453 |
| cbBTC/usBTCd Buffer | 8453 |
| usBTCd/webmx Buffer | 8453 |