Send Custom Transaction
Endpoint allows you to send 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.
Unauthorized (Code 401)
Media Type: application/json
Example Value: An error response indicating unauthorized access.
Forbidden (Code 403)
Media Type: application/json
Example Value: An error response indicating forbidden access.
Not Found (Code 404)
Media Type: application/json
Example Value: An error response indicating that the sender's wallet was not found.
Method Not Allowed (Code 405)
Media Type: application/json
Example Value: An error response indicating that the method is not allowed for non-custodial wallets.
Internal Server Error (Code 500)
Media Type: application/json
Example Value: An error response indicating an internal server error.
Usage
Send a POST request to the
/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