Documentation ¶
Index ¶
Constants ¶
View Source
const ( Status = `` /* 151-byte string literal not displayed */ NodeHeight = ` SELECT height FROM chain.latest_node_heights WHERE layer=$1` Blocks = `` /* 456-byte string literal not displayed */ Block = `` /* 135-byte string literal not displayed */ Transactions = `` /* 1636-byte string literal not displayed */ Transaction = `` /* 252-byte string literal not displayed */ Events = `` /* 486-byte string literal not displayed */ RoothashMessages = `` /* 403-byte string literal not displayed */ Entities = ` SELECT id, address FROM chain.entities ORDER BY id LIMIT $1::bigint OFFSET $2::bigint` Entity = ` SELECT id, address FROM chain.entities WHERE address = $1::text` EntityNodeIds = `` /* 173-byte string literal not displayed */ EntityNodes = `` /* 294-byte string literal not displayed */ EntityNode = `` /* 244-byte string literal not displayed */ Account = `` /* 956-byte string literal not displayed */ // Uses periodically computed view. Accounts = `` /* 290-byte string literal not displayed */ AccountStats = ` SELECT COUNT(*) FROM chain.accounts_related_transactions WHERE account_address = $1::text` AccountAllowances = ` SELECT beneficiary, allowance FROM chain.allowances WHERE owner = $1::text` Delegations = `` /* 286-byte string literal not displayed */ DelegationsTo = `` /* 486-byte string literal not displayed */ DebondingDelegations = `` /* 336-byte string literal not displayed */ DebondingDelegationsTo = `` /* 542-byte string literal not displayed */ Epochs = `` /* 251-byte string literal not displayed */ Proposals = `` /* 421-byte string literal not displayed */ Proposal = `` /* 287-byte string literal not displayed */ ProposalVotes = `` /* 261-byte string literal not displayed */ LatestEpochStart = ` SELECT id, start_height FROM chain.epochs ORDER BY id DESC` ValidatorsAggStats = `` /* 433-byte string literal not displayed */ ValidatorsData = `` /* 4257-byte string literal not displayed */ ValidatorHistory = `` /* 498-byte string literal not displayed */ RuntimeBlocks = `` /* 483-byte string literal not displayed */ RuntimeBlock = `` /* 150-byte string literal not displayed */ RuntimeTransactions = `` /* 3437-byte string literal not displayed */ RuntimeEvents = `` /* 2889-byte string literal not displayed */ RuntimeEvmContract = `` /* 672-byte string literal not displayed */ AddressPreimage = ` SELECT context_identifier, context_version, address_data FROM chain.address_preimages WHERE address = $1::text` RuntimeAccountStats = `` /* 132-byte string literal not displayed */ //nolint:gosec // Linter suspects a hardcoded access token. EvmTokens = `` /* 1467-byte string literal not displayed */ //nolint:gosec // Linter suspects a hardcoded credentials token. EvmTokenHolders = `` /* 579-byte string literal not displayed */ EvmNfts = `` /* 1865-byte string literal not displayed */ AccountRuntimeSdkBalances = `` /* 327-byte string literal not displayed */ AccountRuntimeEvmBalances = `` /* 1107-byte string literal not displayed */ RuntimeActiveNodes = ` SELECT COUNT(*) AS active_nodes FROM chain.runtime_nodes WHERE runtime_id = $1::text ` // FineTxVolumes returns the fine-grained query for 5-minute sampled tx volume windows. FineTxVolumes = `` /* 155-byte string literal not displayed */ // FineDailyTxVolumes returns the query for daily tx volume windows. FineDailyTxVolumes = `` /* 156-byte string literal not displayed */ // DailyTxVolumes returns the query for daily sampled daily tx volume windows. DailyTxVolumes = `` /* 213-byte string literal not displayed */ // FineDailyActiveAccounts returns the fine-grained query for daily active account windows. FineDailyActiveAccounts = `` /* 168-byte string literal not displayed */ // DailyActiveAccounts returns the query for daily sampled daily active account windows. DailyActiveAccounts = `` /* 225-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func TotalCountQuery ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.