250 lines
7.2 KiB
JSON

{
"name": "next",
"type": "server",
"language": "typescript",
"x402Version": 2,
"extensions": [
"bazaar",
"eip2612GasSponsoring",
"erc20ApprovalGasSponsoring"
],
"endpoints": [
{
"path": "/api/exact/evm/eip3009/proxy",
"method": "GET",
"description": "EVM EIP-3009 endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "exact",
"assetTransferMethod": "eip3009"
},
{
"path": "/api/exact/evm/permit2/proxy",
"method": "GET",
"description": "EVM Permit2 direct endpoint (standard settle, no gas sponsoring)",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "exact",
"assetTransferMethod": "permit2",
"schemeOptions": {
"permit2Direct": true
}
},
{
"path": "/api/exact/evm/permit2-eip2612GasSponsoring/proxy",
"method": "GET",
"description": "EVM Permit2 endpoint with EIP-2612 gas sponsoring using proxy middleware",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "exact",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/exact/evm/permit2-erc20ApprovalGasSponsoring/proxy",
"method": "GET",
"description": "EVM Permit2 endpoint with ERC-20 approval gas sponsoring using proxy middleware",
"requiresPayment": true,
"protocolFamily": "evm",
"extensions": [
"erc20ApprovalGasSponsoring"
],
"scheme": "exact",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/upto/evm/permit2",
"method": "GET",
"description": "Protected Upto Permit2 endpoint (direct, client must pre-approve)",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "upto",
"assetTransferMethod": "permit2",
"schemeOptions": {
"permit2Direct": true
}
},
{
"path": "/api/upto/evm/permit2-eip2612GasSponsoring",
"method": "GET",
"description": "Protected Upto Permit2 endpoint with EIP-2612 gas sponsoring",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "upto",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/upto/evm/permit2-erc20ApprovalGasSponsoring",
"method": "GET",
"description": "Protected Upto Permit2 endpoint with ERC-20 approval gas sponsoring",
"requiresPayment": true,
"protocolFamily": "evm",
"extensions": [
"erc20ApprovalGasSponsoring"
],
"scheme": "upto",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/exact/svm",
"method": "GET",
"description": "SVM endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "svm"
},
{
"path": "/api/exact/avm",
"method": "GET",
"description": "AVM endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "avm"
},
{
"path": "/api/exact/aptos",
"method": "GET",
"description": "Aptos endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "aptos"
},
{
"path": "/api/exact/hedera",
"method": "GET",
"description": "Hedera endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "hedera"
},
{
"path": "/api/exact/stellar",
"method": "GET",
"description": "Stellar endpoint using proxy middleware",
"requiresPayment": true,
"protocolFamily": "stellar"
},
{
"path": "/api/exact/evm/eip3009/withx402",
"method": "GET",
"description": "EVM EIP-3009 endpoint using withX402 wrapper",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "exact",
"assetTransferMethod": "eip3009"
},
{
"path": "/api/batch-settlement/evm/eip3009/proxy",
"method": "GET",
"description": "Batch-settlement EVM endpoint (proxy middleware): deposit + voucher + recovery voucher + cooperative refund",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "batch-settlement",
"assetTransferMethod": "eip3009"
},
{
"path": "/api/batch-settlement/evm/permit2/proxy",
"method": "GET",
"description": "Batch-settlement Permit2 direct endpoint (proxy middleware, pre-approved Permit2)",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "batch-settlement",
"assetTransferMethod": "permit2",
"schemeOptions": {
"permit2Direct": true
}
},
{
"path": "/api/batch-settlement/evm/permit2-eip2612GasSponsoring/proxy",
"method": "GET",
"description": "Batch-settlement Permit2 endpoint with EIP-2612 gas sponsoring using proxy middleware",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "batch-settlement",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/batch-settlement/evm/permit2-erc20ApprovalGasSponsoring/proxy",
"method": "GET",
"description": "Batch-settlement Permit2 endpoint with ERC-20 approval gas sponsoring using proxy middleware",
"requiresPayment": true,
"protocolFamily": "evm",
"extensions": [
"erc20ApprovalGasSponsoring"
],
"scheme": "batch-settlement",
"assetTransferMethod": "permit2",
"schemeOptions": {
"coldstart": true
}
},
{
"path": "/api/batch-settlement/evm/eip3009/withx402",
"method": "GET",
"description": "Batch-settlement EVM endpoint (withX402 wrapper): deposit + voucher + recovery voucher + cooperative refund",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "batch-settlement",
"assetTransferMethod": "eip3009"
},
{
"path": "/api/exact/svm/withx402",
"method": "GET",
"description": "SVM endpoint using withX402 wrapper",
"requiresPayment": true,
"protocolFamily": "svm"
},
{
"path": "/api/exact/hedera/withx402",
"method": "GET",
"description": "Hedera endpoint using withX402 wrapper",
"requiresPayment": true,
"protocolFamily": "hedera"
},
{
"path": "/api/exact/stellar/withx402",
"method": "GET",
"description": "Stellar endpoint using withX402 wrapper",
"requiresPayment": true,
"protocolFamily": "stellar"
},
{
"path": "/api/health",
"method": "GET",
"description": "Health check endpoint",
"health": true
},
{
"path": "/api/close",
"method": "POST",
"description": "Graceful shutdown endpoint",
"close": true
}
],
"environment": {
"required": [
"PORT",
"EVM_PAYEE_ADDRESS",
"SVM_PAYEE_ADDRESS",
"FACILITATOR_URL"
],
"optional": [
"AVM_PAYEE_ADDRESS",
"APTOS_PAYEE_ADDRESS",
"HEDERA_PAYEE_ADDRESS",
"STELLAR_PAYEE_ADDRESS",
"EVM_RECEIVER_AUTHORIZER_PRIVATE_KEY"
]
}
}