Web3Signer REST API
The Web3Signer REST API exposes:
- Consensus layer (ETH2) endpoints — use these to sign consensus layer payloads.
- Execution layer (ETH1) endpoints — basic signing only; they do not perform transaction encoding or return a full Ethereum transaction signature.
Recommendation
For execution layer transactions, use the Web3Signer JSON-RPC API instead of the ETH1 REST endpoints.
Access the REST API
Web3Signer serves HTTP requests on a configurable host and port. The default base URL is
http://localhost:9000, you can configure the default base URL by setting:
--http-listen-hostto the required host.--http-listen-portto the required port
Important
Your hostname must be added to the allowlist to call the REST APIs.
API reference
View the REST API documentation for more information about the available APIs.