{
  "x402Version": 2,
  "id": 46,
  "slug": "46",
  "resource": "https://api.onesource.io/api/chain/nonce/:address",
  "description": "Next transaction nonce for any Ethereum wallet via eth_getTransactionCount - how many txs it has sent",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 3600
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
          },
          "queryParams": {
            "network": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "nonce": "0x4d2"
            },
            "meta": {
              "cost_usdc": "0.001",
              "endpoint": "/api/chain/nonce/0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
              "payment_chain": "base",
              "payment_token": "USDC",
              "request_id": "00000000abcdef01"
            }
          },
          "type": "json"
        }
      },
      "routeTemplate": "/api/chain/nonce/:address",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "pathParams": {
                "properties": {
                  "address": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {
                  "block": {
                    "oneOf": [
                      {
                        "minimum": 0,
                        "type": "integer"
                      },
                      {
                        "enum": [
                          "latest",
                          "pending",
                          "earliest",
                          "safe",
                          "finalized"
                        ],
                        "type": "string"
                      },
                      {
                        "pattern": "^0[xX][a-fA-F0-9]+$",
                        "type": "string"
                      }
                    ]
                  },
                  "network": {
                    "default": "ethereum",
                    "enum": [
                      "ethereum",
                      "sepolia",
                      "robinhood"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "description": "Endpoint-specific response payload",
                    "properties": {
                      "nonce": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "error": {
                    "properties": {
                      "code": {
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "meta": {
                    "properties": {
                      "cost_usdc": {
                        "type": "string"
                      },
                      "endpoint": {
                        "type": "string"
                      },
                      "payment_chain": {
                        "type": "string"
                      },
                      "payment_token": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "endpoint",
                      "request_id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.onesource.io",
  "lastUpdated": "2026-09-18T18:53:58.42Z",
  "quality": {
    "calls30d": 670,
    "uniquePayers30d": 666,
    "lastCalledAt": "2026-09-18T18:53:58.28Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.onesource.io",
    "manifest_name": "api.onesource.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}