Account permissioning
Windpay can block an address from sending transactions. The blocklist lives in a contract on-chain, and the public RPC endpoint enforces it on every transaction it receives.
Windpay uses a blocklist, not an allowlist: every address is permitted by default, and stays permitted unless it is explicitly blocked.
The contract
0xE331898d7658B248be8BdCA7c52FE70515aAEA20Anyone can read it. The functions that matter:
| Function | Purpose |
|---|---|
isBlocked(address) view returns (bool) | check any address — open to everyone |
blockedCount() view returns (uint256) | how many addresses are blocked |
paused() view returns (bool) | whether enforcement is suspended |
blockAddress(address, string reason) | block one address, with a stated reason |
blockAddresses(address[], string reason) | block several at once |
unblockAddress(address) | remove a block |
unblockAddresses(address[]) | remove several blocks |
owner() / transferOwnership(address) | who may block, and handing that over |
The four write functions are restricted to the contract owner. Reading is open to anyone, so any user, exchange or integrator can verify an address for themselves without asking Windpay.
Checking an address
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider('https://rpc.windpay.org/rpc');
const permissioning = new ethers.Contract(
'0xE331898d7658B248be8BdCA7c52FE70515aAEA20',
['function isBlocked(address addr) view returns (bool)'],
provider,
);
const blocked = await permissioning.isBlocked('0xSomeAddress');
console.log(blocked ? 'BLOCKED' : 'Permitted');Or straight from the command line. The call data is the isBlocked(address) selector 0xfbac3951 followed by the address padded to 32 bytes:
curl -s -X POST https://rpc.windpay.org/rpc \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{
"to":"0xE331898d7658B248be8BdCA7c52FE70515aAEA20",
"data":"0xfbac3951000000000000000000000000c1d9df630978bd87b2108a9e4be5552699bfb4aa"
},"latest"]}'A result ending in …0001 means blocked; …0000 means permitted. The example above checks Windswap's validator address and returns …0000.
How enforcement works
The blocklist is enforced in two places.
At the public endpoint. Every transaction arriving at https://rpc.windpay.org/rpc is checked before it is passed to a node:
- The sender is recovered from the transaction's signature, not from a field the caller supplies. A blocked sender cannot disguise itself by editing the request.
- That address is checked against the contract.
- If it is blocked, the transaction is rejected immediately and never reaches the transaction pool, a validator, or a block.
Both eth_sendRawTransaction and eth_sendTransaction are covered. Results are cached briefly, so a newly blocked address stops being able to send within a few seconds, and a newly unblocked one recovers just as quickly.
Inside the node software. Every Windpay node also reads the blocklist itself and refuses a blocked address at transaction-pool admission, in both directions — as the sender, and as the recipient. The node reads the contract's storage directly rather than calling it, so the answer depends only on the state at that block, and the contract's paused flag and per-entry expiry are honoured exactly as the Solidity defines them.
This second check ships with the published node source, so a node built from Windpay's own repository enforces the same list. It is what makes the blocklist hold for transactions that never pass through the public endpoint.
Read-only calls are unaffected under both checks. A blocked address can still check its balance, read contracts and view its history — it simply cannot send.
Scope and limits
Be precise about what this does and does not cover.
What it stops. Transactions submitted through the public endpoint, and transactions reaching any node that runs the standard Windpay client — which is every node the operator runs, and every node built from the published source.
What it does not stop. The node-side check lives in transaction-pool admission, which is each node's own policy rather than a consensus rule. A validator running a modified client could therefore include a blocked address's transaction in a block it builds, and the rest of the network would accept that block.
Validator slots are open to anyone meeting the stake requirement, so this is a real limit rather than a theoretical one. Closing it requires the check to move into the state transition, which is a consensus change and has to be activated at a fork height agreed by every node. That has not been done.
Transfers inside a contract call are not covered either. The check inspects transactions, not the value movements a contract makes while executing. A blocked address can still receive through a contract, and tokens it approved to a third party before being blocked can still be moved by that third party.
Not a replacement for token-level controls
This blocklist governs sending transactions on Windpay. A token issued on Windpay that needs its own transfer restrictions — a regulated stablecoin, for instance — should implement them in the token contract. The two are independent.
Who can block
Blocking and unblocking are owner-only operations. Ownership is held by an address controlled by the Windpay operator, readable at any time:
await permissioning.owner();transferOwnership allows that control to be moved — including to a governance contract, so that blocking requires a vote rather than a single signature. Windpay already has the governance machinery for this on-chain: a Governor at 0x0000000000000000000000000000000000002004 and a Timelock at 0x0000000000000000000000000000000000002006.
Current state
At the time this page was last verified:
| Reading | Value |
|---|---|
blockedCount() | 0 |
paused() | false |
No address on Windpay is currently blocked.
Next steps
- Contract addresses — the full list of system contracts
- RPC endpoints — the endpoints this check applies to
- Node types — how Windpay's network is reached

