Skip to content

Available Tools ​

Tool NameSchemaPurposeInput Fields
mint_vdotmintVdotSchemaMint vDOT tokens on Bifrost for liquid staking DOTamount

Integration ​

The Bifrost liquid staking feature is available out-of-the-box via the Polkadot Agent Kit's tools:

  • mintVdotTool()

Usage ​

Mint vDOT Tokens ​

Prompt:

await agent.prompt("stake 10 DOT to get vDOT on Bifrost")

Replace values like amounts as needed.


How It Works ​

  • Mint vDOT:
    • The Agent uses the mintVdotTool() from the Polkadot Agent Kit.
    • It parses your message for the DOT amount to stake.
    • Converts the amount to planck units and executes the mintVDot transaction on Bifrost.

Example Code ​

Get Mint vDOT Tool ​

ts
const mintVdot = agent.mintVdotTool();