JSON-RPC 2.0 client for the pxe-bridge.
pxe-bridge embeds an Aztec PXE and exposes it via HTTP. This client
wraps the two RPC methods (aztec_createNote, aztec_getVersion)
and the /status health endpoint.
Configuration
config = %{
url: "http://127.0.0.1:8547",
api_key: "optional-bearer-token"
}
{:ok, result} = Pxe.Client.create_note(config, %CreateNoteParams{...})
Summary
Functions
Create a shielded note on Aztec L2 for a recipient.
Get the connected Aztec node version.
Check bridge health via GET /status.