revokeBuilderFee
Removes the signing user's approval for one builder. The action fails with Builder not approved if no active approval exists.
revokeBuilderFeeWithdraw a user’s fee approval for one builder.Direct EIP-712, signed by the account key
TxFlow signing API version.
Builder wallet whose approval is removed.
TxFlow chain ID.
Fresh millisecond timestamp. Direct EIP-712 actions carry the nonce inside the action as well as in the outer payload; the two must match.
TxFlow network name used by the EIP-712 action and domain.
Must be `revokeBuilderFee`.
"revokeBuilderFee"curl -X POST https://rpc.txflow-testnet.xyz/exchange \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"action": {
"type": "revokeBuilderFee",
"txflowNetwork": "TxFlow-Testnet",
"chainId": 2511,
"apiVersion": 1,
"builder": "0x2e4D75df2eE2653EA7a113cC1Fa36D45E923061F",
"nonce": 1757992743994
},
"signature": {
"r": "0x<r>",
"s": "0x<s>",
"v": 27
},
"nonce": 1757992743994,
"vaultAddress": null,
"signatureChainId": null
}'`0` on success.
The action's internal name, which does not always match the request `type`.
"RevokeBuilderFee"A rejected request returns `err` with a non-zero `code` and the reason in `message` (or `response`).
"ok"{
"status": "ok",
"code": 0,
"data": {
"type": "RevokeBuilderFee",
"data": {
"statuses": [
"success"
]
}
}
}Signing
Like approveBuilderFee, this action is signed directly by the account key. Its EIP-712 primary type is distinct from the approval type:
RevokeBuilderFee(string txflowNetwork,uint32 chainId,uint32 apiVersion,address builder,uint64 nonce){
"type": "revokeBuilderFee",
"txflowNetwork": "TxFlow-Testnet",
"chainId": 2511,
"apiVersion": 1,
"builder": "0x2e4D75df2eE2653EA7a113cC1Fa36D45E923061F",
"nonce": 1757992743994
}The replay nonce is the body's own nonce. When the outer payload carries signatureChainId, it overrides only domain.chainId; the business chainId inside the signed struct remains unchanged. See Signing.
Next steps
After propagation, the approval's maxFeeRate is 0 and its status is REVOKED.