Module relayer

Source
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§

TransactionPath
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.