Skip to content

Response Schema

cyhole.solscan.v1.schema

SolscanError

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.SolscanError[SolscanError]

              

              click cyhole.solscan.v1.schema.SolscanError href "" "cyhole.solscan.v1.schema.SolscanError"
            

message instance-attribute

message: str

SolscanHTTPError

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.SolscanHTTPError[SolscanHTTPError]

              

              click cyhole.solscan.v1.schema.SolscanHTTPError href "" "cyhole.solscan.v1.schema.SolscanHTTPError"
            

Solscan API returns an error schema on failed request that can be used to investigated the error. This schema is used to strandardise the HTTPErrors.

status instance-attribute

status: int

error instance-attribute

error: SolscanError

GetAccountTokensTokenAmount

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTokensTokenAmount[GetAccountTokensTokenAmount]

              

              click cyhole.solscan.v1.schema.GetAccountTokensTokenAmount href "" "cyhole.solscan.v1.schema.GetAccountTokensTokenAmount"
            

This class refers to the model of a token amount inside the response of GET Account Tokens of V1 API endpoint.

amount instance-attribute

amount: str

decimals instance-attribute

decimals: int

ui_amount class-attribute instance-attribute

ui_amount: float | None = Field(
    default=None, alias="uiAmount"
)

ui_amount_string class-attribute instance-attribute

ui_amount_string: str = Field(alias='uiAmountString')

GetAccountTokensToken

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTokensToken[GetAccountTokensToken]

              

              click cyhole.solscan.v1.schema.GetAccountTokensToken href "" "cyhole.solscan.v1.schema.GetAccountTokensToken"
            

This class refers to the model of a token inside the response of GET Account Tokens of V1 API endpoint.

token_account class-attribute instance-attribute

token_account: str = Field(alias='tokenAccount')

token_address class-attribute instance-attribute

token_address: str = Field(alias='tokenAddress')

token_symbol class-attribute instance-attribute

token_symbol: str | None = Field(
    default=None, alias="tokenSymbol"
)

token_name class-attribute instance-attribute

token_name: str | None = Field(
    default=None, alias="tokenName"
)

token_icon class-attribute instance-attribute

token_icon: str | None = Field(
    default=None, alias="tokenIcon"
)

token_amount class-attribute instance-attribute

token_amount: GetAccountTokensTokenAmount = Field(
    alias="tokenAmount"
)

decimals instance-attribute

decimals: int

rent_epoch class-attribute instance-attribute

rent_epoch: int = Field(alias='rentEpoch')

lamports instance-attribute

lamports: int

GetAccountTokensResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTokensResponse[GetAccountTokensResponse]

              

              click cyhole.solscan.v1.schema.GetAccountTokensResponse href "" "cyhole.solscan.v1.schema.GetAccountTokensResponse"
            

This class refers to the response model of GET Account Tokens of V1 API endpoint.

tokens instance-attribute

tokens: list[GetAccountTokensToken]

GetAccountTransactionsTransactionInstruction

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTransactionsTransactionInstruction[GetAccountTransactionsTransactionInstruction]

              

              click cyhole.solscan.v1.schema.GetAccountTransactionsTransactionInstruction href "" "cyhole.solscan.v1.schema.GetAccountTransactionsTransactionInstruction"
            

This class refers to the model of an instruction inside the response of GET Account Transactions of V1 API endpoint.

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

program class-attribute instance-attribute

program: str | None = None

type instance-attribute

type: str

GetAccountTransactionsTransaction

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTransactionsTransaction[GetAccountTransactionsTransaction]

              

              click cyhole.solscan.v1.schema.GetAccountTransactionsTransaction href "" "cyhole.solscan.v1.schema.GetAccountTransactionsTransaction"
            

This class refers to the model of a transaction inside the response of GET Account Transactions of V1 API endpoint.

block_time_unix_utc class-attribute instance-attribute

block_time_unix_utc: int = Field(alias='blockTime')

slot instance-attribute

slot: int

transaction_id class-attribute instance-attribute

transaction_id: str = Field(alias='txHash')

fee instance-attribute

fee: int

status instance-attribute

status: str

lamport instance-attribute

lamport: int

signer instance-attribute

signer: list[str]

include_spl_transfer class-attribute instance-attribute

include_spl_transfer: bool | None = Field(
    default=None, alias="includeSPLTransfer"
)

parsed_instruction class-attribute instance-attribute

parsed_instruction: list[
    GetAccountTransactionsTransactionInstruction
] = Field(alias="parsedInstruction")

GetAccountTransactionsResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountTransactionsResponse[GetAccountTransactionsResponse]

              

              click cyhole.solscan.v1.schema.GetAccountTransactionsResponse href "" "cyhole.solscan.v1.schema.GetAccountTransactionsResponse"
            

This class refers to the response model of GET Account Transactions of V1 API endpoint.

transactions instance-attribute

transactions: list[GetAccountTransactionsTransaction]

GetAccountStakeAccountsStakeAccount

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountStakeAccountsStakeAccount[GetAccountStakeAccountsStakeAccount]

              

              click cyhole.solscan.v1.schema.GetAccountStakeAccountsStakeAccount href "" "cyhole.solscan.v1.schema.GetAccountStakeAccountsStakeAccount"
            

This class refers to the model of a stake account inside the response of GET Account StakeAccounts of V1 API endpoint.

active_stake_amount class-attribute instance-attribute

active_stake_amount: int = Field(alias='activeStakeAmount')

amount instance-attribute

amount: int

delegated_stake_amount class-attribute instance-attribute

delegated_stake_amount: int = Field(
    alias="delegatedStakeAmount"
)

role instance-attribute

role: list[str]

sol_balance class-attribute instance-attribute

sol_balance: int = Field(alias='solBalance')

total_reward class-attribute instance-attribute

total_reward: str = Field(alias='totalReward')

status instance-attribute

status: str

stake_account class-attribute instance-attribute

stake_account: str = Field(alias='stakeAccount')

type instance-attribute

type: str

voter instance-attribute

voter: str

activation_epoch class-attribute instance-attribute

activation_epoch: int = Field(alias='activationEpoch')

stake_type class-attribute instance-attribute

stake_type: str = Field(alias='stakeType')

GetAccountStakeAccountsResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountStakeAccountsResponse[GetAccountStakeAccountsResponse]

              

              click cyhole.solscan.v1.schema.GetAccountStakeAccountsResponse href "" "cyhole.solscan.v1.schema.GetAccountStakeAccountsResponse"
            

This class refers to the response model of GET Account StakeAccounts of V1 API endpoint.

stake_accounts instance-attribute

stake_accounts: dict[
    str, GetAccountStakeAccountsStakeAccount
]

GetAccountSplTransfersTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountSplTransfersTransfer[GetAccountSplTransfersTransfer]

              

              click cyhole.solscan.v1.schema.GetAccountSplTransfersTransfer href "" "cyhole.solscan.v1.schema.GetAccountSplTransfersTransfer"
            

This class refers to the model of a transfer inside the response of GET Account SplTransfers of V1 API endpoint.

slot instance-attribute

slot: int

block_time_unix_utc class-attribute instance-attribute

block_time_unix_utc: int = Field(alias='blockTime')

signature instance-attribute

signature: list[str]

change_type class-attribute instance-attribute

change_type: str = Field(alias='changeType')

change_amount class-attribute instance-attribute

change_amount: str = Field(alias='changeAmount')

decimals instance-attribute

decimals: int

post_balance class-attribute instance-attribute

post_balance: str = Field(alias='postBalance')

pre_balance class-attribute instance-attribute

pre_balance: str = Field(alias='preBalance')

token_address class-attribute instance-attribute

token_address: str = Field(alias='tokenAddress')

owner instance-attribute

owner: str

fee instance-attribute

fee: int

address instance-attribute

address: str

symbol instance-attribute

symbol: str

token_name class-attribute instance-attribute

token_name: str = Field(alias='tokenName')

GetAccountSplTransfersResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountSplTransfersResponse[GetAccountSplTransfersResponse]

              

              click cyhole.solscan.v1.schema.GetAccountSplTransfersResponse href "" "cyhole.solscan.v1.schema.GetAccountSplTransfersResponse"
            

This class refers to the response model of GET Account SplTransfers of V1 API endpoint.

total instance-attribute

total: int

data instance-attribute

data: list[GetAccountSplTransfersTransfer]

GetAccountSolTransfersTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountSolTransfersTransfer[GetAccountSolTransfersTransfer]

              

              click cyhole.solscan.v1.schema.GetAccountSolTransfersTransfer href "" "cyhole.solscan.v1.schema.GetAccountSolTransfersTransfer"
            

This class refers to the model of a transfer inside the response of GET Account SolTransfers of V1 API endpoint.

slot instance-attribute

slot: int

block_time_unix_utc class-attribute instance-attribute

block_time_unix_utc: int = Field(alias='blockTime')

transaction_id class-attribute instance-attribute

transaction_id: str = Field(alias='txHash')

source_account class-attribute instance-attribute

source_account: str = Field(alias='src')

decimals instance-attribute

decimals: int

destination_account class-attribute instance-attribute

destination_account: str = Field(alias='dst')

lamport instance-attribute

lamport: int

status instance-attribute

status: str

fee instance-attribute

fee: int

GetAccountSolTransfersResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountSolTransfersResponse[GetAccountSolTransfersResponse]

              

              click cyhole.solscan.v1.schema.GetAccountSolTransfersResponse href "" "cyhole.solscan.v1.schema.GetAccountSolTransfersResponse"
            

This class refers to the response model of GET Account SolTransfers of V1 API endpoint.

data instance-attribute

data: list[GetAccountSolTransfersTransfer]

GetAccountExportTransactionsResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountExportTransactionsResponse[GetAccountExportTransactionsResponse]

              

              click cyhole.solscan.v1.schema.GetAccountExportTransactionsResponse href "" "cyhole.solscan.v1.schema.GetAccountExportTransactionsResponse"
            

This class refers to the response model of GET Account ExportTransactions of V1 API endpoint.

csv instance-attribute

csv: str

GetAccountExportRewardsResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountExportRewardsResponse[GetAccountExportRewardsResponse]

              

              click cyhole.solscan.v1.schema.GetAccountExportRewardsResponse href "" "cyhole.solscan.v1.schema.GetAccountExportRewardsResponse"
            

This class refers to the response model of GET Account ExportRewards of V1 API endpoint.

csv instance-attribute

csv: str

GetAccountDetailResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetAccountDetailResponse[GetAccountDetailResponse]

              

              click cyhole.solscan.v1.schema.GetAccountDetailResponse href "" "cyhole.solscan.v1.schema.GetAccountDetailResponse"
            

This class refers to the response model of GET Account Detail of V1 API endpoint.

lamports instance-attribute

lamports: int

owner_program class-attribute instance-attribute

owner_program: str = Field(alias='ownerProgram')

type instance-attribute

type: str

rent_epoch class-attribute instance-attribute

rent_epoch: int = Field(alias='rentEpoch')

executable instance-attribute

executable: bool

account instance-attribute

account: str

GetTokenHoldersHolder

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenHoldersHolder[GetTokenHoldersHolder]

              

              click cyhole.solscan.v1.schema.GetTokenHoldersHolder href "" "cyhole.solscan.v1.schema.GetTokenHoldersHolder"
            

This class refers to the model of a holder inside the response of GET Token Holders of V1 API endpoint.

address instance-attribute

address: str

amount instance-attribute

amount: int

decimals instance-attribute

decimals: int

owner instance-attribute

owner: str

rank instance-attribute

rank: int

GetTokenHoldersResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenHoldersResponse[GetTokenHoldersResponse]

              

              click cyhole.solscan.v1.schema.GetTokenHoldersResponse href "" "cyhole.solscan.v1.schema.GetTokenHoldersResponse"
            

This class refers to the response model of GET Token Holders of V1 API endpoint.

total instance-attribute

total: int

data instance-attribute

data: list[GetTokenHoldersHolder]

GetTokenMetaResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenMetaResponse[GetTokenMetaResponse]

              

              click cyhole.solscan.v1.schema.GetTokenMetaResponse href "" "cyhole.solscan.v1.schema.GetTokenMetaResponse"
            

This class refers to the response model of GET Token Meta of V1 API endpoint.

name class-attribute instance-attribute

name: str | None = None

symbol class-attribute instance-attribute

symbol: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

price instance-attribute

price: float

volume instance-attribute

volume: int

decimals instance-attribute

decimals: int

token_authority class-attribute instance-attribute

token_authority: str | None = Field(
    default=None, alias="tokenAuthority"
)

supply instance-attribute

supply: str

type instance-attribute

type: str

address instance-attribute

address: str

GetTokenTransferTransferTokenInfo

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenTransferTransferTokenInfo[GetTokenTransferTransferTokenInfo]

              

              click cyhole.solscan.v1.schema.GetTokenTransferTransferTokenInfo href "" "cyhole.solscan.v1.schema.GetTokenTransferTransferTokenInfo"
            

This class refers to the model of a token info inside the response of GET Token Transfer of V1 API endpoint.

symbol class-attribute instance-attribute

symbol: str | None = None

address instance-attribute

address: str

name class-attribute instance-attribute

name: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

decimals instance-attribute

decimals: int

GetTokenTransferTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenTransferTransfer[GetTokenTransferTransfer]

              

              click cyhole.solscan.v1.schema.GetTokenTransferTransfer href "" "cyhole.solscan.v1.schema.GetTokenTransferTransfer"
            

This class refers to the model of a transfer inside the response of GET Token Transfer of V1 API endpoint.

slot instance-attribute

slot: int

block_time_unix_utc class-attribute instance-attribute

block_time_unix_utc: int = Field(alias='blockTime')

transaction_id class-attribute instance-attribute

transaction_id: str = Field(alias='txHash')

common_type class-attribute instance-attribute

common_type: str = Field(alias='commonType')

source_owner_account class-attribute instance-attribute

source_owner_account: str = Field(
    alias="sourceOwnerAccount"
)

source_token_account class-attribute instance-attribute

source_token_account: str = Field(
    alias="sourceTokenAccount"
)

destination_owner_account class-attribute instance-attribute

destination_owner_account: str = Field(
    alias="destOwnerAccount"
)

destination_token_account class-attribute instance-attribute

destination_token_account: str = Field(
    alias="destTokenAccount"
)

token_address class-attribute instance-attribute

token_address: str = Field(alias='tokenAddress')

amount instance-attribute

amount: int

token_info class-attribute instance-attribute

token_info: GetTokenTransferTransferTokenInfo = Field(
    alias="tokenInfo"
)

GetTokenTransferResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenTransferResponse[GetTokenTransferResponse]

              

              click cyhole.solscan.v1.schema.GetTokenTransferResponse href "" "cyhole.solscan.v1.schema.GetTokenTransferResponse"
            

This class refers to the response model of GET Token Transfer of V1 API endpoint.

total instance-attribute

total: int

items instance-attribute

items: list[GetTokenTransferTransfer]

GetTokenListTokenSupply

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListTokenSupply[GetTokenListTokenSupply]

              

              click cyhole.solscan.v1.schema.GetTokenListTokenSupply href "" "cyhole.solscan.v1.schema.GetTokenListTokenSupply"
            

This class refers to the model of a token supply inside the response of GET Token List of V1 API endpoint.

amount instance-attribute

amount: int

ui_amount class-attribute instance-attribute

ui_amount: float = Field(alias='uiAmount')

ui_amount_string class-attribute instance-attribute

ui_amount_string: str = Field(alias='uiAmountString')

GetTokenListTokenExtensions

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListTokenExtensions[GetTokenListTokenExtensions]

              

              click cyhole.solscan.v1.schema.GetTokenListTokenExtensions href "" "cyhole.solscan.v1.schema.GetTokenListTokenExtensions"
            

This class refers to the model of token extensions inside the response of GET Token List of V1 API endpoint.

coingecko_id class-attribute instance-attribute

coingecko_id: str | None = Field(
    default=None, alias="coingeckoId"
)

discord class-attribute instance-attribute

discord: str | None = None

medium class-attribute instance-attribute

medium: str | None = None

telegram class-attribute instance-attribute

telegram: str | None = None

twitter class-attribute instance-attribute

twitter: str | None = None

website class-attribute instance-attribute

website: str | None = None

description class-attribute instance-attribute

description: str | None = None

coin_marketcap_id class-attribute instance-attribute

coin_marketcap_id: str | None = Field(
    default=None, alias="coinMarketCapId"
)

serum_v3_usdc class-attribute instance-attribute

serum_v3_usdc: str | None = Field(
    default=None, alias="serumV3Usdc"
)

serum_v3_usdt class-attribute instance-attribute

serum_v3_usdt: str | None = Field(
    default=None, alias="serumV3Usdt"
)

GetTokenListTokenCoingeckoInfoMarketData

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfoMarketData[GetTokenListTokenCoingeckoInfoMarketData]

              

              click cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfoMarketData href "" "cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfoMarketData"
            

This class refers to the model of token coingecko info market data inside the response of GET Token List of V1 API endpoint.

current_price class-attribute instance-attribute

current_price: float = Field(alias='currentPrice')

all_time_high class-attribute instance-attribute

all_time_high: float = Field(alias='ath')

all_time_high_change_percentage class-attribute instance-attribute

all_time_high_change_percentage: float = Field(
    alias="athChangePercentage"
)

all_time_high_date class-attribute instance-attribute

all_time_high_date: datetime = Field(alias='athDate')

all_time_low class-attribute instance-attribute

all_time_low: float = Field(alias='atl')

all_time_low_change_percentage class-attribute instance-attribute

all_time_low_change_percentage: float = Field(
    alias="atlChangePercentage"
)

all_time_low_date class-attribute instance-attribute

all_time_low_date: datetime = Field(alias='atlDate')

market_cap class-attribute instance-attribute

market_cap: int = Field(alias='marketCap')

market_cap_rank class-attribute instance-attribute

market_cap_rank: int = Field(alias='marketCapRank')

fully_diluted_valuation class-attribute instance-attribute

fully_diluted_valuation: int = Field(
    alias="fullyDilutedValuation"
)

total_volume class-attribute instance-attribute

total_volume: float = Field(alias='totalVolume')

price_high_24h class-attribute instance-attribute

price_high_24h: float = Field(alias='priceHigh24h')

price_low_24h class-attribute instance-attribute

price_low_24h: float = Field(alias='priceLow24h')

price_change_24h class-attribute instance-attribute

price_change_24h: float = Field(alias='priceChange24h')

price_change_percentage_24h class-attribute instance-attribute

price_change_percentage_24h: float = Field(
    alias="priceChangePercentage24h"
)

price_change_percentage_7d class-attribute instance-attribute

price_change_percentage_7d: float | None = Field(
    default=None, alias="priceChangePercentage7d"
)

price_change_percentage_14d class-attribute instance-attribute

price_change_percentage_14d: float | None = Field(
    default=None, alias="priceChangePercentage14d"
)

price_change_percentage_30d class-attribute instance-attribute

price_change_percentage_30d: float | None = Field(
    default=None, alias="priceChangePercentage30d"
)

price_change_percentage_60d class-attribute instance-attribute

price_change_percentage_60d: float | None = Field(
    default=None, alias="priceChangePercentage60d"
)

price_change_percentage_200d class-attribute instance-attribute

price_change_percentage_200d: float | None = Field(
    default=None, alias="priceChangePercentage200d"
)

price_change_percentage_1y class-attribute instance-attribute

price_change_percentage_1y: float | None = Field(
    default=None, alias="priceChangePercentage1y"
)

market_cap_change_24h class-attribute instance-attribute

market_cap_change_24h: float = Field(
    alias="marketCapChange24h"
)

market_cap_change_percentage_24h class-attribute instance-attribute

market_cap_change_percentage_24h: float = Field(
    alias="marketCapChangePercentage24h"
)

total_supply class-attribute instance-attribute

