Developers
Search…
Pending Qubit (or Accrued Qubit)
Every Qubit user accrues QBT for each second they are supplying to or borrowing from the protocol. Users may call the Qore's accruedQubit method at any time to get amount of accrued QBT.

Qore

1
// Get accrued QBT by holder in all markets
2
function accruedQubit(address account) external view returns (uint);
3
4
// Get accrued QBT by holder in specific market
5
function accruedQubit(address market, address account) external view returns (uint);
Copied!

Solidity

1
Qore qore = Qore(<qoreAddress>);
2
uint accruedQubit = qore.accruedQubit(<account>);
Copied!

Ethers.js

1
const qore = await ethers.getContractAt(<qoreABI>, <qoreAddress>);
2
const accruedQubit = await qore.accruedQubit(<account>);
Copied!
Last modified 2mo ago
Copy link