# SDK Reference

Dive into the specifics of each SDK method by checking out our complete documentation.

## connectNetwork

Connecting to the Solana network:

{% content-ref url="sdk-reference/connect-network" %}
[connect-network](https://solpay-docs.solblaze.org/reference/sdk-reference/connect-network)
{% endcontent-ref %}

## connectWallet

Connecting to the user's wallet:

{% content-ref url="sdk-reference/connect-wallet" %}
[connect-wallet](https://solpay-docs.solblaze.org/reference/sdk-reference/connect-wallet)
{% endcontent-ref %}

## sendSolanaLamports

Sending Solana lamports (recommended):

{% content-ref url="sdk-reference/send-solana-lamports" %}
[send-solana-lamports](https://solpay-docs.solblaze.org/reference/sdk-reference/send-solana-lamports)
{% endcontent-ref %}

## sendSolana

Sending Solana (not recommended):

{% content-ref url="sdk-reference/send-solana" %}
[send-solana](https://solpay-docs.solblaze.org/reference/sdk-reference/send-solana)
{% endcontent-ref %}

## sendTokens

Sending an SPL token in terms of it's lowest denomination (recommended):

{% content-ref url="sdk-reference/send-tokens" %}
[send-tokens](https://solpay-docs.solblaze.org/reference/sdk-reference/send-tokens)
{% endcontent-ref %}

## sendTokensDecimal

Sending an SPL token in a decimal amount (not recommended):

{% content-ref url="sdk-reference/send-tokens-decimal" %}
[send-tokens-decimal](https://solpay-docs.solblaze.org/reference/sdk-reference/send-tokens-decimal)
{% endcontent-ref %}

## signTransaction

Signing a transaction with multiple instructions:

{% content-ref url="sdk-reference/sign-transaction" %}
[sign-transaction](https://solpay-docs.solblaze.org/reference/sdk-reference/sign-transaction)
{% endcontent-ref %}

## broadcastSerializedTransaction

Broadcasting the serialized transaction from `signTransaction` to be confirmed on the Solana network:

{% content-ref url="sdk-reference/broadcast-serialized-transaction" %}
[broadcast-serialized-transaction](https://solpay-docs.solblaze.org/reference/sdk-reference/broadcast-serialized-transaction)
{% endcontent-ref %}

## signMessage

Signing a message using the user's private key:

{% content-ref url="sdk-reference/sign-message" %}
[sign-message](https://solpay-docs.solblaze.org/reference/sdk-reference/sign-message)
{% endcontent-ref %}

## getBalance

Getting the Solana lamports balance of an account:

{% content-ref url="sdk-reference/get-balance" %}
[get-balance](https://solpay-docs.solblaze.org/reference/sdk-reference/get-balance)
{% endcontent-ref %}

## getTokenBalances

Getting all of the token balances held by a Solana account:

{% content-ref url="sdk-reference/get-token-balances" %}
[get-token-balances](https://solpay-docs.solblaze.org/reference/sdk-reference/get-token-balances)
{% endcontent-ref %}

## getAccountInfo

Getting the info for an account:

{% content-ref url="sdk-reference/get-account-info" %}
[get-account-info](https://solpay-docs.solblaze.org/reference/sdk-reference/get-account-info)
{% endcontent-ref %}

## getAssociatedTokenAddress

Getting the associated token address of an account:

{% content-ref url="sdk-reference/get-associated-token-address" %}
[get-associated-token-address](https://solpay-docs.solblaze.org/reference/sdk-reference/get-associated-token-address)
{% endcontent-ref %}

## getTokenBalance

Getting the balance for a token held by a Solana account:

{% content-ref url="sdk-reference/get-token-balance" %}
[get-token-balance](https://solpay-docs.solblaze.org/reference/sdk-reference/get-token-balance)
{% endcontent-ref %}

## tokens.getData

Getting the raw data of a token:

{% content-ref url="sdk-reference/tokens-get-data" %}
[tokens-get-data](https://solpay-docs.solblaze.org/reference/sdk-reference/tokens-get-data)
{% endcontent-ref %}

## tokens.getTags

Getting a list of SPL token registry tags and their descriptions:

{% content-ref url="sdk-reference/tokens-get-tags" %}
[tokens-get-tags](https://solpay-docs.solblaze.org/reference/sdk-reference/tokens-get-tags)
{% endcontent-ref %}

## tokens.getToken

Getting the SPL token metadata from the SPL token registry:

{% content-ref url="sdk-reference/tokens-get-token" %}
[tokens-get-token](https://solpay-docs.solblaze.org/reference/sdk-reference/tokens-get-token)
{% endcontent-ref %}

## tokens.search

Searching for an SPL token in the SPL token registry:

{% content-ref url="sdk-reference/tokens-search" %}
[tokens-search](https://solpay-docs.solblaze.org/reference/sdk-reference/tokens-search)
{% endcontent-ref %}

## tokens.getRawUnvalidatedList

Getting the raw, unvalidated list of tokens in the SPL token registry:

{% content-ref url="sdk-reference/tokens-get-raw-unvalidated-list" %}
[tokens-get-raw-unvalidated-list](https://solpay-docs.solblaze.org/reference/sdk-reference/tokens-get-raw-unvalidated-list)
{% endcontent-ref %}

## adapters

Using adapters to connect to a wallet:

{% content-ref url="sdk-reference/adapters" %}
[adapters](https://solpay-docs.solblaze.org/reference/sdk-reference/adapters)
{% endcontent-ref %}
