16trust / 100
Abi Codificar Pago
by Vextorium in Onchain & crypto
x402 APIFailing, checked 59 min ago
Encode a contract function call (calldata) from its signature and arguments, e.g. transfer(address,uint256) with [to, amount]: selector and hex data ready to sign or simulate.
POST https://api.vextorium.com/abi-codificar-pago
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 59 min ago: Amount "0.003" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/abi-codificar-pago" \
-H "content-type: application/json" \
-d '{"argumentos":["0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",1000000],"funcion":"transfer(address,uint256)"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fabi-codificar-pago
const res = await pay("https://api.vextorium.com/abi-codificar-pago", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"argumentos":["0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",1000000],"funcion":"transfer(address,uint256)"}),
});
console.log(await res.json());Example input
{
"argumentos": [
"0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
1000000
],
"funcion": "transfer(address,uint256)"
}Example output
{
"bytes": 68,
"calldata": "0xa9059cbb0000000000000000000000007e5f4552091a69125d5dfcb7b8c2659029395bdf00000000000000000000000000000000000000000000000000000000000f4240",
"funcion": "transfer(address,uint256)",
"selector": "0xa9059cbb"
}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 |
|---|---|---|---|---|
| 59 min ago | Amount "0.003" is not in atomic token units | 402 | 240 ms | $0.003 |
| 5 h ago | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 10 h ago | Amount "0.003" is not in atomic token units | 402 | 81 ms | $0.003 |
| 14 h ago | Amount "0.003" is not in atomic token units | 402 | 99 ms | $0.003 |
| 18 h ago | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 22 h ago | Amount "0.003" is not in atomic token units | 402 | 73 ms | $0.003 |
| 26 h ago | Amount "0.003" is not in atomic token units | 402 | 77 ms | $0.003 |
| 30 h ago | Amount "0.003" is not in atomic token units | 402 | 82 ms | $0.003 |
| 34 h ago | Amount "0.003" is not in atomic token units | 402 | 94 ms | $0.003 |
| 38 h ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 42 h ago | Amount "0.003" is not in atomic token units | 402 | 78 ms | $0.003 |
| 46 h ago | Amount "0.003" is not in atomic token units | 402 | 83 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 84 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 79 ms | $0.003 |
| 2 days ago | Amount "0.003" is not in atomic token units | 402 | 92 ms | $0.003 |