{
  "x402Version": 2,
  "id": 31121,
  "slug": "31121",
  "resource": "https://api.delx.ai/api/v1/x402/eth-to-wei",
  "description": "Scale ether amounts into wei integer strings for transfers and tx value. Call when preparing value fields, allowances, or transfers denominated in ETH. Returns wei integer string and eth input as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
  "type": "http",
  "serviceName": "Ether to Wei Converter",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786031869/bazaar-icons/f116ee851813c2b6.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "additionalProperties": true,
    "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
    "properties": {
      "eth": {
        "type": "number"
      },
      "schema": {
        "type": "string"
      },
      "wei": {
        "type": "string"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "chain-primitives-local",
      "info": {
        "input": {
          "body": {
            "eth": 0.05
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "eth": 0.05,
            "schema": "delx/util-eth-to-wei/v1",
            "wei": "50000000000000000"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "additionalProperties": true,
                "properties": {
                  "eth": {
                    "description": "Input field: eth.",
                    "type": "number"
                  }
                },
                "required": [
                  "eth"
                ],
                "type": "object"
              },
              "bodyType": {
                "const": "json",
                "type": "string"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": true,
            "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
            "properties": {
              "eth": {
                "type": "number"
              },
              "schema": {
                "type": "string"
              },
              "wei": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "Ether to Wei Converter",
      "summary": "Scale ether amounts into wei integer strings for transfers and tx value. Call when preparing value fields, allowances, or transfers denominated in ETH. Returns wei integer string and eth input as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
      "tags": [
        "x402",
        "agents",
        "local-first",
        "micro-usdc",
        "pay-per-call"
      ]
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "x402",
    "agents",
    "local-first",
    "micro-usdc",
    "pay-per-call",
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "api.delx.ai",
  "lastUpdated": "2026-10-08T06:09:14.384Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:09:14.071Z"
  },
  "metadata": {
    "serviceName": "Ether to Wei Converter",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786031869/bazaar-icons/f116ee851813c2b6.png",
    "extensions": {
      "bazaar": {
        "category": "chain-primitives-local",
        "info": {
          "input": {
            "body": {
              "eth": 0.05
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "eth": 0.05,
              "schema": "delx/util-eth-to-wei/v1",
              "wei": "50000000000000000"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "additionalProperties": true,
                  "properties": {
                    "eth": {
                      "description": "Input field: eth.",
                      "type": "number"
                    }
                  },
                  "required": [
                    "eth"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "const": "json",
                  "type": "string"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "additionalProperties": true,
              "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
              "properties": {
                "eth": {
                  "type": "number"
                },
                "schema": {
                  "type": "string"
                },
                "wei": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        },
        "serviceName": "Ether to Wei Converter",
        "summary": "Scale ether amounts into wei integer strings for transfers and tx value. Call when preparing value fields, allowances, or transfers denominated in ETH. Returns wei integer string and eth input as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
        "tags": [
          "x402",
          "agents",
          "local-first",
          "micro-usdc",
          "pay-per-call"
        ]
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.delx.ai",
    "manifest_name": "api.delx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "eth": 0.05,
    "schema": "delx/util-eth-to-wei/v1",
    "wei": "50000000000000000"
  }
}