cURL
curl --request GET \ --url https://api.mrdn.finance/v1/supported \ --header 'Authorization: <api-key>'
{ "kinds": [ { "network": "<string>", "asset": "<string>", "schemes": [ "<string>" ] } ] }
Get list of supported payment types and networks
{ "kinds": [ { "x402Version": 1, "scheme": "exact", "network": "base" }, { "x402Version": 1, "scheme": "exact", "network": "base-sepolia" }, { "x402Version": 1, "scheme": "exact", "network": "optimism" }, { "x402Version": 1, "scheme": "exact", "network": "optimism-sepolia" }, { "x402Version": 1, "scheme": "exact", "network": "polygon" } ] }
base
base-sepolia
optimism
optimism-sepolia
polygon
const response = await fetch('/v1/supported') const data = await response.json() console.log('Supported payment kinds:', data.kinds) // Check if a specific network is supported const isOptimismSupported = data.kinds.some( kind => kind.network === 'optimism' )
Supported payment kinds
Show child attributes