RealPaysFee
Storage Map v385 → v411 Changed in v411Per-(real, proxy ) pair flag: whether the real account pays for proxy calls between them.
Explore chainQueried by: walletsdevelopers
The Big Picture
Controls who is charged for a specific (real, proxy) pair. Wallets surfacing proxy actions should check this so users know which account will be debited.
From Chain Metadata
Tracks which (real, delegate) pairs have opted in to the real account paying transaction fees for proxy calls made by the delegate. Existence of an entry means the real account pays; absence means the delegate pays (default).
Purpose & Usage
Purpose
Tracks fee attribution for the (real → proxy) relationship. Entry presence marks real-pays-fee for that pair.
Common Query Patterns
- Query by (real, proxy) AccountIds before submitting a proxy call
Query Keys
Stored Value
value (())
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query RealPaysFee storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const key2 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query.Proxy.RealPaysFee.getValue(key1, key2);
console.log("RealPaysFee:", result);Version History
v385 block 7,782,670 Added
v386–v390 · runtime versions skipped on chain (never deployed)
v391 block 7,782,857 Internal re-bind
v394–v400 · runtime versions skipped on chain (never deployed)
v401 block 8,036,576 Internal re-bind
v403–v410 · runtime versions skipped on chain (never deployed)
v411 block 8,283,784 Internal re-bind Current
Runtime Info
- Pallet
- Proxy
- Storage Kind
- Map
- First Version
- v385
- Current Version
- v411