mcpField
B
Bankr Agent - Arbitrary Transactions

Bankr Agent - Arbitrary Transactions

github.com/bankrbotOther88366 installsUpdated 31w ago
Repository

About Bankr Agent - Arbitrary Transactions

Bankr Agent - Arbitrary Transactions is a skill for submitting raw EVM transactions with explicit calldata to supported chains. It describes the required JSON fields and validation rules for transaction targets, data, value, and chain ID.

Key features

  1. 01Submit raw EVM transactions
  2. 02Specify contract address and calldata
  3. 03Set value in wei
  4. 04Choose a supported chain ID
  5. 05Validate transaction fields

Use cases

  1. 01Submit calldata to a contract
  2. 02Send ETH with a transaction
  3. 03Execute transactions on Base
  4. 04Check transaction input formatting

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bankrbot/claude-plugins --skill bankr-agent---arbitrary-transactions

After installing, type/bankr-agent---arbitrary-transactionsin Claude Code to confirm it loaded.

Details

From the project README

Arbitrary Transaction Submission

Submit raw EVM transactions with explicit calldata to any supported chain.

JSON Format

{
  "to": "0x...",
  "data": "0x...",
  "value": "0",
  "chainId": 8453
}
FieldTypeDescription
tostringTarget contract address (0x + 40 hex chars)
datastringCalldata to execute (0x + hex string)
valuestringAmount in wei (e.g., "0", "1000000000000000000")
chainIdnumberTarget chain ID

Supported Chains

ChainChain ID
Ethereum1
Polygon137
Base8453
Unichain130

Prompt Examples

Submit a raw transaction:

Submit this transaction:
{
  "to": "0x1234567890abcdef1234567890abcdef12345678",
  "data": "0xa9059cbb000000000000000000000000recipient00000000000000000000000000000000000000000000000000000000000f4240",
  "value": "0",
  "chainId": 8453
}

Execute calldata on a contract:

Execute this calldata on Base:
{
  "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "data": "0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "value": "0",
  "chainId": 8453
}

Send ETH with calldata:

Submit transaction with value:
{
  "to": "0xRecipientAddress...",
  "data": "0x",
  "value": "1000000000000000000",
  "chainId": 1
}

Validation Rules

FieldValidation
toMust be 0x followed by exactly 40 hex characters
dataMust start with 0x, can be "0x" for empty calldata
valueWei amount as string, use "0" for no value transfer
chainIdMust be a supported chain ID

Common Issues

IssueResolution
Unsupported chainUse chainId 1, 137, 8453, or 130
Invalid addressEnsure 0x + 40 hex chars
Invalid calldataEnsure proper hex encoding with 0x prefix
Transaction revertedCheck calldata encoding and contract state
Insufficient fundsEnsure wallet has enough ETH/MATIC for gas + value

Comments

Markdown supported