total_supply: float = Field(alias='totalSupply')

max_supply class-attribute instance-attribute

max_supply: float | None = Field(
    default=None, alias="maxSupply"
)

circulating_supply class-attribute instance-attribute

circulating_supply: float = Field(alias="circulatingSupply")

last_updated class-attribute instance-attribute

last_updated: datetime = Field(alias='lastUpdated')

parse_datetime

parse_datetime(datetime_raw: str | datetime) -> datetime
Source code in src/cyhole/solscan/v1/schema.py
298
299
300
301
302
@field_validator("all_time_high_date", "all_time_low_date", "last_updated")
def parse_datetime(cls, datetime_raw: str | datetime) -> datetime:
    if isinstance(datetime_raw, str):
        return datetime.strptime(datetime_raw, "%Y-%m-%dT%H:%M:%S")
    return datetime_raw

GetTokenListTokenCoingeckoInfo

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfo[GetTokenListTokenCoingeckoInfo]

              

              click cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfo href "" "cyhole.solscan.v1.schema.GetTokenListTokenCoingeckoInfo"
            

This class refers to the model of token coingecko info inside the response of GET Token List of V1 API endpoint.

coingecko_rank class-attribute instance-attribute

coingecko_rank: int = Field(alias='coingeckoRank')

market_cap_rank class-attribute instance-attribute

market_cap_rank: int = Field(alias='marketCapRank')

market_data class-attribute instance-attribute

market_data: GetTokenListTokenCoingeckoInfoMarketData = (
    Field(alias="marketData")
)

GetTokenListToken

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListToken[GetTokenListToken]

              

              click cyhole.solscan.v1.schema.GetTokenListToken href "" "cyhole.solscan.v1.schema.GetTokenListToken"
            

This class refers to the model of a token inside the response of GET Token List of V1 API endpoint.

address instance-attribute

address: str

coingecko_info class-attribute instance-attribute

coingecko_info: GetTokenListTokenCoingeckoInfo | None = (
    Field(default=None, alias="coingeckoInfo")
)

decimals instance-attribute

decimals: int

extensions instance-attribute

extensions: GetTokenListTokenExtensions

holder instance-attribute

holder: int

icon class-attribute instance-attribute

icon: str | None = None

is_violate class-attribute instance-attribute

is_violate: bool | None = Field(
    default=None, alias="isViolate"
)

market_cap_fd class-attribute instance-attribute

market_cap_fd: float | None = Field(
    default=None, alias="marketCapFD"
)

market_cap_rank class-attribute instance-attribute

market_cap_rank: int | None = Field(
    default=None, alias="marketCapRank"
)

mint_address class-attribute instance-attribute

mint_address: str = Field(alias='mintAddress')

price_ust class-attribute instance-attribute

price_ust: float | None = Field(
    default=None, alias="priceUst"
)

sol_alpha_volume class-attribute instance-attribute

sol_alpha_volume: float | None = Field(
    default=None, alias="solAlphaVolume"
)

tags class-attribute instance-attribute

tags: list[str] | None = None

name class-attribute instance-attribute

name: str | None = Field(default=None, alias='tokenName')

symbol class-attribute instance-attribute

symbol: str | None = Field(
    default=None, alias="tokenSymbol"
)

reputation class-attribute instance-attribute

reputation: str | None = None

twitter class-attribute instance-attribute

twitter: str | None = None

website class-attribute instance-attribute

website: str | None = None

on_chain_extensions class-attribute instance-attribute

on_chain_extensions: str | None = None

supply class-attribute instance-attribute

supply: GetTokenListTokenSupply | None = None

chain_id class-attribute instance-attribute

chain_id: int | None = Field(default=None, alias='chainId')

GetTokenListResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTokenListResponse[GetTokenListResponse]

              

              click cyhole.solscan.v1.schema.GetTokenListResponse href "" "cyhole.solscan.v1.schema.GetTokenListResponse"
            

This class refers to the response model of GET Token List of V1 API endpoint.

total instance-attribute

total: int

data instance-attribute

data: list[GetTokenListToken]

GetMarketTokenDetailMarketBaseQuote

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetMarketTokenDetailMarketBaseQuote[GetMarketTokenDetailMarketBaseQuote]

              

              click cyhole.solscan.v1.schema.GetMarketTokenDetailMarketBaseQuote href "" "cyhole.solscan.v1.schema.GetMarketTokenDetailMarketBaseQuote"
            

This class refers to the model of a base or quote inside the response of GET Market Token Detail of V1 API endpoint.

symbol class-attribute instance-attribute

symbol: str | None = None

decimals instance-attribute

decimals: int

address instance-attribute

address: str

GetMarketTokenDetailMarket

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetMarketTokenDetailMarket[GetMarketTokenDetailMarket]

              

              click cyhole.solscan.v1.schema.GetMarketTokenDetailMarket href "" "cyhole.solscan.v1.schema.GetMarketTokenDetailMarket"
            

This class refers to the model of a market inside the response of GET Market Token Detail of V1 API endpoint.

address instance-attribute

address: str

amm_id class-attribute instance-attribute

amm_id: str = Field(alias='ammId')

base instance-attribute

base: GetMarketTokenDetailMarketBaseQuote

base_token_account class-attribute instance-attribute

base_token_account: str = Field(alias='baseTokenAccount')

name instance-attribute

name: str

quote instance-attribute

quote: GetMarketTokenDetailMarketBaseQuote

source instance-attribute

source: str

quote_token_account class-attribute instance-attribute

quote_token_account: str = Field(alias='quoteTokenAccount')

volume_24h class-attribute instance-attribute

volume_24h: int = Field(alias='volume24h')

GetMarketTokenDetailResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetMarketTokenDetailResponse[GetMarketTokenDetailResponse]

              

              click cyhole.solscan.v1.schema.GetMarketTokenDetailResponse href "" "cyhole.solscan.v1.schema.GetMarketTokenDetailResponse"
            

This class refers to the response model of GET Market Token Detail of V1 API endpoint.

price_usdt class-attribute instance-attribute

price_usdt: float = Field(alias='priceUsdt')

volume_usdt class-attribute instance-attribute

volume_usdt: int = Field(alias='volumeUsdt')

market_cap_fd class-attribute instance-attribute

market_cap_fd: int = Field(alias='marketCapFD')

market_cap_rank class-attribute instance-attribute

market_cap_rank: int = Field(alias='marketCapRank')

price_change_24h class-attribute instance-attribute

price_change_24h: float = Field(alias='priceChange24h')

markets instance-attribute

markets: list[GetMarketTokenDetailMarket]

GetTransactionLastInstructionSplTokenAmount

