Developers
Search…
Claim Qubit
Every Qubit user accrues QBT for each second they are supplying to or borrowing from the protocol. Users may call the Qore's claimQubit method at any time to transfer QBT accrued to their address.

Qore

1
// Claim all the QBT accrued by holder in all markets
2
function claimQubit() external;
3
4
// Claim all the QBT accrued by holder in specific market
5
function claimQubit(address market) external;
Copied!

Solidity

1
Qore qore = Qore(<qoreAddress>);
2
qore.claimQubit();
Copied!

Ethers.js

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