{
  "x402Version": 2,
  "id": 35730,
  "slug": "35730",
  "resource": "https://base-facts.yankii.fr/v1/wallet",
  "description": "Get ETH and USDC balance for a wallet address",
  "type": "http",
  "serviceName": "Wallet Balance",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x40661D56c2Bf416c5946A8b21098eaF8D33459A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "blockNumber": {
            "type": "string"
          },
          "eth": {
            "properties": {
              "decimal": {
                "type": "string"
              },
              "wei": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "isContract": {
            "type": "boolean"
          },
          "nonce": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "usdc": {
            "properties": {
              "atomic": {
                "type": "string"
              },
              "decimal": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "address": "0x40661D56c2Bf416c5946A8b21098eaF8D33459A2"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "blockNumber": "52130000",
            "eth": {
              "decimal": "0.0",
              "wei": "0"
            },
            "isContract": false,
            "nonce": 0,
            "source": "base-mainnet-rpc",
            "usdc": {
              "atomic": "0",
              "decimal": "0.000000"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "0x-prefixed address",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "blockNumber": {
                    "type": "string"
                  },
                  "eth": {
                    "properties": {
                      "decimal": {
                        "type": "string"
                      },
                      "wei": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "isContract": {
                    "type": "boolean"
                  },
                  "nonce": {
                    "type": "integer"
                  },
                  "source": {
                    "type": "string"
                  },
                  "usdc": {
                    "properties": {
                      "atomic": {
                        "type": "string"
                      },
                      "decimal": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "base",
    "wallet",
    "balance",
    "bazaar"
  ],
  "sourceHost": "base-facts.yankii.fr",
  "lastUpdated": "2026-10-11T08:40:01.832Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T08:40:01.234Z"
  },
  "metadata": {
    "serviceName": "Wallet Balance",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "address": "0x40661D56c2Bf416c5946A8b21098eaF8D33459A2"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "blockNumber": "52130000",
              "eth": {
                "decimal": "0.0",
                "wei": "0"
              },
              "isContract": false,
              "nonce": 0,
              "source": "base-mainnet-rpc",
              "usdc": {
                "atomic": "0",
                "decimal": "0.000000"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "address": {
                      "description": "0x-prefixed address",
                      "type": "string"
                    }
                  },
                  "required": [
                    "address"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "blockNumber": {
                      "type": "string"
                    },
                    "eth": {
                      "properties": {
                        "decimal": {
                          "type": "string"
                        },
                        "wei": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "isContract": {
                      "type": "boolean"
                    },
                    "nonce": {
                      "type": "integer"
                    },
                    "source": {
                      "type": "string"
                    },
                    "usdc": {
                      "properties": {
                        "atomic": {
                          "type": "string"
                        },
                        "decimal": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "base-facts.yankii.fr",
    "manifest_name": "base-facts.yankii.fr",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "blockNumber": "string",
      "eth": {
        "decimal": "string",
        "wei": "string"
      },
      "isContract": true,
      "nonce": 0,
      "source": "string",
      "usdc": {
        "atomic": "string",
        "decimal": "string"
      }
    },
    "type": "string"
  }
}