1.0.0 • Published 1 year ago

@conflux-lib/openapi-sdk-core v1.0.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
1 year ago

Documentation for Conflux Scan Open Api

Documentation for API Endpoints

All URIs are relative to https://api.confluxscan.net

ClassMethodHTTP requestDescription
AccountsApiaccountApprovalsGetGET /account/approvals
AccountsApiaccountCfxTransfersGetGET /account/cfx/transfersGet cfx transfer records of an account.
AccountsApiaccountCrc1155TransfersGetGET /account/crc1155/transfers
AccountsApiaccountCrc20TransfersGetGET /account/crc20/transfersGet crc20 transfer records of an account.
AccountsApiaccountCrc3525TransfersGetGET /account/crc3525/transfers
AccountsApiaccountCrc721TransfersGetGET /account/crc721/transfers
AccountsApiaccountTokensGetGET /account/tokensGet assets held by an account. Some tokens may not show up for some reasons.
AccountsApiaccountTransactionsGetGET /account/transactionsGet transactions associated with an account. A transaction with 'from' or 'to' equals to specified account is considered as 'associate'. Parameters 'from' and 'to' are or logic.
AccountsApiaccountTransfersGetGET /account/transfers
ContractsApicontractCheckproxyverificationGetGET /contract/checkproxyverificationChecking Proxy Contract Verification Submission Status using cURL
ContractsApicontractCheckverifystatusGetGET /contract/checkverifystatusVerify Source Code - Check Source Code Verification Submission Status
ContractsApicontractGetabiGetGET /contract/getabiGet Contract ABI for Verified Contract Source Codes
ContractsApicontractGetsourcecodeGetGET /contract/getsourcecodeGet Contract Source Code for Verified Contract Source Codes
ContractsApicontractVerifyproxycontractGetGET /contract/verifyproxycontractVerifying Proxy Contract using cURL
ContractsApicontractVerifysourcecodePostPOST /contract/verifysourcecode
NFTAssetsApinftBalancesGetGET /nft/balancesGet balances of NFT assets for account address.
NFTAssetsApinftFtsGetGET /nft/ftsSearch the NFT by NFT name and/or contract address.
NFTAssetsApinftOwnersGetGET /nft/ownersGet a list of owners for a NFT or a NFT collection. The owners are sorted by transfer timestamp with ascending direction
NFTAssetsApinftPreviewGetGET /nft/previewView the NFT for the specified contract address and tokenID.
NFTAssetsApinftTokensGetGET /nft/tokensGet token id array of specified NFT contract for account address.
NFTAssetsApinftTransfersGetGET /nft/transfersGet a list of transfers for a NFT
ServerInfoApiversionGetGET /versionGet server version.
StatisticsApistatisticsAccountActiveGetGET /statistics/account/activeGet statistics of active account by daily.
StatisticsApistatisticsAccountCfxHolderGetGET /statistics/account/cfx/holderGet statistics of total cfx holder by daily.
StatisticsApistatisticsAccountGrowthGetGET /statistics/account/growthGet statistics of account growth by daily.
StatisticsApistatisticsCfxTransferGetGET /statistics/cfx/transferGet statistics of cfx transfer by daily.
StatisticsApistatisticsContractGetGET /statistics/contractGet statistics of deployed contract.
StatisticsApistatisticsMiningGetGET /statistics/miningGet statistics of mining within ${limit} ${intervalType}. When intervalType is min, the maximum interval between minTimestamp and maxTimestamp is 60 minutes
StatisticsApistatisticsNftAssetGetGET /statistics/nft/assetGet statistics of nft assets within ${limit} ${intervalType}.
StatisticsApistatisticsNftContractGetGET /statistics/nft/contractGet statistics of nft contracts within ${limit} ${intervalType}.
StatisticsApistatisticsNftHolderGetGET /statistics/nft/holderGet statistics of nft holder within by daily.
StatisticsApistatisticsNftTransferGetGET /statistics/nft/transferGet statistics of total nft transfers within ${limit} ${intervalType}.
StatisticsApistatisticsSupplyGetGET /statistics/supplyReturn supply info about CFX on Conflux Network. totalIssued: Total issued balance in Drip, totalCirculating: Total circulating balance in Drip, totalStaking: Total staking balance in Drip, totalCollateral: Total collateral balance in Drip, nullAddressBalance: Zero address's balance in Drip, twoYearUnlockBalance: Two year unlock address's balance in Drip, fourYearUnlockBalance: Four year unlock address's balance in Drip.
StatisticsApistatisticsTokenHolderGetGET /statistics/token/holderGet statistics of holder count for token transfer by daily.
StatisticsApistatisticsTokenTransferGetGET /statistics/token/transferGet statistics of token transfer by daily.
StatisticsApistatisticsTokenUniqueParticipantGetGET /statistics/token/unique/participantGet statistics of unique participant count for token transfer by daily.
StatisticsApistatisticsTokenUniqueReceiverGetGET /statistics/token/unique/receiverGet statistics of unique receiver count for token transfer by daily.
StatisticsApistatisticsTokenUniqueSenderGetGET /statistics/token/unique/senderGet statistics of unique sender count for token transfer by daily.
StatisticsApistatisticsTopCfxReceiverGetGET /statistics/top/cfx/receiverGet statistics of cfx receiver for top 10.
StatisticsApistatisticsTopCfxSenderGetGET /statistics/top/cfx/senderGet statistics of cfx sender for top 10.
StatisticsApistatisticsTopGasUsedGetGET /statistics/top/gas/usedGet statistics of gas used for top 10.
StatisticsApistatisticsTopMinerGetGET /statistics/top/minerGet statistics of miner for top 10.
StatisticsApistatisticsTopTokenParticipantGetGET /statistics/top/token/participantGet statistics of token participant for top 10.
StatisticsApistatisticsTopTokenReceiverGetGET /statistics/top/token/receiverGet statistics of token receiver for top 10.
StatisticsApistatisticsTopTokenSenderGetGET /statistics/top/token/senderGet statistics of token sender for top 10.
StatisticsApistatisticsTopTokenTransferGetGET /statistics/top/token/transferGet statistics of token transfer for top 10.
StatisticsApistatisticsTopTransactionReceiverGetGET /statistics/top/transaction/receiverGet statistics of transaction receiver for top 10.
StatisticsApistatisticsTopTransactionSenderGetGET /statistics/top/transaction/senderGet statistics of transaction sender for top 10.
StatisticsApistatisticsTpsGetGET /statistics/tpsGet statistics of tps within ${limit} ${intervalType}. When intervalType is min, the maximum interval between minTimestamp and maxTimestamp is 60 minutes
StatisticsApistatisticsTransactionGetGET /statistics/transactionGet statistics of transaction account by daily.
TokensApitokenTokeninfoGetGET /token/tokeninfoGet Token Info by ContractAddress
UtilsApiutilDecodeMethodGetGET /util/decode/methodDecode the data of the transaction, where the to address of the transaction is the verified contract
UtilsApiutilDecodeMethodRawGetGET /util/decode/method/rawDecode the data of the raw transaction, where the to address of the transaction is the verified contract

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.