Bases: GetAccountTokensTokenAmount


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenAmount[GetTransactionLastInstructionSplTokenAmount]
              cyhole.solscan.v1.schema.GetAccountTokensTokenAmount[GetAccountTokensTokenAmount]

                              cyhole.solscan.v1.schema.GetAccountTokensTokenAmount --> cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenAmount
                


              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenAmount href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenAmount"
              click cyhole.solscan.v1.schema.GetAccountTokensTokenAmount href "" "cyhole.solscan.v1.schema.GetAccountTokensTokenAmount"
            

GetTransactionLastInstructionSplTokenParsedInfo

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsedInfo[GetTransactionLastInstructionSplTokenParsedInfo]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsedInfo href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsedInfo"
            

authority class-attribute instance-attribute

authority: str | None = None

account class-attribute instance-attribute

account: str | None = None

mint class-attribute instance-attribute

mint: str | None = None

destination class-attribute instance-attribute

destination: str | None = None

source class-attribute instance-attribute

source: str | None = None

owner class-attribute instance-attribute

owner: str | None = None

rent_sysvar class-attribute instance-attribute

rent_sysvar: str | None = Field(
    default=None, alias="rentSysvar"
)

token_amount class-attribute instance-attribute

token_amount: (
    GetTransactionLastInstructionSplTokenAmount | None
) = Field(default=None, alias="tokenAmount")

GetTransactionLastInstructionSplTokenParsed

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed[GetTransactionLastInstructionSplTokenParsed]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed"
            

info instance-attribute

info: GetTransactionLastInstructionSplTokenParsedInfo

type instance-attribute

type: str

GetTransactionLastInstructionSplToken

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSplToken[GetTransactionLastInstructionSplToken]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSplToken href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSplToken"
            

This class refers to the model of instruction spl-token inside the response of GET Transaction Last of V1 API endpoint.

parsed instance-attribute

parsed: GetTransactionLastInstructionSplTokenParsed

program instance-attribute

program: str

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

stack_height class-attribute instance-attribute

stack_height: int | None = Field(
    default=None, alias="stackHeight"
)

GetTransactionLastInstructionSystemParsedInfo

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsedInfo[GetTransactionLastInstructionSystemParsedInfo]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsedInfo href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsedInfo"
            

base instance-attribute

base: str

lamports instance-attribute

lamports: int

new_account class-attribute instance-attribute

new_account: str = Field(alias='newAccount')

owner instance-attribute

owner: str

seed instance-attribute

seed: str

source instance-attribute

source: str

space instance-attribute

space: int

GetTransactionLastInstructionSystemParsed

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed[GetTransactionLastInstructionSystemParsed]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed"
            

info instance-attribute

info: GetTransactionLastInstructionSystemParsedInfo

type instance-attribute

type: str

GetTransactionLastInstructionSystem

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionSystem[GetTransactionLastInstructionSystem]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionSystem href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSystem"
            

This class refers to the model of instruction system inside the response of GET Transaction Last of V1 API endpoint.

parsed instance-attribute

parsed: GetTransactionLastInstructionSystemParsed

program instance-attribute

program: str

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

stack_height class-attribute instance-attribute

stack_height: int | None = Field(
    default=None, alias="stackHeight"
)

GetTransactionLastInstructionVoteLockout

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteLockout[GetTransactionLastInstructionVoteLockout]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteLockout href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteLockout"
            

confirmation_count instance-attribute

confirmation_count: int

slot instance-attribute

slot: int

GetTransactionLastInstructionVoteStateUpdate

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate[GetTransactionLastInstructionVoteStateUpdate]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate"
            

hash instance-attribute

hash: str

root instance-attribute

root: int

lockouts instance-attribute

lockouts: list[GetTransactionLastInstructionVoteLockout]

timestamp_unix_utc class-attribute instance-attribute

timestamp_unix_utc: int = Field(alias='timestamp')

GetTransactionLastInstructionVoteParsedInfo

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo[GetTransactionLastInstructionVoteParsedInfo]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo"
            

vote_account class-attribute instance-attribute

vote_account: str = Field(alias='voteAccount')

vote_authority class-attribute instance-attribute

vote_authority: str = Field(alias='voteAuthority')

vote_state_updated class-attribute instance-attribute

vote_state_updated: (
    GetTransactionLastInstructionVoteStateUpdate
) = Field(alias="voteStateUpdated")

GetTransactionLastInstructionVoteParsed

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed[GetTransactionLastInstructionVoteParsed]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed"
            

info instance-attribute

info: GetTransactionLastInstructionVoteParsedInfo

type instance-attribute

type: str

GetTransactionLastInstructionVote

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionVote[GetTransactionLastInstructionVote]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionVote href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVote"
            

This class refers to the model of instruction vote inside the response of GET Transaction Last of V1 API endpoint.

parsed instance-attribute

parsed: GetTransactionLastInstructionVoteParsed

program instance-attribute

program: str

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

stack_height class-attribute instance-attribute

stack_height: int | None = Field(
    default=None, alias="stackHeight"
)

GetTransactionLastInstructionGeneral

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastInstructionGeneral[GetTransactionLastInstructionGeneral]

              

              click cyhole.solscan.v1.schema.GetTransactionLastInstructionGeneral href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionGeneral"
            

This class refers to the model of instruction general inside the response of GET Transaction Last of V1 API endpoint.

accounts instance-attribute

accounts: list[str]

data instance-attribute

data: str

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

stack_height class-attribute instance-attribute

stack_height: int | None = Field(
    default=None, alias="stackHeight"
)

GetTransactionLastAddressTableLookup

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup[GetTransactionLastAddressTableLookup]

              

              click cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup href "" "cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup"
            

account_key class-attribute instance-attribute

account_key: str = Field(alias='accountKey')

readonly_indexes class-attribute instance-attribute

readonly_indexes: list[int] = Field(alias="readonlyIndexes")

writable_indexes class-attribute instance-attribute

writable_indexes: list[int] = Field(alias="writableIndexes")

GetTransactionLastAccountKeys

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastAccountKeys[GetTransactionLastAccountKeys]

              

              click cyhole.solscan.v1.schema.GetTransactionLastAccountKeys href "" "cyhole.solscan.v1.schema.GetTransactionLastAccountKeys"
            

public_key class-attribute instance-attribute

public_key: str = Field(alias='pubkey')

signer instance-attribute

signer: bool

source instance-attribute

source: str

writable instance-attribute

writable: bool

GetTransactionLastMessage

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMessage[GetTransactionLastMessage]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMessage href "" "cyhole.solscan.v1.schema.GetTransactionLastMessage"
            

account_keys class-attribute instance-attribute

account_keys: list[GetTransactionLastAccountKeys] = Field(
    alias="accountKeys"
)

address_table_lookups class-attribute instance-attribute

