wallet
Get replacement tx params for speed-up (stuck EVM tx)
Returns **replacement transaction params** for a stuck EVM transaction (same nonce, same to/value/data, higher gas). Client signs the replacement and broadcasts via POST /api/wallet/non-custodial/broadcast. Address must be registered for your organization. Use when a tx has been pending >5 min (stuck). EVM chains only.
POST
/api/wallet/non-custodial/speed-upAuthentication
Requires JWT
Note
Include your JWT in the
Authorization: Bearer YOUR_TOKEN header (user-facing apps, RBAC). View authentication guide →Request Body
Stuck transaction identifier (txId or txHash) and EVM chain.
json
{
"txId": "fuQL5q2CnCsEqHUo",
"txHash": "interface back up",
"chain": "binance"
}{
"txId": "fuQL5q2CnCsEqHUo",
"txHash": "interface back up",
"chain": "binance"
}SDK setup
Create a client and set credentials (JWT and/or API key) before calling the API. Match the authentication type shown above.
import { MudbaseClient } from "mudbase";
const client = new MudbaseClient();
client.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c3JfbW9yZ2FuX2RlIiwiZW1haWwiOiJtb3JnYW4uY2hlbkBub3J0aHdpbmQuZGV2IiwiZXhwIjoxODI1MTI5NjAwfQ.doc_preview_sig");import { MudbaseClient } from "mudbase";
const client = new MudbaseClient();
client.setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c3JfbW9yZ2FuX2RlIiwiZW1haWwiOiJtb3JnYW4uY2hlbkBub3J0aHdpbmQuZGV2IiwiZXhwIjoxODI1MTI5NjAwfQ.doc_preview_sig");Example request
Call this endpoint using the client from SDK setup. Use View HTTP for a raw cURL example.
const result = await client.wallet.getSpeedUpParams({
chain: "monitor synthesize",
txId: "o6dVYBCTrRcTIanz",
txHash: "card input"
});const result = await client.wallet.getSpeedUpParams({
chain: "monitor synthesize",
txId: "o6dVYBCTrRcTIanz",
txHash: "card input"
});Try It Live
Test this endpoint with your own credentials. Your requests will be sent to the live API.
Use the auth endpoints to obtain a JWT.
No Request Yet
Send a request to see the full inspector
Responses
200Replacement tx params (client signs and broadcasts via /broadcast)
json
{
"success": true,
"data": {
"chainId": 1,
"from": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"nonce": 7,
"to": "0xdef4567890123456789012345678901234567890",
"value": "1000000000000000000",
"data": "0x",
"gasLimit": "21000",
"maxFeePerGas": "36000000000",
"maxPriorityFeePerGas": "2000000000"
}
}{
"success": true,
"data": {
"chainId": 1,
"from": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"nonce": 7,
"to": "0xdef4567890123456789012345678901234567890",
"value": "1000000000000000000",
"data": "0x",
"gasLimit": "21000",
"maxFeePerGas": "36000000000",
"maxPriorityFeePerGas": "2000000000"
}
}400Bad request or validation error.
401Authentication required or invalid token.
403Access denied or insufficient permissions.
404Transaction or address not found (exact backend message).
Errors
| Code | Meaning |
|---|---|
400 | Bad request or validation error. |
401 | Authentication required or invalid token. |
403 | Access denied or insufficient permissions. |
404 | Transaction or address not found (exact backend message). |