Live x402
vAPI
vAPI verified
vapi-evmvAPI EVM encoder
Byapi-staging.vapinetwork.ai0x6B7B…a4E5
Encode calldata, EIP-712 hashes and EIP-3009 transfer authorizations. The inverse of /x402/decode.
Per call
from $0.002
Invoke this API
3 endpoints
Shell
# Inspect the endpoint. curl does not complete x402 payment.curl --request POST 'https://api-staging.vapinetwork.ai/native/evm/encode-call'
Terminal
# Pay one request from a vapi-network wallet. Add --content-type and --body for the request input.vapi pay 'https://api-staging.vapinetwork.ai/native/evm/encode-call' \ --method POST \ --expected-pay-to 0x6B7B3cb62a2D7d232Bf5e0D030676bfb4F9Ba4E5 \ --max 0.10
MCP request
call.pay {"url":"https://api-staging.vapinetwork.ai/native/evm/encode-call","method":"POST","maxPriceUsd":"0.10","expectedPayTo":"0x6B7B3cb62a2D7d232Bf5e0D030676bfb4F9Ba4E5"}Try it
POST
https://api-staging.vapinetwork.ai/native/evm/encode-callRequest input
This API does not describe its inputs. Add each input it needs as a name and a value.
Request preview
This is the exact URL and payload used for the unpaid price check.
- Request
- POST https://api-staging.vapinetwork.ai/native/evm/encode-call
- Content type
- application/json
- Body
{}
The browser refuses to sign if the live quote exceeds this amount.
Response
Response and receipt appear here.
Technical details
More routes
- $0.002POST
/native/evm/encode-typed-data - $0.005POST
/native/evm/encode-transfer-authorization
About this API
Encode calldata, EIP-712 hashes and EIP-3009 transfer authorizations. The inverse of /x402/decode.
The browser checks the live x402 terms before every paid call. If CORS blocks a direct request, vAPI gives you the exact vapi-network handoff.
For agents
Prompt for AI
Paste this into any agent that can pay over x402. No API key needed.
I want to use the "vAPI EVM encoder" API listed on vAPI Call.
Encode calldata, EIP-712 hashes and EIP-3009 transfer authorizations. The inverse of /x402/decode.
Endpoint: POST https://api-staging.vapinetwork.ai/native/evm/encode-call
Price: $0.002 per call, pay per use via x402 (USDC on Base). No API key required.
Input schema: (not published — pass the inputs the task requires)
What it does: Build the calldata for one contract function from its ABI or a human-readable signature and JSON arguments. Integers may be decimal strings.
Endpoint: POST https://api-staging.vapinetwork.ai/native/evm/encode-typed-data
Price: $0.002 per call, pay per use via x402 (USDC on Base). No API key required.
Input schema: (not published — pass the inputs the task requires)
What it does: Return the EIP-712 digest, domain separator and struct hash for { domain, types, primaryType, message }. Integers may be decimal strings. The inverse of /x402/decode.
Endpoint: POST https://api-staging.vapinetwork.ai/native/evm/encode-transfer-authorization
Price: $0.005 per call, pay per use via x402 (USDC on Base). No API key required.
Input schema: (not published — pass the inputs the task requires)
What it does: Return ready-to-sign EIP-712 typed data for a USDC transferWithAuthorization: canonical USDC on Base by default, a fresh nonce, validity of ten minutes. Decode it back with /x402/decode.
Important notes — read before calling:
- The live 402 challenge is authoritative: trust its price, recipient, and terms over this prompt.
- vAPI has verified this listing.
Call the endpoint over x402 (for example with the vapi-network MCP `call.pay` tool) and return the result. I will provide the inputs next.Need a wallet your agent can spend from? Set up vapi-network