address_table_lookups: (
    list[GetTransactionLastAddressTableLookup] | None
) = Field(default=None, alias="addressTableLookups")

instructions instance-attribute

instructions: list[
    GetTransactionLastInstructionGeneral
    | GetTransactionLastInstructionVote
    | GetTransactionLastInstructionSystem
    | GetTransactionLastInstructionSplToken
]

recent_blockhash class-attribute instance-attribute

recent_blockhash: str = Field(alias='recentBlockhash')

GetTransactionLastTransaction

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastTransaction[GetTransactionLastTransaction]

              

              click cyhole.solscan.v1.schema.GetTransactionLastTransaction href "" "cyhole.solscan.v1.schema.GetTransactionLastTransaction"
            

This class refers to the model of transaction inside the response of GET Transaction Last of V1 API endpoint.

message instance-attribute

message: GetTransactionLastMessage

signatures instance-attribute

signatures: list[str]

GetTransactionLastMetaError

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMetaError[GetTransactionLastMetaError]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMetaError href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaError"
            

instruction_error class-attribute instance-attribute

instruction_error: list[int | dict] = Field(
    alias="InstructionError"
)

GetTransactionLastMetaStatus

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMetaStatus[GetTransactionLastMetaStatus]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMetaStatus href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaStatus"
            

error class-attribute instance-attribute

error: GetTransactionLastMetaError | None = Field(
    default=None, alias="err"
)

ok class-attribute instance-attribute

ok: None = Field(default=None, alias='Ok')

GetTransactionLastMetaInstructions

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions[GetTransactionLastMetaInstructions]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions"
            

index instance-attribute

index: int

instructions instance-attribute

instructions: list[
    GetTransactionLastInstructionGeneral
    | GetTransactionLastInstructionVote
    | GetTransactionLastInstructionSystem
    | GetTransactionLastInstructionSplToken
]

GetTransactionLastMetaTokenAmount

Bases: GetAccountTokensTokenAmount


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMetaTokenAmount[GetTransactionLastMetaTokenAmount]
              cyhole.solscan.v1.schema.GetAccountTokensTokenAmount[GetAccountTokensTokenAmount]

                              cyhole.solscan.v1.schema.GetAccountTokensTokenAmount --> cyhole.solscan.v1.schema.GetTransactionLastMetaTokenAmount
                


              click cyhole.solscan.v1.schema.GetTransactionLastMetaTokenAmount href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaTokenAmount"
              click cyhole.solscan.v1.schema.GetAccountTokensTokenAmount href "" "cyhole.solscan.v1.schema.GetAccountTokensTokenAmount"
            

GetTransactionLastMetaTokenBalance

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMetaTokenBalance[GetTransactionLastMetaTokenBalance]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMetaTokenBalance href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaTokenBalance"
            

account_index class-attribute instance-attribute

account_index: int = Field(alias='accountIndex')

mint instance-attribute

mint: str

owner instance-attribute

owner: str

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

ui_token_amount class-attribute instance-attribute

ui_token_amount: GetTransactionLastMetaTokenAmount = Field(
    alias="uiTokenAmount"
)

GetTransactionLastMeta

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastMeta[GetTransactionLastMeta]

              

              click cyhole.solscan.v1.schema.GetTransactionLastMeta href "" "cyhole.solscan.v1.schema.GetTransactionLastMeta"
            

This class refers to the model of meta inside the response of GET Transaction Last of V1 API endpoint.

compute_units_consumed class-attribute instance-attribute

compute_units_consumed: int = Field(
    alias="computeUnitsConsumed"
)

error class-attribute instance-attribute

error: GetTransactionLastMetaError | None = Field(
    default=None, alias="err"
)

fee instance-attribute

fee: int

inner_instructions class-attribute instance-attribute

inner_instructions: list[
    GetTransactionLastMetaInstructions
] = Field(alias="innerInstructions")

log_messages class-attribute instance-attribute

log_messages: list[str] = Field(alias='logMessages')

post_balances class-attribute instance-attribute

post_balances: list[int] = Field(alias='postBalances')

post_token_balances class-attribute instance-attribute

post_token_balances: (
    list[GetTransactionLastMetaTokenBalance] | None
) = Field(default=None, alias="postTokenBalances")

pre_balances class-attribute instance-attribute

pre_balances: list[int] = Field(alias='preBalances')

pre_token_balances class-attribute instance-attribute

pre_token_balances: (
    list[GetTransactionLastMetaTokenBalance] | None
) = Field(default=None, alias="preTokenBalances")

rewards class-attribute instance-attribute

rewards: list[str] | None = None

status instance-attribute

status: GetTransactionLastMetaStatus

GetTransactionLastData

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastData[GetTransactionLastData]

              

              click cyhole.solscan.v1.schema.GetTransactionLastData href "" "cyhole.solscan.v1.schema.GetTransactionLastData"
            

This class refers to the model of data inside the response of GET Transaction Last of V1 API endpoint.

meta instance-attribute

meta: GetTransactionLastMeta

transaction instance-attribute

transaction: GetTransactionLastTransaction

version instance-attribute

version: str | int

GetTransactionLastResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionLastResponse[GetTransactionLastResponse]

              

              click cyhole.solscan.v1.schema.GetTransactionLastResponse href "" "cyhole.solscan.v1.schema.GetTransactionLastResponse"
            

This class refers to the response model of GET Transaction Last of V1 API endpoint.

data instance-attribute

data: list[GetTransactionLastData]

GetTransactionDetailInputAccount

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInputAccount[GetTransactionDetailInputAccount]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInputAccount href "" "cyhole.solscan.v1.schema.GetTransactionDetailInputAccount"
            

This class refers to the model of input account inside the response of GET Transaction Detail of V1 API endpoint.

account instance-attribute

account: str

signer instance-attribute

signer: bool

writable instance-attribute

writable: bool

pre_balance class-attribute instance-attribute

pre_balance: int = Field(alias='preBalance')

post_balance class-attribute instance-attribute

post_balance: int = Field(alias='postBalance')

GetTransactionDetailInnerInstructionVoteParams

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams[GetTransactionDetailInnerInstructionVoteParams]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams"
            

vote_account class-attribute instance-attribute

vote_account: str = Field(alias='voteAccount')

vote_authority class-attribute instance-attribute

vote_authority: str = Field(alias='voteAuthority')

vote_hash class-attribute instance-attribute

vote_hash: str = Field(alias='voteHash')

root instance-attribute

root: int

timestamp instance-attribute

timestamp: int

GetTransactionDetailInnerInstructionSplTransferParams

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams[GetTransactionDetailInnerInstructionSplTransferParams]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams"
            

source instance-attribute

source: str

destination instance-attribute

destination: str

authority instance-attribute

authority: str

amount instance-attribute

amount: str

