You're viewing a demo portfolio

Join the waitlist
PRSM

fuse_smart_approve_token

Active

Tool of Fuse Network

declared in 0.1.0

Submits an ERC-4337 UserOperation calling `ERC20.approve(spender, amount)` from the configured smart wallet.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "tokenAddress",
    "spender",
    "amount"
  ],
  "properties": {
    "unit": {
      "enum": [
        "display",
        "base"
      ],
      "type": "string"
    },
    "amount": {
      "type": "string",
      "description": "Allowance amount. Default unit is the token's display unit; pass `unit: \"base\"` for raw base units. Use `\"max\"` to approve the uint256 maximum."
    },
    "spender": {
      "type": "string",
      "description": "Address being granted spending allowance."
    },
    "tokenAddress": {
      "type": "string",
      "description": "ERC-20 token contract address."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Fuse Network

1/7 registries
View full server →