bridge_transfer
Execute a bridge transfer of ERC20 tokens from one chain to another. Requires PRIVATE_KEY environment variable. Steps: approve token spending → call bridge.transferTokens() → returns tx hash and sequence number.
This record as markdown: /tools/0xaibridge-mcp/bridge-transfer.md
What bridge_transfer does on 0xaibridge
AI agents use bridge_transfer to commit financial operations through 0xaibridge, usually the final step of a payment, billing, or trading workflow. A call moves real money.
Why bridge_transfer is rated Critical
bridge_transfer moves real money, and an autonomous agent will call it with the same confidence it calls a search tool. A misread instruction or an injected prompt is all it takes to drain an account or blow a budget.
Attacks that exploit this kind of access
The rule that runs bridge_transfer safely
PolicyLayer is an MCP gateway: it sits between your AI agents and 0xaibridge, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For bridge_transfer, this is the rule to start with:
Any call to bridge_transfer is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect 0xaibridge, apply this rule, and every bridge_transfer call is checked against it from then on.
Questions about bridge_transfer
Execute a bridge transfer of ERC20 tokens from one chain to another. Requires PRIVATE_KEY environment variable. Steps: approve token spending → call bridge.transferTokens() → returns tx hash and sequence number. It is categorised as a Financial tool in the 0xaibridge MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the 0xaibridge MCP server in PolicyLayer and add a rule for bridge_transfer: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches 0xaibridge. Nothing to install.
bridge_transfer is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the bridge_transfer rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for bridge_transfer. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
bridge_transfer is provided by the 0xaibridge MCP server (@0xaibridge/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on 0xaibridge, and thousands of servers like it.
Across the catalogue