{
  "x402Version": 2,
  "id": 25720,
  "slug": "25720",
  "resource": "https://api.onesource.io/api/chain/pending",
  "description": "Pending block - transactions not yet mined, via eth_getBlockByNumber(\"pending\")",
  "type": "http",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 3600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "Endpoint-specific response payload",
            "properties": {
              "result": {
                "properties": {
                  "gasLimit": {
                    "type": "string"
                  },
                  "gasUsed": {
                    "type": "string"
                  },
                  "number": {
                    "type": "string"
                  },
                  "timestamp": {
                    "type": "string"
                  },
                  "transactions": {
                    "items": {
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "gas": {
                          "type": "string"
                        },
                        "hash": {
                          "type": "string"
                        },
                        "nonce": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "network": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "result": {
                "gasLimit": "0x1c9c380",
                "gasUsed": "0xa7d8c0",
                "number": "0x133da1f",
                "timestamp": "0x6567c8ec",
                "transactions": [
                  {
                    "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
                    "gas": "0x5208",
                    "hash": "0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f",
                    "nonce": "0x4d2",
                    "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "value": "0x0"
                  }
                ]
              }
            },
            "meta": {
              "cost_usdc": "0.001",
              "endpoint": "/api/chain/pending",
              "payment_chain": "base",
              "payment_token": "USDC",
              "request_id": "00000000abcdef01"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "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": {
                      "result": {
                        "properties": {
                          "gasLimit": {
                            "type": "string"
                          },
                          "gasUsed": {
                            "type": "string"
                          },
                          "number": {
                            "type": "string"
                          },
                          "timestamp": {
                            "type": "string"
                          },
                          "transactions": {
                            "items": {
                              "properties": {
                                "from": {
                                  "type": "string"
                                },
                                "gas": {
                                  "type": "string"
                                },
                                "hash": {
                                  "type": "string"
                                },
                                "nonce": {
                                  "type": "string"
                                },
                                "to": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "type": "array"
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      }
                    },
                    "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-10-08T06:07:21.274Z",
  "quality": {
    "calls30d": 79,
    "uniquePayers30d": 77,
    "lastCalledAt": "2026-10-08T06:07:21.162Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "network": "ethereum"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "result": {
                  "gasLimit": "0x1c9c380",
                  "gasUsed": "0xa7d8c0",
                  "number": "0x133da1f",
                  "timestamp": "0x6567c8ec",
                  "transactions": [
                    {
                      "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
                      "gas": "0x5208",
                      "hash": "0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f",
                      "nonce": "0x4d2",
                      "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                      "value": "0x0"
                    }
                  ]
                }
              },
              "meta": {
                "cost_usdc": "0.001",
                "endpoint": "/api/chain/pending",
                "payment_chain": "base",
                "payment_token": "USDC",
                "request_id": "00000000abcdef01"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "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": {
                        "result": {
                          "properties": {
                            "gasLimit": {
                              "type": "string"
                            },
                            "gasUsed": {
                              "type": "string"
                            },
                            "number": {
                              "type": "string"
                            },
                            "timestamp": {
                              "type": "string"
                            },
                            "transactions": {
                              "items": {
                                "properties": {
                                  "from": {
                                    "type": "string"
                                  },
                                  "gas": {
                                    "type": "string"
                                  },
                                  "hash": {
                                    "type": "string"
                                  },
                                  "nonce": {
                                    "type": "string"
                                  },
                                  "to": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "result": {
          "gasLimit": "string",
          "gasUsed": "string",
          "number": "string",
          "timestamp": "string",
          "transactions": [
            {
              "from": "string",
              "gas": "string",
              "hash": "string",
              "nonce": "string",
              "to": "string",
              "value": "string"
            }
          ]
        }
      },
      "error": {
        "code": 0,
        "message": "string"
      },
      "meta": {
        "cost_usdc": "string",
        "endpoint": "string",
        "payment_chain": "string",
        "payment_token": "string",
        "request_id": "string"
      }
    },
    "type": "string"
  }
}