GetTransactionDetailInnerInstructionSplTokenParams

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams[GetTransactionDetailInnerInstructionSplTokenParams]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams"
            

account instance-attribute

account: str

amount class-attribute instance-attribute

amount: str | None = None

mint class-attribute instance-attribute

mint: str | None = None

mint_authority class-attribute instance-attribute

mint_authority: str | None = Field(
    default=None, alias="mintAuthority"
)

authority class-attribute instance-attribute

authority: str | None = None

GetTransactionDetailInnerInstructionSolTransferParams

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams[GetTransactionDetailInnerInstructionSolTransferParams]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams"
            

source instance-attribute

source: str

destination instance-attribute

destination: str

amount instance-attribute

amount: int

GetTransactionDetailInnerInstructionClosedAccountParams

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionClosedAccountParams[GetTransactionDetailInnerInstructionClosedAccountParams]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionClosedAccountParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionClosedAccountParams"
            

closed_account class-attribute instance-attribute

closed_account: str = Field(alias='closedAccount')

GetTransactionDetailInnerInstructionExtra

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionExtra[GetTransactionDetailInnerInstructionExtra]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionExtra href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionExtra"
            

source instance-attribute

source: str

destination instance-attribute

destination: str

authority instance-attribute

authority: str

amount instance-attribute

amount: str

token_address class-attribute instance-attribute

token_address: str = Field(alias='tokenAddress')

decimals instance-attribute

decimals: int

symbol class-attribute instance-attribute

symbol: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

source_owner class-attribute instance-attribute

source_owner: str | None = Field(
    default=None, alias="sourceOwner"
)

destination_owner class-attribute instance-attribute

destination_owner: str | None = Field(
    default=None, alias="destinationOwner"
)

GetTransactionDetailInnerInstructionParsed

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed[GetTransactionDetailInnerInstructionParsed]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed"
            

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

program class-attribute instance-attribute

program: str | None = None

data class-attribute instance-attribute

data: str | None = None

data_encode class-attribute instance-attribute

data_encode: str | None = Field(
    default=None, alias="dataEncode"
)

type instance-attribute

type: str

name instance-attribute

name: str

params instance-attribute

params: (
    GetTransactionDetailInnerInstructionVoteParams
    | GetTransactionDetailInnerInstructionSplTransferParams
    | GetTransactionDetailInnerInstructionSplTokenParams
    | GetTransactionDetailInnerInstructionClosedAccountParams
    | GetTransactionDetailInnerInstructionSolTransferParams
    | dict[str, str]
)

extra class-attribute instance-attribute

extra: GetTransactionDetailInnerInstructionExtra | None = (
    None
)

GetTransactionDetailInnerInstruction

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstruction[GetTransactionDetailInnerInstruction]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstruction href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstruction"
            

This class refers to the model of inner instruction inside the response of GET Transaction Detail of V1 API endpoint.

index instance-attribute

index: int

parsed_instructions class-attribute instance-attribute

parsed_instructions: list[
    GetTransactionDetailInnerInstructionParsed
] = Field(alias="parsedInstructions")

GetTransactionDetailToken

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailToken[GetTransactionDetailToken]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailToken href "" "cyhole.solscan.v1.schema.GetTransactionDetailToken"
            

decimals instance-attribute

decimals: int

address class-attribute instance-attribute

address: str = Field(alias='tokenAddress')

name class-attribute instance-attribute

name: str | None = None

symbol class-attribute instance-attribute

symbol: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

GetTransactionDetailTokenAmount

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount[GetTransactionDetailTokenAmount]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount href "" "cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount"
            

post_amount class-attribute instance-attribute

post_amount: str = Field(alias='postAmount')

pre_amount class-attribute instance-attribute

pre_amount: str = Field(alias='preAmount')

GetTransactionDetailTokenBalance

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailTokenBalance[GetTransactionDetailTokenBalance]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailTokenBalance href "" "cyhole.solscan.v1.schema.GetTransactionDetailTokenBalance"
            

This class refers to the model of parsed token balance inside the response of GET Transaction Detail of V1 API endpoint.

account instance-attribute

account: str

amount instance-attribute

amount: GetTransactionDetailTokenAmount

token instance-attribute

token: GetTransactionDetailToken

GetTransactionDetailParsedInstruction

Bases: GetTransactionDetailInnerInstructionParsed


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailParsedInstruction[GetTransactionDetailParsedInstruction]
              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed[GetTransactionDetailInnerInstructionParsed]

                              cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed --> cyhole.solscan.v1.schema.GetTransactionDetailParsedInstruction
                


              click cyhole.solscan.v1.schema.GetTransactionDetailParsedInstruction href "" "cyhole.solscan.v1.schema.GetTransactionDetailParsedInstruction"
              click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed"
            

This class refers to the model of parsed instruction inside the response of GET Transaction Detail of V1 API endpoint.

GetTransactionDetailTokenTransferToken

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailTokenTransferToken[GetTransactionDetailTokenTransferToken]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailTokenTransferToken href "" "cyhole.solscan.v1.schema.GetTransactionDetailTokenTransferToken"
            

address instance-attribute

address: str

decimals instance-attribute

decimals: int

symbol class-attribute instance-attribute

symbol: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

GetTransactionDetailTokenTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailTokenTransfer[GetTransactionDetailTokenTransfer]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailTokenTransfer href "" "cyhole.solscan.v1.schema.GetTransactionDetailTokenTransfer"
            

This class refers to the model of token transfer inside the response of GET Transaction Detail of V1 API endpoint.

source instance-attribute

source: str

destination instance-attribute

destination: str

source_owner instance-attribute

source_owner: str

destination_owner instance-attribute

destination_owner: str

amount instance-attribute

amount: str

token instance-attribute

token: GetTransactionDetailTokenTransferToken

type instance-attribute

type: str

GetTransactionDetailSolTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailSolTransfer[GetTransactionDetailSolTransfer]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailSolTransfer href "" "cyhole.solscan.v1.schema.GetTransactionDetailSolTransfer"
            

This class refers to the model of sol transfer inside the response of GET Transaction Detail of V1 API endpoint.

source instance-attribute

source: str

destination instance-attribute

destination: str

amount instance-attribute

amount: int

GetTransactionDetailUnknownTransferEvent

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent[GetTransactionDetailUnknownTransferEvent]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent href "" "cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent"
            

source instance-attribute

source: str

destination instance-attribute

destination: str

amount instance-attribute

amount: str

type instance-attribute

type: str

token_address class-attribute instance-attribute

token_address: str = Field(alias='tokenAddress')

decimals instance-attribute

decimals: int

symbol class-attribute instance-attribute

symbol: str | None = None

icon class-attribute instance-attribute

