@orangecheck/auth-client / fetchOcBond
Function: fetchOcBond()
function fetchOcBond(opts?: {
authOrigin?: string;
}): Promise<OcBondView | null>;
Defined in: bond.tsx:97
The account's bond, or null. Throws when the auth host can't be read.
Parameters
| Parameter | Type |
|---|---|
opts? | { authOrigin?: string; } |
opts.authOrigin? | string |
Returns
Promise<OcBondView | null>