{
  "openapi": "3.0.0",
  "info": {
    "title": "Multi-Chain Stablecoin Balance API API",
    "description": "Query stablecoin holdings for individual wallets across 10+ blockchain networks with a single API call. Get comprehensive balance data for USDT, USDC, DAI, and more across multiple chains including Ethereum, Solana, Polygon, BSC, and Tron.",
    "version": "1.0.0",
    "contact": {
      "email": "john@quicknode.com",
      "url": "https://support.quicknode.com"
    }
  },
  "servers": [
    {
      "url": "https://{quicknode_endpoint}",
      "description": "Your Quicknode endpoint",
      "variables": {
        "quicknode_endpoint": {
          "default": "your-endpoint.quiknode.pro",
          "description": "Your Quicknode endpoint URL"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "JSON-RPC",
      "description": "See request body examples for the available methods you can call on this add-on"
    }
  ],
  "paths": {
    "/jsonrpc": {
      "post": {
        "summary": "JSON-RPC methods for https://stablecoin-api.quicknode.com/jsonrpc",
        "description": "Available methods:\n• getSupportedStablecoins: Returns all supported chains and stablecoins with their contract addresses and metadata.\n• getStablecoinBalances: Query stablecoin balances for any wallet address (EVM, Solana, or Tron format) across multiple blockchain networks in a single call. Supports optional filtering by chain, token symbol, contract address, peg type (USD/EUR/JPY), backing type (fiat/crypto/algorithmic), issuer type (centralized/decentralized), and more",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "jsonrpc": {
                        "type": "string",
                        "enum": [
                          "2.0"
                        ]
                      },
                      "method": {
                        "type": "string",
                        "enum": [
                          "getSupportedStablecoins"
                        ]
                      },
                      "id": {
                        "type": "integer",
                        "example": 1
                      }
                    },
                    "required": [
                      "jsonrpc",
                      "method",
                      "id"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "jsonrpc": {
                        "type": "string",
                        "enum": [
                          "2.0"
                        ]
                      },
                      "method": {
                        "type": "string",
                        "enum": [
                          "getStablecoinBalances"
                        ]
                      },
                      "id": {
                        "type": "integer",
                        "example": 1
                      },
                      "params": {
                        "type": "object",
                        "description": "Named parameters",
                        "example": {
                          "address": "0xF977814e90dA44bFA03b6295A0616a897441aceC",
                          "chains": [
                            "bsc",
                            "arbitrum",
                            "base"
                          ],
                          "tokens": [
                            "usdc",
                            "dai"
                          ],
                          "peg_type": [
                            "usd"
                          ]
                        }
                      }
                    },
                    "required": [
                      "jsonrpc",
                      "method",
                      "id",
                      "params"
                    ]
                  }
                ],
                "discriminator": {
                  "propertyName": "method"
                }
              },
              "examples": {
                "getSupportedStablecoins": {
                  "summary": "Returns all supported chains and stablecoins with their contract addresses and metadata.",
                  "value": {
                    "jsonrpc": "2.0",
                    "method": "getSupportedStablecoins",
                    "id": 1
                  }
                },
                "getStablecoinBalances": {
                  "summary": "Query stablecoin balances for any wallet address (EVM, Solana, or Tron format) across multiple blockchain networks in a single call. Supports optional filtering by chain, token symbol, contract address, peg type (USD/EUR/JPY), backing type (fiat/crypto/algorithmic), issuer type (centralized/decentralized), and more",
                  "value": {
                    "jsonrpc": "2.0",
                    "method": "getStablecoinBalances",
                    "id": 1,
                    "params": {
                      "address": "0xF977814e90dA44bFA03b6295A0616a897441aceC",
                      "chains": [
                        "bsc",
                        "arbitrum",
                        "base"
                      ],
                      "tokens": [
                        "usdc",
                        "dai"
                      ],
                      "peg_type": [
                        "usd"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jsonrpc": {
                      "type": "string",
                      "enum": [
                        "2.0"
                      ]
                    },
                    "id": {
                      "type": "integer"
                    },
                    "result": {
                      "description": "Method result"
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "description": "Additional error data"
                        }
                      }
                    }
                  },
                  "required": [
                    "jsonrpc",
                    "id"
                  ]
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://www.quicknode.com/docs/ethereum/multi-chain-stablecoin-balance-api/getSupportedStablecoins",
          "description": "Documentation: getSupportedStablecoins: https://www.quicknode.com/docs/ethereum/multi-chain-stablecoin-balance-api/getSupportedStablecoins, getStablecoinBalances: https://www.quicknode.com/docs/ethereum/multi-chain-stablecoin-balance-api/getStablecoinBalances"
        },
        "tags": [
          "JSON-RPC"
        ]
      }
    }
  },
  "externalDocs": {
    "description": "Support Documentation",
    "url": "https://support.quicknode.com"
  }
}