Skip to content

HeliusProvider

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / HeliusProvider

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15864

Helius RPC Provider implementation

Uses Helius DAS API for efficient token queries. Recommended for production deployments.

new HeliusProvider(config): HeliusProvider

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15870

HeliusProviderConfig

HeliusProvider

readonly name: "helius" = "helius"

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15865

Provider name for logging/debugging

SolanaRPCProvider.name

getAssetsByOwner(owner): Promise<TokenAsset[]>

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15877

Get all token assets owned by an address using DAS API

Uses getAssetsByOwner for comprehensive asset information including NFTs and fungible tokens with metadata.

string

Promise<TokenAsset[]>

SolanaRPCProvider.getAssetsByOwner


getTokenBalance(owner, mint): Promise<bigint>

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15883

Get token balance for a specific mint using Balances API

More efficient than getAssetsByOwner when you only need one token’s balance.

string

string

Promise<bigint>

SolanaRPCProvider.getTokenBalance


supportsSubscriptions(): boolean

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15897

Check if provider supports real-time subscriptions

Helius supports webhooks for real-time notifications, but that requires server-side setup. Client-side subscriptions are not directly supported.

boolean

SolanaRPCProvider.supportsSubscriptions