Example inputPOST /api/v1/x402/base-code
{}
Portable intent card · blockchain
Check if a Base address is a contract and return bytecode size for $0.001.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-code -m POST -H 'x-delx-source: intent-card-base-code-api' --max-amount 0.001 -b '{}'
{}
{
"intent": "is this base address a contract",
"tool_name": "get_base_code",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/base-code-api.json"
}
Portable and inspectable