Execute Custom Transaction
Endpoint allows you to execute a custom transaction on the specified blockchain. Use this endpoint to initiate transactions with custom parameters.
Overview
Parameters
address
: (Path Parameter): Sender's wallet address (string).chain
: (Path Parameter): Blockchain (string). Available values:polygon
.
Request Body
Media Type: application/json
Example Value:
Responses
Success (Code 200)
Media Type: application/json
Example Value: An object containing the transaction hash for the successful custom transaction.
Media Type: application/json
Example Value: An error response indicating an internal server error.
Usage
Send a POST request to the
/api/wallet/{address}/{chain}/transaction
endpoint to initiate a custom transaction.Include the required parameters and request body in the request.
Handle the response accordingly based on success, unauthorized access, forbidden access, not found, method not allowed, or internal server error.
Note: Ensure the sender's wallet address and blockchain chain are valid. Verify the user's authentication status and permissions before initiating the custom transaction.
Last updated