Contrato Abi Pago
by Vextorium in Onchain & crypto
ABI of a verified EVM contract (Sourcify): every function with signature, selector, inputs, outputs and read/write flag, plus events with topic0 and proxy implementations. Ready-to-use signatures for leer-contrato.
https://api.vextorium.com/contrato-abi-pago- Price
- $0.004
- per call in USDC
- Uptime
- 0.0%
- last 30 days
- Response time
- -
- no timed checks yet
- Last check
- Failed
- 3 h ago, next any minute now
Reliability
Latest check failed 3 h ago: Amount "0.004" is not in atomic token units
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://api.vextorium.com/contrato-abi-pago
Each call costs $0.004 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://api.vextorium.com/contrato-abi-pago
content-type: application/json
{
"direccion": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"red": "ethereum",
"tipo": "lectura"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
direccion | string | Yes | |
red | string | No | ethereum, base, arbitrum, optimism, polygon, bsc... or chainId |
tipo | string | No | One of: todo, lectura, escritura. |
Example response
The provider's example. We can't check it without paying.
Example response, 47 lines
{
"chain_id": 1,
"contrato": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"es_proxy": false,
"eventos": [
{
"firma": "Approval(address,address,uint256)",
"indexados": [
"src",
"guy"
],
"topic0": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
},
{
"firma": "LogNote(bytes4,address,bytes32,bytes32,bytes)",
"indexados": [
"sig",
"usr"
],
"topic0": "0xd3d8bec38a91a5f4411247483bc030a174e77cda9c0351924c759f41453aa5e8"
}
],
"fuente": "Sourcify",
"funciones": [
{
"entradas": [],
"firma": "DOMAIN_SEPARATOR()",
"lectura": true,
"mutabilidad": "view",
"para_leer_contrato": "DOMAIN_SEPARATOR()(bytes32)",
"salidas": "bytes32",
"selector": "0x3644e515"
},
{
"entradas": [],
"firma": "PERMIT_TYPEHASH()",
"lectura": true,
"mutabilidad": "view",
"para_leer_contrato": "PERMIT_TYPEHASH()(bytes32)",
"salidas": "bytes32",
"selector": "0x30adf81f"
}
],
"implementaciones": [],
"nombre": "Dai",
"nota": null
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.004.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.vextorium.com/contrato-abi-pago' \
-H 'content-type: application/json' \
--data-raw '{"direccion":"0x6B175474E89094C44Da98b954EedeAC495271d0F","red":"ethereum","tipo":"lectura"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.vextorium.com/contrato-abi-pago' \
-H 'content-type: application/json' \
--data-raw '{"direccion":"0x6B175474E89094C44Da98b954EedeAC495271d0F","red":"ethereum","tipo":"lectura"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fcontrato-abi-pago&method=POST
const res = await pay("https://api.vextorium.com/contrato-abi-pago", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"direccion": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"red": "ethereum",
"tipo": "lectura"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://api.vextorium.com/contrato-abi-pago",
json={
"direccion": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"red": "ethereum",
"tipo": "lectura",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Amount "0.004" is not in atomic token units | 402 | 120 ms | $0.004 |
| 8 h ago | Amount "0.004" is not in atomic token units | 402 | 228 ms | $0.004 |
| 13 h ago | Amount "0.004" is not in atomic token units | 402 | 90 ms | $0.004 |
| 18 h ago | Amount "0.004" is not in atomic token units | 402 | 288 ms | $0.004 |
| 23 h ago | Amount "0.004" is not in atomic token units | 402 | 105 ms | $0.004 |
Show 10 older checks
| 27 h ago | Amount "0.004" is not in atomic token units | 402 | 95 ms | $0.004 |
| 32 h ago | Amount "0.004" is not in atomic token units | 402 | 98 ms | $0.004 |
| 37 h ago | Amount "0.004" is not in atomic token units | 402 | 105 ms | $0.004 |
| 41 h ago | Amount "0.004" is not in atomic token units | 402 | 520 ms | $0.004 |
| 46 h ago | Amount "0.004" is not in atomic token units | 402 | 120 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 88 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 107 ms | $0.004 |