Get Subaccount Token Rewards

Queries all token rewards across epochs for a subaccount

See getSubaccountTokenRewards API reference for more details.

Makes a call to Indexer API > Rewards via the SDK.

Usage

import { createVertexClient } from '@vertex-protocol/client';

const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.subaccount.getSubaccountTokenRewards(...);

Last updated