bor_getAuthor
Last updated:
`bor_getAuthor` returns the **block author** for a given block — the address of the validator that proposed (signed) that block under Polygon's Bor consensus. It is the historic counterpart of [`bor_getCurrentProposer`](./bor_getCurrentProposer.md): where the latter tells you who is proposing right now, `bor_getAuthor` answers "who proposed block *N*?" for any block in the chain's history.
This is a method in the **`bor` namespace**, a Polygon-exclusive extension of the standard EVM JSON-RPC surface. It exposes Bor consensus state — validator sets, proposers, signers, and snapshots — that is **not available on standard Geth or Erigon nodes**; calling these methods against a plain EVM provider returns a method-not-found error. Triport serves the full `bor` namespace on the Polygon endpoint.
The most common use is **validator productivity indexing**: by resolving the author of each block over an epoch you can measure how many blocks each validator proposed. Because the Polygon archive depth is **≥ 5,000,000 blocks** (roughly four months at ~2.1 s block time), you can look up authors well into the past, not just for recent blocks. `bor` methods require the **Pro** tier or higher.
Parameters
This method takes no parameters.
Returns
| Field | Type |
|---|---|
| result | object |
Examples
curl https://<your-endpoint>/ \
-X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"bor_getAuthor","params":[]}'const res = await fetch("https://<your-endpoint>/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"id": 1,
"method": "bor_getAuthor",
"params": [],
"jsonrpc": "2.0"
}),
});
const data = await res.json();import requests
resp = requests.post("https://<your-endpoint>/", json={"id":1,"method":"bor_getAuthor","params":[],"jsonrpc":"2.0"})
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Networks: mainnet.
- Credit cost: 1 per call.
FAQ
- What does bor_getAuthor do?
- Returns the block author — the validator address that proposed a given Polygon block.
- How many credits does bor_getAuthor cost?
- bor_getAuthor costs 1 credit(s) per call on Triport by default.
- Is bor_getAuthor available over WebSocket?
- bor_getAuthor is an HTTP JSON-RPC method.