Http

Complete HTTP REST API examples for integrating with NextBlock.

HTTP is the simplest way to integrate if you want to submit transactions with JSON requests. If you want the full typed client flow, use the gRPC examples. If you want the lowest-latency submission path, use QUIC Transaction Submission.

API Endpoints

Choose the endpoint closest to your location:

  • Frankfurt: https://frankfurt.nextblock.io

  • Amsterdam: https://amsterdam.nextblock.io

  • London: https://london.nextblock.io

  • Singapore: https://singapore.nextblock.io

  • Tokyo: https://tokyo.nextblock.io

  • New York: https://ny.nextblock.io

  • Salt Lake City: https://slc.nextblock.io

  • Dublin: https://dublin.nextblock.io

  • Vilnius: https://vilnius.nextblock.io

Authentication

All API requests require an API key in the Authorization header:

Single Transaction Submission

POST /api/v2/submit

Response:

Batched Transaction Submission

POST /api/v2/submit-batch

Response:

Tip Floor API

GET /api/v2/tipfloor

Response:

cURL Examples

The language sections in this docs set focus mainly on gRPC and QUIC examples. Use this page as the canonical HTTP request reference.

Last updated