mcpField
B
Bankr x402 SDK - Capabilities

Bankr x402 SDK - Capabilities

github.com/bankrbotOther88361 installsUpdated 31w ago
Repository

About Bankr x402 SDK - Capabilities

A capability reference for the Bankr SDK, for developers building prompt-driven blockchain operations. It lists supported swaps, transfers, NFTs, staking, queries, and leveraged trading, with EVM chain limits noted.

Key features

  1. 01Natural-language blockchain requests
  2. 02Token swaps and transfers
  3. 03NFT purchases, transfers, and minting
  4. 04EVM bridging and staking
  5. 05Balance, price, and token queries
  6. 06Leverage positions and management

Use cases

  1. 01Check which SDK operations a workflow can perform
  2. 02Prepare prompts for token swaps or transfers
  3. 03Review chain support before building
  4. 04Identify unsupported operations

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bankrbot/claude-plugins --skill bankr-x402-sdk---capabilities

After installing, type/bankr-x402-sdk---capabilitiesin Claude Code to confirm it loaded.

Details

From the project README

SDK Capabilities

Complete guide to operations supported by the Bankr SDK. The SDK accepts natural language prompts and returns transaction data for execution.

Supported Operations

CategoryOperationExample Prompt
SwapsToken swap"Swap 0.1 ETH to USDC"
Value-based buy"Buy $100 of DEGEN"
Percentage swap"Swap 50% of my ETH to USDC"
TransfersERC20 transfer"Send 100 USDC to 0x..."
ETH transfer"Send 0.1 ETH to @username"
NFT transfer"Send my Bored Ape #123 to 0x..."
WrappingWrap ETH"Wrap 1 ETH"
Unwrap WETH"Unwrap 1 WETH"
Cross-ChainBridge (EVM only)"Bridge 100 USDC from Ethereum to Base"
LeverageLong position"Buy $50 of ETH/USD with 5x leverage"
Short position"Short $10 of GOLD"
Close position"Close all my BTC/USD positions"
NFTsBuy NFT"Buy the cheapest Tiny Dino NFT"
List for sale"List my Bored Ape for 10 ETH"
Mint (Manifold)"Mint from Manifold at 0x..."
Mint (SeaDrop)"Mint from SeaDrop at 0x..."
StakingStake BNKR"Stake 1000 BNKR"
Unstake"Unstake my BNKR"
QueriesBalances"What are my balances?"
NFT holdings"What NFTs do I own?"
Token price"Price of ETH"
Token analysis"Analyze DEGEN"

NOT Supported

FeatureAlternative
Polymarket bettingUse https://bankr.bot directly
Limit ordersUse https://swap.bankr.bot
DCA/TWAP ordersUse https://swap.bankr.bot
Solana cross-chainEVM chains only
Bankr EarnUse Bankr terminal

Supported Chains

ChainNative TokenDefault
BaseETHYes
EthereumETHNo
PolygonMATICNo

Usage

import { BankrClient } from "@bankr/sdk";

const client = new BankrClient({
  privateKey: process.env.BANKR_PRIVATE_KEY as `0x${string}`,
});

const result = await client.promptAndWait({
  prompt: "Swap 0.1 ETH to USDC on Base",
});

if (result.status === "completed" && result.transactions?.length) {
  // Execute the returned transaction with your wallet
  await wallet.sendTransaction(result.transactions[0].metadata.transaction);
}

Cost

Each request costs $0.01 USDC via x402 micropayments. Gas fees for transactions are paid separately.

Related Skills

  • sdk-token-swaps: Token swap patterns and approval handling
  • sdk-transaction-builder: Building transfers, NFT ops, bridges
  • sdk-balance-queries: Portfolio and balance queries

Comments

Markdown supported