{"uid":"cap_XejBK58PKRhHJaTMGHb5T","slug":"minia2a-abi-encode-5a11ca48","name":"minia2a ABI Encode","description":"minia2a service: x402-abi-encode","url":"https://minia2a.uk/x402/abi-encode","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UC-2koj6KYM2umPQb1gbA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes Ethereum ABI data for smart contract interactions given type, method, and parameter specifications","exampleAgentPrompt":"ABI encode a call to the `transfer` method with bodyType `address,uint256` so I can build an EVM transaction payload.","exampleUseCases":[{"title":"Encode ERC-20 transfer calldata","prompt":"I need to ABI encode a call to the `transfer` function with input types `address,uint256` so I can construct raw calldata for an ERC-20 token transfer."},{"title":"Prepare smart contract constructor args","prompt":"Can you ABI encode the constructor arguments for my smart contract? The method is the constructor, and the parameter types are `string,uint256,address`."},{"title":"Build encoded payload for multicall","prompt":"I'm building a multicall transaction and need to ABI encode each sub-call. Encode a call to `approve` with bodyType `address,uint256` and output type `bool`."}],"resultDescription":"Returns ABI-encoded bytes (typically as a hex string) representing the encoded calldata or parameters, suitable for use in Ethereum smart contract interactions or raw transaction construction.","failureModes":["Invalid or unsupported Solidity type string causes encoding failure","Mismatched parameter count vs type definitions returns an error","Malformed queryParams object leads to a 400 bad request","Unsupported ABI version or method signature format","Network or service timeout returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use ABI encoding service without running a local Ethereum library. It is suitable for agents that occasionally need to encode smart contract calldata on demand, especially in serverless or resource-constrained environments where importing ethers.js or web3 is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:52:21.091Z","isFirstParty":false}