icon: str | None = None

source_owner class-attribute instance-attribute

source_owner: str | None = Field(
    default=None, alias="sourceOwner"
)

destination_owner class-attribute instance-attribute

destination_owner: str | None = Field(
    default=None, alias="destinationOwner"
)

GetTransactionDetailUnknownTransfer

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransfer[GetTransactionDetailUnknownTransfer]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransfer href "" "cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransfer"
            

This class refers to the model of unknown transfer inside the response of GET Transaction Detail of V1 API endpoint.

program_id class-attribute instance-attribute

program_id: str = Field(alias='programId')

event instance-attribute

event: list[GetTransactionDetailUnknownTransferEvent]

GetTransactionDetailResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetTransactionDetailResponse[GetTransactionDetailResponse]

              

              click cyhole.solscan.v1.schema.GetTransactionDetailResponse href "" "cyhole.solscan.v1.schema.GetTransactionDetailResponse"
            

This class refers to the response model of GET Transaction Detail of V1 API endpoint.

block_time class-attribute instance-attribute

block_time: int = Field(alias='blockTime')

slot instance-attribute

slot: int

transaction_id class-attribute instance-attribute

transaction_id: str = Field(alias='txHash')

fee instance-attribute

fee: int

status instance-attribute

status: str

lamport instance-attribute

lamport: int

signer instance-attribute

signer: list[str]

log_message class-attribute instance-attribute

log_message: list[str] = Field(alias='logMessage')

input_account class-attribute instance-attribute

input_account: list[GetTransactionDetailInputAccount] = (
    Field(alias="inputAccount")
)

recent_blockhash class-attribute instance-attribute

recent_blockhash: str = Field(alias='recentBlockhash')

inner_instructions class-attribute instance-attribute

inner_instructions: list[
    GetTransactionDetailInnerInstruction
] = Field(alias="innerInstructions")

token_balances class-attribute instance-attribute

token_balances: list[GetTransactionDetailTokenBalance] = (
    Field(alias="tokenBalances")
)

parsed_instruction class-attribute instance-attribute

parsed_instruction: list[
    GetTransactionDetailParsedInstruction
] = Field(alias="parsedInstruction")

confirmations class-attribute instance-attribute

confirmations: int | None = None

version instance-attribute

version: str | int

token_transfers class-attribute instance-attribute

token_transfers: list[GetTransactionDetailTokenTransfer] = (
    Field(alias="tokenTransfers")
)

sol_transfers class-attribute instance-attribute

sol_transfers: list[GetTransactionDetailSolTransfer] = (
    Field(alias="solTransfers")
)

serum_transactions class-attribute instance-attribute

serum_transactions: list[dict] = Field(
    alias="serumTransactions"
)

raydium_transactions class-attribute instance-attribute

raydium_transactions: list[dict] = Field(
    alias="raydiumTransactions"
)

unknown_transfers class-attribute instance-attribute

unknown_transfers: list[
    GetTransactionDetailUnknownTransfer
] = Field(alias="unknownTransfers")

GetBlockLastResult

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockLastResult[GetBlockLastResult]

              

              click cyhole.solscan.v1.schema.GetBlockLastResult href "" "cyhole.solscan.v1.schema.GetBlockLastResult"
            

This class refers to the model of result inside the response of GET Block Last of V1 API endpoint.

block_height class-attribute instance-attribute

block_height: int = Field(alias='blockHeight')

block_time_unix_utc class-attribute instance-attribute

block_time_unix_utc: int = Field(alias='blockTime')

blockhash instance-attribute

blockhash: str

parent_slot class-attribute instance-attribute

parent_slot: int = Field(alias='parentSlot')

previous_blockhash class-attribute instance-attribute

previous_blockhash: str = Field(alias='previousBlockhash')

fee_rewards class-attribute instance-attribute

fee_rewards: int = Field(alias='feeRewards')

validator instance-attribute

validator: str

transaction_count class-attribute instance-attribute

transaction_count: int = Field(alias='transactionCount')

GetBlockLastData

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockLastData[GetBlockLastData]

              

              click cyhole.solscan.v1.schema.GetBlockLastData href "" "cyhole.solscan.v1.schema.GetBlockLastData"
            

This class refers to the model of data inside the response of GET Block Last of V1 API endpoint.

current_slot class-attribute instance-attribute

current_slot: int = Field(alias='currentSlot')

result instance-attribute

result: GetBlockLastResult

GetBlockLastResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockLastResponse[GetBlockLastResponse]

              

              click cyhole.solscan.v1.schema.GetBlockLastResponse href "" "cyhole.solscan.v1.schema.GetBlockLastResponse"
            

This class refers to the response model of GET Block Last of V1 API endpoint.

data instance-attribute

data: list[GetBlockLastData]

GetBlockDetailResponse

Bases: GetBlockLastData


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockDetailResponse[GetBlockDetailResponse]
              cyhole.solscan.v1.schema.GetBlockLastData[GetBlockLastData]

                              cyhole.solscan.v1.schema.GetBlockLastData --> cyhole.solscan.v1.schema.GetBlockDetailResponse
                


              click cyhole.solscan.v1.schema.GetBlockDetailResponse href "" "cyhole.solscan.v1.schema.GetBlockDetailResponse"
              click cyhole.solscan.v1.schema.GetBlockLastData href "" "cyhole.solscan.v1.schema.GetBlockLastData"
            

This class refers to the response model of GET Block Detail of V1 API endpoint.

GetBlockTransactionsTransaction

Bases: GetTransactionLastData


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockTransactionsTransaction[GetBlockTransactionsTransaction]
              cyhole.solscan.v1.schema.GetTransactionLastData[GetTransactionLastData]

                              cyhole.solscan.v1.schema.GetTransactionLastData --> cyhole.solscan.v1.schema.GetBlockTransactionsTransaction
                


              click cyhole.solscan.v1.schema.GetBlockTransactionsTransaction href "" "cyhole.solscan.v1.schema.GetBlockTransactionsTransaction"
              click cyhole.solscan.v1.schema.GetTransactionLastData href "" "cyhole.solscan.v1.schema.GetTransactionLastData"
            

This class refers to the model of transaction inside the response of GET Block Transactions of V1 API endpoint.

GetBlockTransactionsResponse

Bases: BaseModel


              flowchart TD
              cyhole.solscan.v1.schema.GetBlockTransactionsResponse[GetBlockTransactionsResponse]

              

              click cyhole.solscan.v1.schema.GetBlockTransactionsResponse href "" "cyhole.solscan.v1.schema.GetBlockTransactionsResponse"
            

This class refers to the response model of GET Block Transactions of V1 API endpoint.

transactions instance-attribute

transactions: list[GetBlockTransactionsTransaction]