Expand description
This module defines the HTTP routes for relayer operations. It includes handlers for listing, retrieving, updating, and managing relayer transactions. The routes are integrated with the Actix-web framework and interact with the relayer controller.
Structs§
- Transaction
Path - cancel_
transaction - Cancels a specific transaction by its ID.
- create_
relayer - Creates a new relayer.
- delete_
pending_ transactions - Deletes all pending transactions for a specific relayer.
- delete_
relayer - Deletes a relayer by ID.
- get_
relayer - Retrieves details of a specific relayer by ID.
- get_
relayer_ balance - Retrieves the balance of a specific relayer.
- get_
relayer_ status - Fetches the current status of a specific relayer.
- get_
transaction_ by_ id - Retrieves a specific transaction by its ID.
- get_
transaction_ by_ nonce - Retrieves a transaction by its nonce value.
- list_
relayers - Lists all relayers with pagination support.
- list_
transactions - Lists all transactions for a specific relayer with pagination.
- replace_
transaction - Replaces a specific transaction with a new one.
- rpc
- Performs a JSON-RPC call using the specified relayer.
- send_
transaction - Sends a transaction through the specified relayer.
- sign
- Signs data using the specified relayer.
- sign_
transaction - Signs a transaction using the specified relayer (Stellar only).
- sign_
typed_ data - Signs typed data using the specified relayer.
- update_
relayer - Updates a relayer’s information using JSON Merge Patch (RFC 7396).
Functions§
- init
- Initializes the routes for the relayer module.