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"
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.
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.
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_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"
)
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.
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.
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')
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.
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')
delegated_stake_amount
class-attribute
instance-attribute
¶
delegated_stake_amount: int = Field(
alias="delegatedStakeAmount"
)
activation_epoch
class-attribute
instance-attribute
¶
activation_epoch: int = Field(alias='activationEpoch')
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.
block_time_unix_utc
class-attribute
instance-attribute
¶
block_time_unix_utc: int = Field(alias='blockTime')
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.
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.
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.
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.
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.
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.
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.
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.
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.
token_authority
class-attribute
instance-attribute
¶
token_authority: str | None = Field(
default=None, alias="tokenAuthority"
)
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.
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.
block_time_unix_utc
class-attribute
instance-attribute
¶
block_time_unix_utc: int = Field(alias='blockTime')
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_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.
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.
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"
)
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_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_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_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"
)
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"
)
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 | |
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.
coingecko_info
class-attribute
instance-attribute
¶
coingecko_info: GetTokenListTokenCoingeckoInfo | None = (
Field(default=None, alias="coingeckoInfo")
)
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"
)
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"
)
symbol
class-attribute
instance-attribute
¶
symbol: str | None = Field(
default=None, alias="tokenSymbol"
)
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.
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.
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.
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.
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"
GetTransactionLastInstructionSplTokenParsed
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed[GetTransactionLastInstructionSplTokenParsed]
click cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSplTokenParsed"
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.
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"
GetTransactionLastInstructionSystemParsed
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed[GetTransactionLastInstructionSystemParsed]
click cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionSystemParsed"
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.
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"
GetTransactionLastInstructionVoteStateUpdate
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate[GetTransactionLastInstructionVoteStateUpdate]
click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteStateUpdate"
GetTransactionLastInstructionVoteParsedInfo
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo[GetTransactionLastInstructionVoteParsedInfo]
click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsedInfo"
GetTransactionLastInstructionVoteParsed
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed[GetTransactionLastInstructionVoteParsed]
click cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed href "" "cyhole.solscan.v1.schema.GetTransactionLastInstructionVoteParsed"
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.
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.
GetTransactionLastAddressTableLookup
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup[GetTransactionLastAddressTableLookup]
click cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup href "" "cyhole.solscan.v1.schema.GetTransactionLastAddressTableLookup"
GetTransactionLastAccountKeys
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastAccountKeys[GetTransactionLastAccountKeys]
click cyhole.solscan.v1.schema.GetTransactionLastAccountKeys href "" "cyhole.solscan.v1.schema.GetTransactionLastAccountKeys"
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.
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"
GetTransactionLastMetaInstructions
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions[GetTransactionLastMetaInstructions]
click cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions href "" "cyhole.solscan.v1.schema.GetTransactionLastMetaInstructions"
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"
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"
)
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")
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.
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.
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.
GetTransactionDetailInnerInstructionVoteParams
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams[GetTransactionDetailInnerInstructionVoteParams]
click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionVoteParams"
vote_authority
class-attribute
instance-attribute
¶
vote_authority: str = Field(alias='voteAuthority')
GetTransactionDetailInnerInstructionSplTransferParams
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams[GetTransactionDetailInnerInstructionSplTransferParams]
click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTransferParams"
GetTransactionDetailInnerInstructionSplTokenParams
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams[GetTransactionDetailInnerInstructionSplTokenParams]
click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSplTokenParams"
mint_authority
class-attribute
instance-attribute
¶
mint_authority: str | None = Field(
default=None, alias="mintAuthority"
)
GetTransactionDetailInnerInstructionSolTransferParams
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams[GetTransactionDetailInnerInstructionSolTransferParams]
click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionSolTransferParams"
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"
GetTransactionDetailInnerInstructionParsed
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed[GetTransactionDetailInnerInstructionParsed]
click cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed href "" "cyhole.solscan.v1.schema.GetTransactionDetailInnerInstructionParsed"
data_encode
class-attribute
instance-attribute
¶
data_encode: str | None = Field(
default=None, alias="dataEncode"
)
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.
GetTransactionDetailToken
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailToken[GetTransactionDetailToken]
click cyhole.solscan.v1.schema.GetTransactionDetailToken href "" "cyhole.solscan.v1.schema.GetTransactionDetailToken"
GetTransactionDetailTokenAmount
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount[GetTransactionDetailTokenAmount]
click cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount href "" "cyhole.solscan.v1.schema.GetTransactionDetailTokenAmount"
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.
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"
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.
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.
GetTransactionDetailUnknownTransferEvent
¶
Bases: BaseModel
flowchart TD
cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent[GetTransactionDetailUnknownTransferEvent]
click cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent href "" "cyhole.solscan.v1.schema.GetTransactionDetailUnknownTransferEvent"
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.
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.
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")
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_time_unix_utc
class-attribute
instance-attribute
¶
block_time_unix_utc: int = Field(alias='blockTime')
previous_blockhash
class-attribute
instance-attribute
¶
previous_blockhash: str = Field(alias='previousBlockhash')
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.
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.
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.