From 755fdd96534b041d00e06143264bc6091f382493 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 30 Sep 2024 00:24:17 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5 --- .speakeasy/gen.lock | 16 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +- FUNCTIONS.md | 2 +- RELEASES.md | 12 +- .../components/activedelegatordetails.md | 6 +- .../components/activevalidatordetails.md | 22 +- .../components/alltimeerc20balancequerydto.md | 2 +- .../alltimenativebalancequerydto.md | 2 +- .../components/alltimenftholdersquerydto.md | 6 +- .../components/anytimeerc20balancequerydto.md | 2 +- .../anytimenativebalancequerydto.md | 2 +- .../components/anytimenftholdersquerydto.md | 6 +- .../anytimenftholdersquerydtoparams.md | 26 +- docs/models/components/assetamount.md | 2 +- docs/models/components/assetwithpriceinfo.md | 2 +- docs/models/components/blockchain.md | 8 +- docs/models/components/blockchainids.md | 2 +- docs/models/components/blockchaininfo.md | 2 +- .../models/components/cchainatomicbalances.md | 8 +- .../components/cchainexporttransaction.md | 4 +- .../components/cchainimporttransaction.md | 4 +- .../components/cchainsharedassetbalance.md | 4 +- .../components/chainaddresschainidmap.md | 2 +- .../chainaddresschainidmaplistresponse.md | 2 +- docs/models/components/chaininfo.md | 8 +- docs/models/components/chainstatus.md | 2 +- docs/models/components/collectiblebalances.md | 35 +- .../components/completeddelegatordetails.md | 6 +- .../components/completedvalidatordetails.md | 10 +- .../components/compositequeryrequestdto.md | 10 +- docs/models/components/contracts.md | 53 ++- ...eprimarynetworktransactionexportrequest.md | 2 +- .../models/components/createwebhookrequest.md | 4 +- .../createwebhookrequestmetadata.md | 17 +- .../components/datalistchainsresponse.md | 10 +- .../daterangeerc20minbalanceparam.md | 2 +- .../components/daterangeminbalanceparam.md | 2 +- .../components/daterangenftholdersparam.md | 2 +- docs/models/components/delegators.md | 53 ++- docs/models/components/delegatorsdetails.md | 2 +- ...iveredsourcenotindexedteleportermessage.md | 12 +- .../components/deliveredteleportermessage.md | 14 +- docs/models/components/enabledfeatures.md | 2 +- docs/models/components/erc1155token.md | 6 +- docs/models/components/erc1155tokenbalance.md | 6 +- .../models/components/erc1155tokenmetadata.md | 2 +- docs/models/components/erc1155transfer.md | 8 +- .../components/erc1155transferdetails.md | 8 +- docs/models/components/erc20transfer.md | 2 +- .../models/components/erc20transferdetails.md | 2 +- docs/models/components/erc721token.md | 6 +- docs/models/components/erc721tokenbalance.md | 6 +- docs/models/components/erc721tokenmetadata.md | 2 +- docs/models/components/erc721transfer.md | 8 +- .../components/erc721transferdetails.md | 8 +- docs/models/components/evmblock.md | 2 +- docs/models/components/evminput.md | 2 +- .../fullnativetransactiondetails.md | 2 +- docs/models/components/getchainresponse.md | 6 +- .../getchainresponseenabledfeatures.md | 2 +- docs/models/components/getevmblockresponse.md | 2 +- .../components/getnetworkdetailsresponse.md | 6 +- .../getprimarynetworkblockresponse.md | 6 +- .../components/gettransactionresponse.md | 20 +- docs/models/components/groupedby.md | 2 +- docs/models/components/groupvalue.md | 11 +- docs/models/components/historicalreward.md | 12 +- docs/models/components/includechains.md | 2 +- docs/models/components/internaltransaction.md | 2 +- .../components/internaltransactiondetails.md | 2 +- .../components/internaltransactionopcall.md | 2 +- docs/models/components/latestbalanceparams.md | 2 +- .../components/latestbalancequerydto.md | 4 +- .../components/listblockchainsresponse.md | 8 +- .../listcchainatomicbalancesresponse.md | 8 +- .../listcchainatomictransactionsresponse.md | 8 +- ...natomictransactionsresponsetransactions.md | 114 ++++- .../listcollectiblebalancesresponse.md | 6 +- .../components/listcontractsresponse.md | 4 +- .../listdelegatordetailsresponse.md | 12 +- .../components/listerc1155balancesresponse.md | 6 +- .../listerc1155transactionsresponse.md | 8 +- .../listerc20transactionsresponse.md | 2 +- .../components/listerc721balancesresponse.md | 6 +- .../listerc721transactionsresponse.md | 8 +- .../components/listevmblocksresponse.md | 2 +- .../listhistoricalrewardsresponse.md | 12 +- .../listnativetransactionsresponse.md | 2 +- docs/models/components/listnfttokens.md | 6 +- .../components/listpchainbalancesresponse.md | 10 +- .../listpchaintransactionsresponse.md | 22 +- .../components/listpchainutxosresponse.md | 12 +- .../components/listpendingrewardsresponse.md | 10 +- .../listprimarynetworkblocksresponse.md | 8 +- docs/models/components/listsubnetsresponse.md | 10 +- .../listteleportermessagesresponse.md | 14 +- .../listtransactiondetailsresponse.md | 20 +- .../components/listtransfersresponse.md | 18 +- docs/models/components/listutxosresponse.md | 4 +- .../listvalidatordetailsresponse.md | 15 +- .../listwebhookaddressesresponse.md | 2 +- .../models/components/listwebhooksresponse.md | 10 +- .../components/listxchainbalancesresponse.md | 12 +- .../listxchaintransactionsresponse.md | 16 +- .../components/listxchainverticesresponse.md | 14 +- docs/models/components/logsformat.md | 20 +- docs/models/components/logsformatmetadata.md | 4 +- docs/models/components/logsresponsedto.md | 22 +- docs/models/components/messages.md | 76 +++- docs/models/components/metadata.md | 9 +- docs/models/components/method.md | 2 +- docs/models/components/metric.md | 18 +- docs/models/components/nativetransaction.md | 2 +- .../components/nfttokenmetadatastatus.md | 2 +- docs/models/components/operationstatus.md | 2 +- docs/models/components/operationstatuscode.md | 2 +- .../components/operationstatusresponse.md | 10 +- docs/models/components/operationtype.md | 2 +- docs/models/components/operator.md | 2 +- docs/models/components/params.md | 26 +- docs/models/components/pchainbalance.md | 8 +- .../components/pchainlookingglassresponse.md | 16 +- docs/models/components/pchainsharedasset.md | 2 +- docs/models/components/pchaintransaction.md | 26 +- .../components/pchaintransactiontype.md | 2 +- docs/models/components/pchainutxo.md | 10 +- .../components/pendingdelegatordetails.md | 6 +- docs/models/components/pendingreward.md | 8 +- .../components/pendingteleportermessage.md | 12 +- .../components/pendingvalidatordetails.md | 8 +- docs/models/components/primarynetwork.md | 2 +- docs/models/components/primarynetworkblock.md | 6 +- .../components/primarynetworkchaininfo.md | 2 +- .../components/primarynetworkchainname.md | 2 +- .../components/primarynetworkoperationtype.md | 3 +- .../models/components/primarynetworktxtype.md | 2 +- docs/models/components/queries.md | 119 +++++- .../components/removedvalidatordetails.md | 10 +- docs/models/components/resourcelink.md | 4 +- docs/models/components/resourcelinktype.md | 2 +- docs/models/components/rewardtype.md | 2 +- docs/models/components/sortbyoption.md | 2 +- docs/models/components/stakingdistribution.md | 2 +- docs/models/components/subnet.md | 10 +- .../teleporterdestinationtransaction.md | 2 +- .../components/teleportermessageinfo.md | 4 +- .../components/teleportersourcetransaction.md | 2 +- .../timestamprangenftholdersparam.md | 6 +- docs/models/components/tokens.md | 38 +- docs/models/components/transactiondetails.md | 18 +- .../components/transactiondirectiontype.md | 2 +- .../components/transactionmethodtype.md | 2 +- docs/models/components/transactions.md | 126 +++++- docs/models/components/transactionstatus.md | 2 +- docs/models/components/transfers.md | 91 +++- .../components/usagemetricsresponsedto.md | 20 +- .../models/components/usagemetricsvaluedto.md | 14 +- docs/models/components/utxo.md | 2 +- docs/models/components/utxotype.md | 2 +- .../components/validatorhealthdetails.md | 8 +- docs/models/components/validators.md | 76 +++- docs/models/components/validatorsdetails.md | 4 +- docs/models/components/vmname.md | 2 +- docs/models/components/webhookresponse.md | 10 +- .../components/webhookresponsemetadata.md | 17 +- docs/models/components/webhookstatustype.md | 2 +- docs/models/components/xchainbalances.md | 8 +- .../components/xchainlineartransaction.md | 8 +- .../components/xchainnonlineartransaction.md | 12 +- .../components/xchainsharedassetbalance.md | 4 +- .../components/xchaintransactiontype.md | 2 +- docs/models/components/xchainvertex.md | 10 +- docs/models/errors/badgateway.md | 3 - docs/models/errors/badgatewaymessage.md | 15 +- docs/models/errors/badrequest.md | 4 - docs/models/errors/forbidden.md | 4 - docs/models/errors/forbiddenmessage.md | 15 +- docs/models/errors/internalservererror.md | 5 - .../errors/internalservererrormessage.md | 13 +- docs/models/errors/message.md | 15 +- docs/models/errors/notfound.md | 4 - docs/models/errors/notfoundmessage.md | 13 +- docs/models/errors/serviceunavailable.md | 4 - .../errors/serviceunavailablemessage.md | 13 +- docs/models/errors/toomanyrequests.md | 3 - docs/models/errors/toomanyrequestsmessage.md | 13 +- docs/models/errors/unauthorized.md | 4 - docs/models/errors/unauthorizedmessage.md | 15 +- .../getaddressesfromwebhookresponse.md | 2 +- docs/models/operations/getapilogsresponse.md | 22 +- .../getbalancesbyaddressesresponsebody.md | 117 ++++- docs/models/operations/getblockrequest.md | 8 +- docs/models/operations/getchaininforequest.md | 6 +- .../operations/getcontractmetadatarequest.md | 8 +- .../getcontractmetadataresponsebody.md | 52 ++- .../getdeploymenttransactionrequest.md | 10 +- .../operations/getevmchainmetricsresponse.md | 4 +- .../operations/getlatestblocksrequest.md | 10 +- .../operations/getlatestblocksresponse.md | 2 +- .../operations/getnativebalancerequest.md | 12 +- .../getsinglevalidatordetailsresponse.md | 15 +- .../operations/getstakingmetricsresponse.md | 4 +- .../getteleportermessageresponsebody.md | 118 +++++- .../operations/gettokendetailsrequest.md | 10 +- .../operations/gettokendetailsresponsebody.md | 33 +- .../operations/gettransactionrequest.md | 8 +- .../gettransactionsforblockrequest.md | 8 +- .../operations/gettxbyhashresponsebody.md | 400 +++++++++++++++++- .../operations/getutxosbyaddressesresponse.md | 25 +- .../getutxosbyaddressesresponsebody.md | 67 ++- .../getvalidatorsbydaterangeresponse.md | 14 +- .../operations/getvertexbyheightresponse.md | 12 +- ...imarynetworkstakingtransactionsresponse.md | 30 +- .../listassettransactionsresponse.md | 8 +- .../operations/listblockchainsresponse.md | 8 +- docs/models/operations/listchainsresponse.md | 2 +- .../listcollectiblebalancesrequest.md | 14 +- .../listcollectiblebalancesresponse.md | 12 +- .../listcontractdeploymentsrequest.md | 12 +- .../listcontractdeploymentsresponse.md | 4 +- .../operations/listdelegatorsresponse.md | 12 +- .../operations/listerc1155balancesrequest.md | 16 +- .../operations/listerc1155balancesresponse.md | 6 +- .../listerc1155transactionsrequest.md | 2 +- .../listerc1155transactionsresponse.md | 8 +- .../operations/listerc20balancesrequest.md | 20 +- .../listerc20transactionsrequest.md | 2 +- .../listerc20transactionsresponse.md | 2 +- .../operations/listerc721balancesrequest.md | 14 +- .../operations/listerc721balancesresponse.md | 6 +- .../listerc721transactionsrequest.md | 2 +- .../listerc721transactionsresponse.md | 8 +- ...historicalprimarynetworkrewardsresponse.md | 12 +- .../listinternaltransactionsrequest.md | 2 +- .../listinternaltransactionsresponse.md | 2 +- .../listlatestprimarynetworkblocksresponse.md | 8 +- ...atestprimarynetworktransactionsresponse.md | 94 ++-- ...tprimarynetworktransactionsresponsebody.md | 254 +++++++++-- .../listlatesttransactionsrequest.md | 12 +- .../listlatesttransactionsresponse.md | 2 +- .../listlatestxchainverticesresponse.md | 14 +- .../listnativetransactionsrequest.md | 2 +- .../listnativetransactionsresponse.md | 2 +- ...istpendingprimarynetworkrewardsresponse.md | 8 +- ...istprimarynetworkblocksbynodeidresponse.md | 8 +- docs/models/operations/listsubnetsresponse.md | 10 +- .../listteleportermessagesresponse.md | 21 +- docs/models/operations/listtokensrequest.md | 12 +- docs/models/operations/listtokensresponse.md | 11 +- .../operations/listtransactionsrequest.md | 2 +- .../operations/listtransactionsresponse.md | 22 +- .../models/operations/listtransfersrequest.md | 2 +- .../operations/listtransfersresponse.md | 18 +- .../operations/listvalidatorsresponse.md | 17 +- .../models/operations/listwebhooksresponse.md | 10 +- .../posttransactionexportjobrequestbody.md | 30 +- .../operations/queryparamrequesttype.md | 2 +- docs/models/operations/reindexnftrequest.md | 10 +- docs/sdks/avacloudsdkbalances/README.md | 14 +- docs/sdks/avacloudsdkblocks/README.md | 8 +- docs/sdks/avacloudsdkchains/README.md | 12 +- docs/sdks/avacloudsdkhealthcheck/README.md | 6 +- docs/sdks/avacloudsdkmetrics/README.md | 16 +- docs/sdks/avacloudsdktransactions/README.md | 36 +- docs/sdks/balances/README.md | 6 +- docs/sdks/blocks/README.md | 10 +- docs/sdks/chains/README.md | 8 +- docs/sdks/contracts/README.md | 6 +- docs/sdks/healthcheck/README.md | 6 +- docs/sdks/lookingglass/README.md | 10 +- docs/sdks/nfts/README.md | 10 +- docs/sdks/operations/README.md | 12 +- docs/sdks/primarynetwork/README.md | 34 +- docs/sdks/rewards/README.md | 4 +- docs/sdks/teleporter/README.md | 14 +- docs/sdks/transactions/README.md | 12 +- docs/sdks/usagemetrics/README.md | 8 +- docs/sdks/utxos/README.md | 2 +- docs/sdks/vertices/README.md | 10 +- docs/sdks/webhooks/README.md | 52 +-- package-lock.json | 4 +- package.json | 2 +- .../dataEvmBalancesListCollectibleBalances.ts | 1 - .../dataEvmBalancesListErc1155Balances.ts | 1 - src/funcs/dataEvmBalancesListErc20Balances.ts | 1 - .../dataEvmBalancesListErc721Balances.ts | 1 - src/funcs/dataEvmBlocksGetLatestBlocks.ts | 1 - ...aEvmTransactionsListContractDeployments.ts | 1 - ...aEvmTransactionsListErc1155Transactions.ts | 1 - ...ataEvmTransactionsListErc20Transactions.ts | 1 - ...taEvmTransactionsListErc721Transactions.ts | 1 - ...EvmTransactionsListInternalTransactions.ts | 1 - ...taEvmTransactionsListLatestTransactions.ts | 1 - ...taEvmTransactionsListNativeTransactions.ts | 1 - .../dataEvmTransactionsListTransactions.ts | 1 - src/funcs/dataEvmTransactionsListTransfers.ts | 1 - src/funcs/dataNftsListTokens.ts | 1 - ...orkBlocksListLatestPrimaryNetworkBlocks.ts | 1 - ...kBlocksListPrimaryNetworkBlocksByNodeId.ts | 1 - ...PrimaryNetworkGetSingleValidatorDetails.ts | 1 - .../dataPrimaryNetworkListBlockchains.ts | 1 - src/funcs/dataPrimaryNetworkListDelegators.ts | 1 - src/funcs/dataPrimaryNetworkListSubnets.ts | 1 - src/funcs/dataPrimaryNetworkListValidators.ts | 1 - ...ardsListHistoricalPrimaryNetworkRewards.ts | 1 - ...RewardsListPendingPrimaryNetworkRewards.ts | 1 - ...ActivePrimaryNetworkStakingTransactions.ts | 1 - ...etworkTransactionsListAssetTransactions.ts | 1 - ...onsListLatestPrimaryNetworkTransactions.ts | 1 - ...aPrimaryNetworkUtxosGetUtxosByAddresses.ts | 1 - ...PrimaryNetworkVerticesGetVertexByHeight.ts | 1 - ...NetworkVerticesListLatestXChainVertices.ts | 1 - .../dataTeleporterListTeleporterMessages.ts | 1 - src/funcs/dataUsageMetricsGetApiLogs.ts | 1 - .../dataWebhooksGetAddressesFromWebhook.ts | 1 - src/funcs/dataWebhooksListWebhooks.ts | 1 - .../metricsChainMetricsGetEvmChainMetrics.ts | 1 - .../metricsChainMetricsGetStakingMetrics.ts | 1 - src/funcs/metricsEvmChainsListChains.ts | 1 - .../metricsLookingGlassCompositeQuery.ts | 1 - ...okingGlassGetAddressesByBalanceOverTime.ts | 1 - ...csLookingGlassGetAddressesByBtcbBridged.ts | 1 - ...kingGlassGetNftHoldersByContractAddress.ts | 1 - ...icsLookingGlassGetValidatorsByDateRange.ts | 1 - src/lib/config.ts | 6 +- .../components/pchainlookingglassresponse.ts | 8 +- src/models/errors/badgateway.ts | 12 - src/models/errors/badrequest.ts | 14 - src/models/errors/forbidden.ts | 14 - src/models/errors/internalservererror.ts | 16 - src/models/errors/notfound.ts | 14 - src/models/errors/serviceunavailable.ts | 14 - src/models/errors/toomanyrequests.ts | 12 - src/models/errors/unauthorized.ts | 14 - src/models/operations/getblock.ts | 2 +- src/models/operations/getchaininfo.ts | 2 +- src/models/operations/getcontractmetadata.ts | 2 +- .../operations/getdeploymenttransaction.ts | 2 +- src/models/operations/getlatestblocks.ts | 2 +- src/models/operations/getnativebalance.ts | 2 +- src/models/operations/gettokendetails.ts | 2 +- src/models/operations/gettransaction.ts | 2 +- .../operations/gettransactionsforblock.ts | 2 +- .../operations/listcollectiblebalances.ts | 2 +- .../operations/listcontractdeployments.ts | 2 +- src/models/operations/listerc1155balances.ts | 2 +- .../operations/listerc1155transactions.ts | 2 +- src/models/operations/listerc20balances.ts | 2 +- .../operations/listerc20transactions.ts | 2 +- src/models/operations/listerc721balances.ts | 2 +- .../operations/listerc721transactions.ts | 2 +- .../operations/listinternaltransactions.ts | 2 +- .../operations/listlatesttransactions.ts | 2 +- .../operations/listnativetransactions.ts | 2 +- src/models/operations/listtokens.ts | 2 +- src/models/operations/listtransactions.ts | 2 +- src/models/operations/listtransfers.ts | 2 +- src/models/operations/reindexnft.ts | 2 +- 359 files changed, 2651 insertions(+), 1673 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4a5e8b29..91bce336 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 2b9c4bf6-4d87-4382-84d9-5fb3c84c7fad management: - docChecksum: 91a0e02e81b109251a6b0f980ebcb501 + docChecksum: 4eba30cda024caf8d26a77769245c028 docVersion: Beta - speakeasyVersion: 1.402.0 - generationVersion: 2.422.6 - releaseVersion: 0.5.1 - configChecksum: 2266b6d28d0cfeed797681f1785a842f + speakeasyVersion: 1.404.5 + generationVersion: 2.426.2 + releaseVersion: 0.6.0 + configChecksum: f5c0c3a7211079b363c1b44088b13d00 repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git installationURL: https://github.com/ava-labs/avacloud-sdk-typescript published: true @@ -15,7 +15,7 @@ features: additionalDependencies: 0.1.0 additionalProperties: 0.1.1 constsAndDefaults: 0.1.11 - core: 3.17.6 + core: 3.18.0 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.0 @@ -31,7 +31,7 @@ features: methodServerURLs: 2.82.1 nameOverrides: 2.81.2 nullables: 0.1.0 - pagination: 2.82.6 + pagination: 2.82.7 responseFormat: 0.2.3 retries: 2.83.0 sdkHooks: 0.1.0 @@ -1266,7 +1266,7 @@ examples: network: "mainnet" responses: "200": - application/json: {"addresses": {"addresses": ["avax1abcdef1234567890abcdef1234567890abcdef"], "sortKey": "123"}} + application/json: {"addresses": [{"addresses": ["avax1abcdef1234567890abcdef1234567890abcdef"], "sortKey": "123"}]} "400": application/json: {"message": "", "statusCode": 400, "error": "Bad Request"} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index a1ab3f4d..bfd54222 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.5.1 + version: 0.6.0 additionalDependencies: dependencies: json-canonicalize: ^1.0.6 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index e59802b6..c4901442 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.402.0 +speakeasyVersion: 1.404.5 sources: AvaCloudSDK-OAS: sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:35e4611446817d20231788a0a3b10fd86a21c7be018f2613cdafde641d1952cf - sourceBlobDigest: sha256:8dea9f206a3da11a3a96e75b8066c888d178df31056d864b5b42c21fb9fb07ad + sourceRevisionDigest: sha256:c63b3800786d77cd253bce2817cf247bf93ee6d9ee636356583af9521e3719d4 + sourceBlobDigest: sha256:59c18541b6aa818777cea16543d1140770c4bb9413cca098045ec7cc7566f344 tags: - latest - main @@ -18,10 +18,10 @@ targets: avacloud-sdk: source: AvaCloudSDK-OAS sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:35e4611446817d20231788a0a3b10fd86a21c7be018f2613cdafde641d1952cf - sourceBlobDigest: sha256:8dea9f206a3da11a3a96e75b8066c888d178df31056d864b5b42c21fb9fb07ad + sourceRevisionDigest: sha256:c63b3800786d77cd253bce2817cf247bf93ee6d9ee636356583af9521e3719d4 + sourceBlobDigest: sha256:59c18541b6aa818777cea16543d1140770c4bb9413cca098045ec7cc7566f344 codeSamplesNamespace: avacloud-sdk-ts-code-samples - codeSamplesRevisionDigest: sha256:e8febd08deb7209abce0d0de1b6e07b83402b7cd222836295ba789f1474b3753 + codeSamplesRevisionDigest: sha256:cfab3496784f7f2ef80741f7d1233fc190d42f1fbb6358a5448bff40a787f542 avalanche-sdk: source: AvalancheSDK-OAS sourceNamespace: avalanche-sdk-oas diff --git a/FUNCTIONS.md b/FUNCTIONS.md index f4c3c4b7..faa76324 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -54,7 +54,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/RELEASES.md b/RELEASES.md index 93eb5b42..61d0965c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -69,4 +69,14 @@ Based on: ### Generated - [typescript v0.5.1] . ### Releases -- [NPM v0.5.1] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.5.1 - . \ No newline at end of file +- [NPM v0.5.1] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.5.1 - . + +## 2024-09-30 00:22:45 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.6.0] . +### Releases +- [NPM v0.6.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.0 - . \ No newline at end of file diff --git a/docs/models/components/activedelegatordetails.md b/docs/models/components/activedelegatordetails.md index 3717b78f..8b656eaa 100644 --- a/docs/models/components/activedelegatordetails.md +++ b/docs/models/components/activedelegatordetails.md @@ -7,14 +7,14 @@ import { ActiveDelegatorDetails } from "@avalabs/avacloud-sdk/models/components" let value: ActiveDelegatorDetails = { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 5699.65, - endTimestamp: 5908.73, + startTimestamp: 1716.30, + endTimestamp: 5210.37, estimatedGrossReward: "", estimatedNetReward: "", delegationStatus: "active", diff --git a/docs/models/components/activevalidatordetails.md b/docs/models/components/activevalidatordetails.md index 3c47e0f8..1dd8044a 100644 --- a/docs/models/components/activevalidatordetails.md +++ b/docs/models/components/activevalidatordetails.md @@ -7,24 +7,24 @@ import { ActiveValidatorDetails } from "@avalabs/avacloud-sdk/models/components" let value: ActiveValidatorDetails = { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 5722.52, - endTimestamp: 2230.82, - stakePercentage: 9527.49, - delegatorCount: 4471.25, - uptimePerformance: 8464.09, + startTimestamp: 4314.18, + endTimestamp: 8965.47, + stakePercentage: 3675.62, + delegatorCount: 4358.65, + uptimePerformance: 8919.23, potentialRewards: { validationRewardAmount: "", delegationRewardAmount: "", }, validationStatus: "active", validatorHealth: { - reachabilityPercent: 6994.79, - benchedPChainRequestsPercent: 2974.37, - benchedXChainRequestsPercent: 8137.98, - benchedCChainRequestsPercent: 3965.06, + reachabilityPercent: 8061.94, + benchedPChainRequestsPercent: 7038.89, + benchedXChainRequestsPercent: 1002.27, + benchedCChainRequestsPercent: 9194.83, }, }; ``` diff --git a/docs/models/components/alltimeerc20balancequerydto.md b/docs/models/components/alltimeerc20balancequerydto.md index bdd1535d..2d3ff545 100644 --- a/docs/models/components/alltimeerc20balancequerydto.md +++ b/docs/models/components/alltimeerc20balancequerydto.md @@ -12,7 +12,7 @@ let value: AllTimeErc20BalanceQueryDto = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", contractAddress: "", }, }; diff --git a/docs/models/components/alltimenativebalancequerydto.md b/docs/models/components/alltimenativebalancequerydto.md index 2f77a5a6..545218e2 100644 --- a/docs/models/components/alltimenativebalancequerydto.md +++ b/docs/models/components/alltimenativebalancequerydto.md @@ -12,7 +12,7 @@ let value: AllTimeNativeBalanceQueryDto = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", }, }; ``` diff --git a/docs/models/components/alltimenftholdersquerydto.md b/docs/models/components/alltimenftholdersquerydto.md index 03e231f8..b9b09331 100644 --- a/docs/models/components/alltimenftholdersquerydto.md +++ b/docs/models/components/alltimenftholdersquerydto.md @@ -9,10 +9,10 @@ let value: AllTimeNftHoldersQueryDto = { id: "", type: "AllTimeNftHolders", params: { - evmChainId: "", + firstDate: "", + lastDate: "", + evmChainId: "", contractAddress: "", - startTs: 6399.21, - endTs: 1433.53, }, }; ``` diff --git a/docs/models/components/anytimeerc20balancequerydto.md b/docs/models/components/anytimeerc20balancequerydto.md index ebfcbe2f..f6515226 100644 --- a/docs/models/components/anytimeerc20balancequerydto.md +++ b/docs/models/components/anytimeerc20balancequerydto.md @@ -12,7 +12,7 @@ let value: AnyTimeErc20BalanceQueryDto = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", contractAddress: "", }, }; diff --git a/docs/models/components/anytimenativebalancequerydto.md b/docs/models/components/anytimenativebalancequerydto.md index 6e20fdef..1f3150e8 100644 --- a/docs/models/components/anytimenativebalancequerydto.md +++ b/docs/models/components/anytimenativebalancequerydto.md @@ -12,7 +12,7 @@ let value: AnyTimeNativeBalanceQueryDto = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", }, }; ``` diff --git a/docs/models/components/anytimenftholdersquerydto.md b/docs/models/components/anytimenftholdersquerydto.md index 91434861..d0668119 100644 --- a/docs/models/components/anytimenftholdersquerydto.md +++ b/docs/models/components/anytimenftholdersquerydto.md @@ -9,10 +9,10 @@ let value: AnyTimeNftHoldersQueryDto = { id: "", type: "AnyTimeNftHolders", params: { - evmChainId: "", + firstDate: "", + lastDate: "", + evmChainId: "", contractAddress: "", - startTs: 5684.34, - endTs: 187.90, }, }; ``` diff --git a/docs/models/components/anytimenftholdersquerydtoparams.md b/docs/models/components/anytimenftholdersquerydtoparams.md index 4939a233..f5e8cfdc 100644 --- a/docs/models/components/anytimenftholdersquerydtoparams.md +++ b/docs/models/components/anytimenftholdersquerydtoparams.md @@ -1,29 +1,27 @@ # AnyTimeNftHoldersQueryDtoParams -## Example Usage - -```typescript -import { AnyTimeNftHoldersQueryDtoParams } from "@avalabs/avacloud-sdk/models/components"; - -let value: AnyTimeNftHoldersQueryDtoParams = { - evmChainId: "", - contractAddress: "", - startTs: 2645.56, - endTs: 7742.34, -}; -``` ## Supported Types ### `components.TimestampRangeNftHoldersParam` ```typescript -const value: components.TimestampRangeNftHoldersParam = /* values here */ +const value: components.TimestampRangeNftHoldersParam = { + evmChainId: "", + contractAddress: "", + startTs: 7742.34, + endTs: 4561.50, +}; ``` ### `components.DateRangeNftHoldersParam` ```typescript -const value: components.DateRangeNftHoldersParam = /* values here */ +const value: components.DateRangeNftHoldersParam = { + firstDate: "", + lastDate: "", + evmChainId: "", + contractAddress: "", +}; ``` diff --git a/docs/models/components/assetamount.md b/docs/models/components/assetamount.md index 51439b90..fff772f3 100644 --- a/docs/models/components/assetamount.md +++ b/docs/models/components/assetamount.md @@ -10,7 +10,7 @@ let value: AssetAmount = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }; ``` diff --git a/docs/models/components/assetwithpriceinfo.md b/docs/models/components/assetwithpriceinfo.md index 71b24b3d..f31c3660 100644 --- a/docs/models/components/assetwithpriceinfo.md +++ b/docs/models/components/assetwithpriceinfo.md @@ -10,7 +10,7 @@ let value: AssetWithPriceInfo = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", historicalPrice: { currencyCode: "usd", diff --git a/docs/models/components/blockchain.md b/docs/models/components/blockchain.md index ed281843..1d09b781 100644 --- a/docs/models/components/blockchain.md +++ b/docs/models/components/blockchain.md @@ -6,11 +6,11 @@ import { Blockchain } from "@avalabs/avacloud-sdk/models/components"; let value: Blockchain = { - createBlockTimestamp: 9292.96, + createBlockTimestamp: 9527.49, createBlockNumber: "", - blockchainId: "", - vmId: "", - subnetId: "", + blockchainId: "", + vmId: "", + subnetId: "", blockchainName: "", }; ``` diff --git a/docs/models/components/blockchainids.md b/docs/models/components/blockchainids.md index ad58e0bb..bed9b870 100644 --- a/docs/models/components/blockchainids.md +++ b/docs/models/components/blockchainids.md @@ -5,7 +5,7 @@ ```typescript import { BlockchainIds } from "@avalabs/avacloud-sdk/models/components"; -let value: BlockchainIds = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"; +let value: BlockchainIds = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5"; ``` ## Values diff --git a/docs/models/components/blockchaininfo.md b/docs/models/components/blockchaininfo.md index 066b1090..c541a89f 100644 --- a/docs/models/components/blockchaininfo.md +++ b/docs/models/components/blockchaininfo.md @@ -6,7 +6,7 @@ import { BlockchainInfo } from "@avalabs/avacloud-sdk/models/components"; let value: BlockchainInfo = { - blockchainId: "", + blockchainId: "", }; ``` diff --git a/docs/models/components/cchainatomicbalances.md b/docs/models/components/cchainatomicbalances.md index 164cb35e..42c5195a 100644 --- a/docs/models/components/cchainatomicbalances.md +++ b/docs/models/components/cchainatomicbalances.md @@ -12,10 +12,10 @@ let value: CChainAtomicBalances = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], atomicMemoryLocked: [ @@ -24,10 +24,10 @@ let value: CChainAtomicBalances = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], }; diff --git a/docs/models/components/cchainexporttransaction.md b/docs/models/components/cchainexporttransaction.md index d13b988f..0266da8f 100644 --- a/docs/models/components/cchainexporttransaction.md +++ b/docs/models/components/cchainexporttransaction.md @@ -28,7 +28,7 @@ let value: CChainExportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -65,7 +65,7 @@ let value: CChainExportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", diff --git a/docs/models/components/cchainimporttransaction.md b/docs/models/components/cchainimporttransaction.md index a63e9cd9..d1b6383b 100644 --- a/docs/models/components/cchainimporttransaction.md +++ b/docs/models/components/cchainimporttransaction.md @@ -18,7 +18,7 @@ let value: CChainImportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -28,7 +28,7 @@ let value: CChainImportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], diff --git a/docs/models/components/cchainsharedassetbalance.md b/docs/models/components/cchainsharedassetbalance.md index 7a1c8b59..8dd5d855 100644 --- a/docs/models/components/cchainsharedassetbalance.md +++ b/docs/models/components/cchainsharedassetbalance.md @@ -10,10 +10,10 @@ let value: CChainSharedAssetBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }; ``` diff --git a/docs/models/components/chainaddresschainidmap.md b/docs/models/components/chainaddresschainidmap.md index 85b5435e..fb6aba92 100644 --- a/docs/models/components/chainaddresschainidmap.md +++ b/docs/models/components/chainaddresschainidmap.md @@ -6,7 +6,7 @@ import { ChainAddressChainIdMap } from "@avalabs/avacloud-sdk/models/components"; let value: ChainAddressChainIdMap = { - address: "9670 Blanche Forks", + address: "71721 Aufderhar Station", blockchainIds: [ "11111111111111111111111111111111LpoYY", ], diff --git a/docs/models/components/chainaddresschainidmaplistresponse.md b/docs/models/components/chainaddresschainidmaplistresponse.md index 597e0088..d6912848 100644 --- a/docs/models/components/chainaddresschainidmaplistresponse.md +++ b/docs/models/components/chainaddresschainidmaplistresponse.md @@ -8,7 +8,7 @@ import { ChainAddressChainIdMapListResponse } from "@avalabs/avacloud-sdk/models let value: ChainAddressChainIdMapListResponse = { addresses: [ { - address: "61138 Rodrigo Cliffs", + address: "40652 Botsford Neck", blockchainIds: [ "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp", ], diff --git a/docs/models/components/chaininfo.md b/docs/models/components/chaininfo.md index 88ab7b67..378f5685 100644 --- a/docs/models/components/chaininfo.md +++ b/docs/models/components/chaininfo.md @@ -6,12 +6,12 @@ import { ChainInfo } from "@avalabs/avacloud-sdk/models/components"; let value: ChainInfo = { - chainId: "", - status: "OK", + chainId: "", + status: "UNAVAILABLE", chainName: "", - description: "Organized neutral moratorium", + description: "down cross-contamination before enrage upside-down", vmName: "ETHEREUM", - rpcUrl: "", + rpcUrl: "https://hopeful-lay.org/", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/chainstatus.md b/docs/models/components/chainstatus.md index e2b596ea..60333733 100644 --- a/docs/models/components/chainstatus.md +++ b/docs/models/components/chainstatus.md @@ -7,7 +7,7 @@ Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for seve ```typescript import { ChainStatus } from "@avalabs/avacloud-sdk/models/components"; -let value: ChainStatus = "UNAVAILABLE"; +let value: ChainStatus = "OK"; ``` ## Values diff --git a/docs/models/components/collectiblebalances.md b/docs/models/components/collectiblebalances.md index d657d17c..d11efa23 100644 --- a/docs/models/components/collectiblebalances.md +++ b/docs/models/components/collectiblebalances.md @@ -1,36 +1,39 @@ # CollectibleBalances -## Example Usage -```typescript -import { CollectibleBalances } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types -let value: CollectibleBalances = { +### `components.Erc721TokenBalance` + +```typescript +const value: components.Erc721TokenBalance = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://palatable-permafrost.info/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "UNINDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", }; ``` -## Supported Types - -### `components.Erc721TokenBalance` - -```typescript -const value: components.Erc721TokenBalance = /* values here */ -``` - ### `components.Erc1155TokenBalance` ```typescript -const value: components.Erc1155TokenBalance = /* values here */ +const value: components.Erc1155TokenBalance = { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + ercType: "ERC-1155", + tokenId: "", + tokenUri: "https://selfish-pacemaker.net/", + metadata: { + indexStatus: "UNINDEXED", + }, + chainId: "43114", + balance: "2000000000000000000", +}; ``` diff --git a/docs/models/components/completeddelegatordetails.md b/docs/models/components/completeddelegatordetails.md index a7327e49..5ab408ce 100644 --- a/docs/models/components/completeddelegatordetails.md +++ b/docs/models/components/completeddelegatordetails.md @@ -7,14 +7,14 @@ import { CompletedDelegatorDetails } from "@avalabs/avacloud-sdk/models/componen let value: CompletedDelegatorDetails = { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 1354.74, - endTimestamp: 2982.82, + startTimestamp: 3599.78, + endTimestamp: 7299.91, grossReward: "", netReward: "", delegationStatus: "completed", diff --git a/docs/models/components/completedvalidatordetails.md b/docs/models/components/completedvalidatordetails.md index 39e5a98e..09bd20d2 100644 --- a/docs/models/components/completedvalidatordetails.md +++ b/docs/models/components/completedvalidatordetails.md @@ -7,12 +7,12 @@ import { CompletedValidatorDetails } from "@avalabs/avacloud-sdk/models/componen let value: CompletedValidatorDetails = { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 2487.53, - endTimestamp: 5761.57, - delegatorCount: 5920.42, + startTimestamp: 5743.25, + endTimestamp: 6532.01, + delegatorCount: 6521.03, rewards: { validationRewardAmount: "", delegationRewardAmount: "", diff --git a/docs/models/components/compositequeryrequestdto.md b/docs/models/components/compositequeryrequestdto.md index 0f8d313d..b66277f8 100644 --- a/docs/models/components/compositequeryrequestdto.md +++ b/docs/models/components/compositequeryrequestdto.md @@ -9,14 +9,16 @@ let value: CompositeQueryRequestDto = { queries: [ { id: "", - type: "LatestBalanceStarsArena", + type: "AllTimeNftHolders", params: { - minBalance: "", - subjectAddress: "", + firstDate: "", + lastDate: "", + evmChainId: "", + contractAddress: "", }, }, ], - operator: "OR", + operator: "AND", }; ``` diff --git a/docs/models/components/contracts.md b/docs/models/components/contracts.md index 90676921..ad172e51 100644 --- a/docs/models/components/contracts.md +++ b/docs/models/components/contracts.md @@ -1,44 +1,65 @@ # Contracts -## Example Usage -```typescript -import { Contracts } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types -let value: Contracts = { +### `components.Erc721Contract` + +```typescript +const value: components.Erc721Contract = { name: "Wrapped AVAX", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", deploymentDetails: { txHash: "", deployerAddress: "", }, - ercType: "UNKNOWN", + ercType: "ERC-721", + symbol: "WAVAX", }; ``` -## Supported Types - -### `components.Erc721Contract` - -```typescript -const value: components.Erc721Contract = /* values here */ -``` - ### `components.Erc1155Contract` ```typescript -const value: components.Erc1155Contract = /* values here */ +const value: components.Erc1155Contract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "ERC-1155", + symbol: "WAVAX", +}; ``` ### `components.Erc20Contract` ```typescript -const value: components.Erc20Contract = /* values here */ +const value: components.Erc20Contract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "ERC-20", + symbol: "WAVAX", + decimals: 18, +}; ``` ### `components.UnknownContract` ```typescript -const value: components.UnknownContract = /* values here */ +const value: components.UnknownContract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "UNKNOWN", +}; ``` diff --git a/docs/models/components/createprimarynetworktransactionexportrequest.md b/docs/models/components/createprimarynetworktransactionexportrequest.md index 48fe56ce..226c00b6 100644 --- a/docs/models/components/createprimarynetworktransactionexportrequest.md +++ b/docs/models/components/createprimarynetworktransactionexportrequest.md @@ -6,7 +6,7 @@ import { CreatePrimaryNetworkTransactionExportRequest } from "@avalabs/avacloud-sdk/models/components"; let value: CreatePrimaryNetworkTransactionExportRequest = { - type: "TRANSACTION_EXPORT_PRIMARY_NETWORK", + type: "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING", firstDate: "2023-05-01", lastDate: "2023-05-02", startDate: "2023-05-01", diff --git a/docs/models/components/createwebhookrequest.md b/docs/models/components/createwebhookrequest.md index 02ad29ab..ce7c174e 100644 --- a/docs/models/components/createwebhookrequest.md +++ b/docs/models/components/createwebhookrequest.md @@ -6,8 +6,8 @@ import { CreateWebhookRequest } from "@avalabs/avacloud-sdk/models/components"; let value: CreateWebhookRequest = { - url: "https://vain-archaeology.biz", - chainId: "", + url: "https://untried-coast.name/", + chainId: "", eventType: "address_activity", metadata: { addresses: [ diff --git a/docs/models/components/createwebhookrequestmetadata.md b/docs/models/components/createwebhookrequestmetadata.md index 73201db7..03e7ef4d 100644 --- a/docs/models/components/createwebhookrequestmetadata.md +++ b/docs/models/components/createwebhookrequestmetadata.md @@ -1,11 +1,12 @@ # CreateWebhookRequestMetadata -## Example Usage -```typescript -import { CreateWebhookRequestMetadata } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.AddressActivityMetadata` -let value: CreateWebhookRequestMetadata = { +```typescript +const value: components.AddressActivityMetadata = { addresses: [ "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", ], @@ -15,11 +16,3 @@ let value: CreateWebhookRequestMetadata = { }; ``` -## Supported Types - -### `components.AddressActivityMetadata` - -```typescript -const value: components.AddressActivityMetadata = /* values here */ -``` - diff --git a/docs/models/components/datalistchainsresponse.md b/docs/models/components/datalistchainsresponse.md index 1eab5a89..829f56ee 100644 --- a/docs/models/components/datalistchainsresponse.md +++ b/docs/models/components/datalistchainsresponse.md @@ -8,12 +8,12 @@ import { DataListChainsResponse } from "@avalabs/avacloud-sdk/models/components" let value: DataListChainsResponse = { chains: [ { - chainId: "", - status: "OK", + chainId: "", + status: "UNAVAILABLE", chainName: "", - description: "Ameliorated encompassing middleware", - vmName: "EVM", - rpcUrl: "", + description: "strait huge verbally knowledgeably knowledgeably upon hoot", + vmName: "BITCOIN", + rpcUrl: "https://scared-valley.info", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/daterangeerc20minbalanceparam.md b/docs/models/components/daterangeerc20minbalanceparam.md index 8090bb18..b3719a35 100644 --- a/docs/models/components/daterangeerc20minbalanceparam.md +++ b/docs/models/components/daterangeerc20minbalanceparam.md @@ -9,7 +9,7 @@ let value: DateRangeErc20MinBalanceParam = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", contractAddress: "", }; ``` diff --git a/docs/models/components/daterangeminbalanceparam.md b/docs/models/components/daterangeminbalanceparam.md index 77e74211..6faa72f4 100644 --- a/docs/models/components/daterangeminbalanceparam.md +++ b/docs/models/components/daterangeminbalanceparam.md @@ -9,7 +9,7 @@ let value: DateRangeMinBalanceParam = { firstDate: "", lastDate: "", minBalance: "", - evmChainId: "", + evmChainId: "", }; ``` diff --git a/docs/models/components/daterangenftholdersparam.md b/docs/models/components/daterangenftholdersparam.md index 80df6fb8..37ab7b23 100644 --- a/docs/models/components/daterangenftholdersparam.md +++ b/docs/models/components/daterangenftholdersparam.md @@ -8,7 +8,7 @@ import { DateRangeNftHoldersParam } from "@avalabs/avacloud-sdk/models/component let value: DateRangeNftHoldersParam = { firstDate: "", lastDate: "", - evmChainId: "", + evmChainId: "", contractAddress: "", }; ``` diff --git a/docs/models/components/delegators.md b/docs/models/components/delegators.md index 797abb32..43c7d79a 100644 --- a/docs/models/components/delegators.md +++ b/docs/models/components/delegators.md @@ -1,43 +1,62 @@ # Delegators -## Example Usage -```typescript -import { Delegators } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.ActiveDelegatorDetails` -let value: Delegators = { +```typescript +const value: components.ActiveDelegatorDetails = { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 3015.75, - endTimestamp: 6601.74, + startTimestamp: 4071.83, + endTimestamp: 691.67, estimatedGrossReward: "", estimatedNetReward: "", delegationStatus: "active", }; ``` -## Supported Types - -### `components.ActiveDelegatorDetails` - -```typescript -const value: components.ActiveDelegatorDetails = /* values here */ -``` - ### `components.PendingDelegatorDetails` ```typescript -const value: components.PendingDelegatorDetails = /* values here */ +const value: components.PendingDelegatorDetails = { + txHash: "", + nodeId: "", + rewardAddresses: [ + "", + ], + amountDelegated: "", + delegationFee: "", + startTimestamp: 6974.29, + endTimestamp: 4535.43, + estimatedGrossReward: "", + estimatedNetReward: "", + delegationStatus: "pending", +}; ``` ### `components.CompletedDelegatorDetails` ```typescript -const value: components.CompletedDelegatorDetails = /* values here */ +const value: components.CompletedDelegatorDetails = { + txHash: "", + nodeId: "", + rewardAddresses: [ + "", + ], + amountDelegated: "", + delegationFee: "", + startTimestamp: 7220.56, + endTimestamp: 8663.82, + grossReward: "", + netReward: "", + delegationStatus: "completed", +}; ``` diff --git a/docs/models/components/delegatorsdetails.md b/docs/models/components/delegatorsdetails.md index 1bd0cbe8..786ccdb4 100644 --- a/docs/models/components/delegatorsdetails.md +++ b/docs/models/components/delegatorsdetails.md @@ -6,7 +6,7 @@ import { DelegatorsDetails } from "@avalabs/avacloud-sdk/models/components"; let value: DelegatorsDetails = { - delegatorCount: 5666.01, + delegatorCount: 2487.53, totalAmountStaked: "", }; ``` diff --git a/docs/models/components/deliveredsourcenotindexedteleportermessage.md b/docs/models/components/deliveredsourcenotindexedteleportermessage.md index 869fb11f..6fd91e32 100644 --- a/docs/models/components/deliveredsourcenotindexedteleportermessage.md +++ b/docs/models/components/deliveredsourcenotindexedteleportermessage.md @@ -6,12 +6,12 @@ import { DeliveredSourceNotIndexedTeleporterMessage } from "@avalabs/avacloud-sdk/models/components"; let value: DeliveredSourceNotIndexedTeleporterMessage = { - messageId: "", + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -39,7 +39,7 @@ let value: DeliveredSourceNotIndexedTeleporterMessage = { }, destinationTransaction: { txHash: "", - timestamp: 9920.11, + timestamp: 610.79, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/components/deliveredteleportermessage.md b/docs/models/components/deliveredteleportermessage.md index 94c580a2..a7f82058 100644 --- a/docs/models/components/deliveredteleportermessage.md +++ b/docs/models/components/deliveredteleportermessage.md @@ -6,12 +6,12 @@ import { DeliveredTeleporterMessage } from "@avalabs/avacloud-sdk/models/components"; let value: DeliveredTeleporterMessage = { - messageId: "", + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -39,12 +39,12 @@ let value: DeliveredTeleporterMessage = { }, sourceTransaction: { txHash: "", - timestamp: 9689.72, + timestamp: 2473.99, gasSpent: "", }, destinationTransaction: { txHash: "", - timestamp: 9049.48, + timestamp: 396.16, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/components/enabledfeatures.md b/docs/models/components/enabledfeatures.md index 3f560b66..60c295a5 100644 --- a/docs/models/components/enabledfeatures.md +++ b/docs/models/components/enabledfeatures.md @@ -5,7 +5,7 @@ ```typescript import { EnabledFeatures } from "@avalabs/avacloud-sdk/models/components"; -let value: EnabledFeatures = "nftIndexing"; +let value: EnabledFeatures = "teleporter"; ``` ## Values diff --git a/docs/models/components/erc1155token.md b/docs/models/components/erc1155token.md index 2b39146f..84294244 100644 --- a/docs/models/components/erc1155token.md +++ b/docs/models/components/erc1155token.md @@ -8,10 +8,10 @@ import { Erc1155Token } from "@avalabs/avacloud-sdk/models/components"; let value: Erc1155Token = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://cheerful-peony.com/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "INVALID_TOKEN_URI", }, }; ``` diff --git a/docs/models/components/erc1155tokenbalance.md b/docs/models/components/erc1155tokenbalance.md index ae36f0b4..a6595ab7 100644 --- a/docs/models/components/erc1155tokenbalance.md +++ b/docs/models/components/erc1155tokenbalance.md @@ -8,10 +8,10 @@ import { Erc1155TokenBalance } from "@avalabs/avacloud-sdk/models/components"; let value: Erc1155TokenBalance = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://grim-vision.com/", metadata: { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "MISSING_TOKEN", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/erc1155tokenmetadata.md b/docs/models/components/erc1155tokenmetadata.md index c621dd58..2a7d3294 100644 --- a/docs/models/components/erc1155tokenmetadata.md +++ b/docs/models/components/erc1155tokenmetadata.md @@ -6,7 +6,7 @@ import { Erc1155TokenMetadata } from "@avalabs/avacloud-sdk/models/components"; let value: Erc1155TokenMetadata = { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "UNREACHABLE_TOKEN_URI", }; ``` diff --git a/docs/models/components/erc1155transfer.md b/docs/models/components/erc1155transfer.md index 68d71acf..3d704be1 100644 --- a/docs/models/components/erc1155transfer.md +++ b/docs/models/components/erc1155transfer.md @@ -27,15 +27,15 @@ let value: Erc1155Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 7505.95, + logIndex: 5181.50, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://hopeful-decision.com", metadata: { - indexStatus: "INVALID_TOKEN_URI_SCHEME", + indexStatus: "UNKNOWN", }, }, }; diff --git a/docs/models/components/erc1155transferdetails.md b/docs/models/components/erc1155transferdetails.md index 9e7fc9d6..cb4a33c7 100644 --- a/docs/models/components/erc1155transferdetails.md +++ b/docs/models/components/erc1155transferdetails.md @@ -22,15 +22,15 @@ let value: Erc1155TransferDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 1523.55, + logIndex: 4706.21, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://late-waterspout.info/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "INDEXED", }, }, }; diff --git a/docs/models/components/erc20transfer.md b/docs/models/components/erc20transfer.md index d4332b7a..3bdd0301 100644 --- a/docs/models/components/erc20transfer.md +++ b/docs/models/components/erc20transfer.md @@ -27,7 +27,7 @@ let value: Erc20Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3103.81, + logIndex: 291.90, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/erc20transferdetails.md b/docs/models/components/erc20transferdetails.md index 5a4b3a7e..44a1c5e9 100644 --- a/docs/models/components/erc20transferdetails.md +++ b/docs/models/components/erc20transferdetails.md @@ -22,7 +22,7 @@ let value: Erc20TransferDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3828.08, + logIndex: 7137.67, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/erc721token.md b/docs/models/components/erc721token.md index 701677ae..b68b4c70 100644 --- a/docs/models/components/erc721token.md +++ b/docs/models/components/erc721token.md @@ -10,10 +10,10 @@ let value: Erc721Token = { name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://dual-cod.name/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "INVALID_TOKEN_URI", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }; diff --git a/docs/models/components/erc721tokenbalance.md b/docs/models/components/erc721tokenbalance.md index 32f76fb2..db45d5ac 100644 --- a/docs/models/components/erc721tokenbalance.md +++ b/docs/models/components/erc721tokenbalance.md @@ -10,10 +10,10 @@ let value: Erc721TokenBalance = { name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://good-natured-platypus.com/", metadata: { - indexStatus: "INVALID_METADATA_JSON", + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/components/erc721tokenmetadata.md b/docs/models/components/erc721tokenmetadata.md index 05d57615..c6d10fb6 100644 --- a/docs/models/components/erc721tokenmetadata.md +++ b/docs/models/components/erc721tokenmetadata.md @@ -6,7 +6,7 @@ import { Erc721TokenMetadata } from "@avalabs/avacloud-sdk/models/components"; let value: Erc721TokenMetadata = { - indexStatus: "UNKNOWN", + indexStatus: "THROTTLED_TOKEN_URI", }; ``` diff --git a/docs/models/components/erc721transfer.md b/docs/models/components/erc721transfer.md index 53a86202..0a98f260 100644 --- a/docs/models/components/erc721transfer.md +++ b/docs/models/components/erc721transfer.md @@ -27,16 +27,16 @@ let value: Erc721Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3730.35, + logIndex: 5349.17, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://monstrous-fuel.biz/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "UNKNOWN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/erc721transferdetails.md b/docs/models/components/erc721transferdetails.md index 10d92213..44352a49 100644 --- a/docs/models/components/erc721transferdetails.md +++ b/docs/models/components/erc721transferdetails.md @@ -22,16 +22,16 @@ let value: Erc721TransferDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 1312.89, + logIndex: 1173.16, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://impractical-guard.net/", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/evmblock.md b/docs/models/components/evmblock.md index 5865b9b6..9c12ba23 100644 --- a/docs/models/components/evmblock.md +++ b/docs/models/components/evmblock.md @@ -10,7 +10,7 @@ let value: EvmBlock = { blockTimestamp: 1648672486, blockHash: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", - txCount: 4492.92, + txCount: 4322.81, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/evminput.md b/docs/models/components/evminput.md index c41c8f7d..8bac2bc8 100644 --- a/docs/models/components/evminput.md +++ b/docs/models/components/evminput.md @@ -12,7 +12,7 @@ let value: EVMInput = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, credentials: [ diff --git a/docs/models/components/fullnativetransactiondetails.md b/docs/models/components/fullnativetransactiondetails.md index 8afd6905..09729011 100644 --- a/docs/models/components/fullnativetransactiondetails.md +++ b/docs/models/components/fullnativetransactiondetails.md @@ -35,7 +35,7 @@ let value: FullNativeTransactionDetails = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CREATION", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/components/getchainresponse.md b/docs/models/components/getchainresponse.md index 53bdfff1..0bd6965c 100644 --- a/docs/models/components/getchainresponse.md +++ b/docs/models/components/getchainresponse.md @@ -6,12 +6,12 @@ import { GetChainResponse } from "@avalabs/avacloud-sdk/models/components"; let value: GetChainResponse = { - chainId: "", + chainId: "", status: "UNAVAILABLE", chainName: "", - description: "Versatile 24/7 open system", + description: "ecliptic make woot saw husband powerless pish and", vmName: "ETHEREUM", - rpcUrl: "", + rpcUrl: "https://tragic-mentor.info/", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/getchainresponseenabledfeatures.md b/docs/models/components/getchainresponseenabledfeatures.md index 6a7e96ce..09580c90 100644 --- a/docs/models/components/getchainresponseenabledfeatures.md +++ b/docs/models/components/getchainresponseenabledfeatures.md @@ -5,7 +5,7 @@ ```typescript import { GetChainResponseEnabledFeatures } from "@avalabs/avacloud-sdk/models/components"; -let value: GetChainResponseEnabledFeatures = "webhooks"; +let value: GetChainResponseEnabledFeatures = "teleporter"; ``` ## Values diff --git a/docs/models/components/getevmblockresponse.md b/docs/models/components/getevmblockresponse.md index 024812f8..a621d28b 100644 --- a/docs/models/components/getevmblockresponse.md +++ b/docs/models/components/getevmblockresponse.md @@ -10,7 +10,7 @@ let value: GetEvmBlockResponse = { blockTimestamp: 1648672486, blockHash: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", - txCount: 3044.68, + txCount: 5219.96, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/getnetworkdetailsresponse.md b/docs/models/components/getnetworkdetailsresponse.md index 260da41b..14c97524 100644 --- a/docs/models/components/getnetworkdetailsresponse.md +++ b/docs/models/components/getnetworkdetailsresponse.md @@ -7,20 +7,20 @@ import { GetNetworkDetailsResponse } from "@avalabs/avacloud-sdk/models/componen let value: GetNetworkDetailsResponse = { validatorDetails: { - validatorCount: 4142.63, + validatorCount: 2700.08, totalAmountStaked: "", estimatedAnnualStakingReward: "", stakingDistributionByVersion: [ { version: "", amountStaked: "", - validatorCount: 641.47, + validatorCount: 7351.94, }, ], stakingRatio: "", }, delegatorDetails: { - delegatorCount: 6924.72, + delegatorCount: 9621.89, totalAmountStaked: "", }, }; diff --git a/docs/models/components/getprimarynetworkblockresponse.md b/docs/models/components/getprimarynetworkblockresponse.md index 88fa9d71..ce810873 100644 --- a/docs/models/components/getprimarynetworkblockresponse.md +++ b/docs/models/components/getprimarynetworkblockresponse.md @@ -9,13 +9,13 @@ let value: GetPrimaryNetworkBlockResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 534.27, + blockTimestamp: 353.62, blockType: "", - txCount: 7255.94, + txCount: 4304.02, transactions: [ "", ], - blockSizeBytes: 114.27, + blockSizeBytes: 5100.17, }; ``` diff --git a/docs/models/components/gettransactionresponse.md b/docs/models/components/gettransactionresponse.md index 6cd2f501..085a85dc 100644 --- a/docs/models/components/gettransactionresponse.md +++ b/docs/models/components/gettransactionresponse.md @@ -24,7 +24,7 @@ let value: GetTransactionResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 8391.89, + logIndex: 7730.84, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -59,16 +59,16 @@ let value: GetTransactionResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 2377.42, + logIndex: 9587.41, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://celebrated-mountain.net/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "INDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -92,15 +92,15 @@ let value: GetTransactionResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 9425.84, + logIndex: 9358.32, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://impish-gloom.com", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "INVALID_METADATA", }, }, }, @@ -123,7 +123,7 @@ let value: GetTransactionResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "STATICCALL", + internalTxType: "CALLCODE", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/groupedby.md b/docs/models/components/groupedby.md index d18fa7a0..ff768a91 100644 --- a/docs/models/components/groupedby.md +++ b/docs/models/components/groupedby.md @@ -7,7 +7,7 @@ Column name used for data aggregation ```typescript import { GroupedBy } from "@avalabs/avacloud-sdk/models/components"; -let value: GroupedBy = "apiKeyId"; +let value: GroupedBy = "responseCode"; ``` ## Values diff --git a/docs/models/components/groupvalue.md b/docs/models/components/groupvalue.md index 31b94b5b..9bbaea64 100644 --- a/docs/models/components/groupvalue.md +++ b/docs/models/components/groupvalue.md @@ -2,25 +2,18 @@ The value of the column used for data aggregation -## Example Usage - -```typescript -import { GroupValue } from "@avalabs/avacloud-sdk/models/components"; - -let value: GroupValue = 6455.70; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `number` ```typescript -const value: number = /* values here */ +const value: number = 8490.38; ``` diff --git a/docs/models/components/historicalreward.md b/docs/models/components/historicalreward.md index 925ccda8..b5814760 100644 --- a/docs/models/components/historicalreward.md +++ b/docs/models/components/historicalreward.md @@ -11,12 +11,12 @@ let value: HistoricalReward = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 7486.64, - endTimestamp: 9037.20, - rewardType: "VALIDATOR", - utxoId: "", - outputIndex: 5521.92, + nodeId: "", + startTimestamp: 8621.92, + endTimestamp: 9729.19, + rewardType: "VALIDATOR_FEE", + utxoId: "", + outputIndex: 9065.55, reward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/components/includechains.md b/docs/models/components/includechains.md index c7317abc..6fd81f0e 100644 --- a/docs/models/components/includechains.md +++ b/docs/models/components/includechains.md @@ -5,7 +5,7 @@ ```typescript import { IncludeChains } from "@avalabs/avacloud-sdk/models/components"; -let value: IncludeChains = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"; +let value: IncludeChains = "p-chain"; ``` ## Values diff --git a/docs/models/components/internaltransaction.md b/docs/models/components/internaltransaction.md index d8a52bf1..99de59f6 100644 --- a/docs/models/components/internaltransaction.md +++ b/docs/models/components/internaltransaction.md @@ -27,7 +27,7 @@ let value: InternalTransaction = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "STATICCALL", + internalTxType: "CREATE", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/internaltransactiondetails.md b/docs/models/components/internaltransactiondetails.md index eb9aaa0a..d393da22 100644 --- a/docs/models/components/internaltransactiondetails.md +++ b/docs/models/components/internaltransactiondetails.md @@ -22,7 +22,7 @@ let value: InternalTransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "UNKNOWN", + internalTxType: "STATICCALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/internaltransactionopcall.md b/docs/models/components/internaltransactionopcall.md index 38bae5ee..1bbbb86e 100644 --- a/docs/models/components/internaltransactionopcall.md +++ b/docs/models/components/internaltransactionopcall.md @@ -5,7 +5,7 @@ ```typescript import { InternalTransactionOpCall } from "@avalabs/avacloud-sdk/models/components"; -let value: InternalTransactionOpCall = "CREATE"; +let value: InternalTransactionOpCall = "UNKNOWN"; ``` ## Values diff --git a/docs/models/components/latestbalanceparams.md b/docs/models/components/latestbalanceparams.md index 8c669984..74d3fe0c 100644 --- a/docs/models/components/latestbalanceparams.md +++ b/docs/models/components/latestbalanceparams.md @@ -7,7 +7,7 @@ import { LatestBalanceParams } from "@avalabs/avacloud-sdk/models/components"; let value: LatestBalanceParams = { minBalance: "", - evmChainId: "", + evmChainId: "", tokenType: "NATIVE", }; ``` diff --git a/docs/models/components/latestbalancequerydto.md b/docs/models/components/latestbalancequerydto.md index 2b7c2f7a..d894ee02 100644 --- a/docs/models/components/latestbalancequerydto.md +++ b/docs/models/components/latestbalancequerydto.md @@ -10,8 +10,8 @@ let value: LatestBalanceQueryDto = { type: "LatestBalance", params: { minBalance: "", - evmChainId: "", - tokenType: "NATIVE", + evmChainId: "", + tokenType: "ERC20", }, }; ``` diff --git a/docs/models/components/listblockchainsresponse.md b/docs/models/components/listblockchainsresponse.md index 1f59f257..e78d6160 100644 --- a/docs/models/components/listblockchainsresponse.md +++ b/docs/models/components/listblockchainsresponse.md @@ -8,11 +8,11 @@ import { ListBlockchainsResponse } from "@avalabs/avacloud-sdk/models/components let value: ListBlockchainsResponse = { blockchains: [ { - createBlockTimestamp: 5759.46, + createBlockTimestamp: 2230.82, createBlockNumber: "", - blockchainId: "", - vmId: "", - subnetId: "", + blockchainId: "", + vmId: "", + subnetId: "", blockchainName: "", }, ], diff --git a/docs/models/components/listcchainatomicbalancesresponse.md b/docs/models/components/listcchainatomicbalancesresponse.md index 5509dcf8..b66dedcd 100644 --- a/docs/models/components/listcchainatomicbalancesresponse.md +++ b/docs/models/components/listcchainatomicbalancesresponse.md @@ -16,7 +16,7 @@ let value: ListCChainAtomicBalancesResponse = { type: "nft", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], atomicMemoryLocked: [ @@ -25,15 +25,15 @@ let value: ListCChainAtomicBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], }, chainInfo: { - chainName: "p-chain", + chainName: "x-chain", network: "mainnet", }, }; diff --git a/docs/models/components/listcchainatomictransactionsresponse.md b/docs/models/components/listcchainatomictransactionsresponse.md index a1853527..026a4cf1 100644 --- a/docs/models/components/listcchainatomictransactionsresponse.md +++ b/docs/models/components/listcchainatomictransactionsresponse.md @@ -20,7 +20,7 @@ let value: ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -45,7 +45,7 @@ let value: ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, credentials: [ @@ -67,7 +67,7 @@ let value: ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -95,7 +95,7 @@ let value: ListCChainAtomicTransactionsResponse = { }, ], chainInfo: { - chainName: "x-chain", + chainName: "c-chain", network: "mainnet", }, }; diff --git a/docs/models/components/listcchainatomictransactionsresponsetransactions.md b/docs/models/components/listcchainatomictransactionsresponsetransactions.md index 4ec37949..975efec7 100644 --- a/docs/models/components/listcchainatomictransactionsresponsetransactions.md +++ b/docs/models/components/listcchainatomictransactionsresponsetransactions.md @@ -1,11 +1,101 @@ # ListCChainAtomicTransactionsResponseTransactions -## Example Usage + +## Supported Types + +### `components.CChainExportTransaction` ```typescript -import { ListCChainAtomicTransactionsResponseTransactions } from "@avalabs/avacloud-sdk/models/components"; +const value: components.CChainExportTransaction = { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + blockHeight: 1005, + blockHash: + "0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee", + timestamp: 1600762738, + memo: "0x546865204176616c616e6368652050726f6a656374", + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + txType: "ExportTx", + evmInputs: [ + { + fromAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], +}; +``` -let value: ListCChainAtomicTransactionsResponseTransactions = { +### `components.CChainImportTransaction` + +```typescript +const value: components.CChainImportTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", blockHeight: 1005, blockHash: @@ -28,7 +118,7 @@ let value: ListCChainAtomicTransactionsResponseTransactions = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -43,7 +133,7 @@ let value: ListCChainAtomicTransactionsResponseTransactions = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, }, @@ -84,17 +174,3 @@ let value: ListCChainAtomicTransactionsResponseTransactions = { }; ``` -## Supported Types - -### `components.CChainExportTransaction` - -```typescript -const value: components.CChainExportTransaction = /* values here */ -``` - -### `components.CChainImportTransaction` - -```typescript -const value: components.CChainImportTransaction = /* values here */ -``` - diff --git a/docs/models/components/listcollectiblebalancesresponse.md b/docs/models/components/listcollectiblebalancesresponse.md index 40863b47..1b53a155 100644 --- a/docs/models/components/listcollectiblebalancesresponse.md +++ b/docs/models/components/listcollectiblebalancesresponse.md @@ -10,10 +10,10 @@ let value: ListCollectibleBalancesResponse = { { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://rundown-fisherman.com", metadata: { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "UNKNOWN", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/listcontractsresponse.md b/docs/models/components/listcontractsresponse.md index 73e9dad3..c3747753 100644 --- a/docs/models/components/listcontractsresponse.md +++ b/docs/models/components/listcontractsresponse.md @@ -14,7 +14,9 @@ let value: ListContractsResponse = { txHash: "", deployerAddress: "", }, - ercType: "UNKNOWN", + ercType: "ERC-20", + symbol: "WAVAX", + decimals: 18, }, ], }; diff --git a/docs/models/components/listdelegatordetailsresponse.md b/docs/models/components/listdelegatordetailsresponse.md index 24c581a6..7505f9f2 100644 --- a/docs/models/components/listdelegatordetailsresponse.md +++ b/docs/models/components/listdelegatordetailsresponse.md @@ -9,17 +9,17 @@ let value: ListDelegatorDetailsResponse = { delegators: [ { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 6180.15, - endTimestamp: 4287.69, - estimatedGrossReward: "", - estimatedNetReward: "", - delegationStatus: "active", + startTimestamp: 8558.03, + endTimestamp: 117.14, + grossReward: "", + netReward: "", + delegationStatus: "completed", }, ], }; diff --git a/docs/models/components/listerc1155balancesresponse.md b/docs/models/components/listerc1155balancesresponse.md index 7deab55b..e6cb1721 100644 --- a/docs/models/components/listerc1155balancesresponse.md +++ b/docs/models/components/listerc1155balancesresponse.md @@ -10,10 +10,10 @@ let value: ListErc1155BalancesResponse = { { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://focused-descent.name/", metadata: { - indexStatus: "INDEXED", + indexStatus: "UNREACHABLE_TOKEN_URI", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/listerc1155transactionsresponse.md b/docs/models/components/listerc1155transactionsresponse.md index e47ff87f..e93c38fd 100644 --- a/docs/models/components/listerc1155transactionsresponse.md +++ b/docs/models/components/listerc1155transactionsresponse.md @@ -30,15 +30,15 @@ let value: ListErc1155TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 78.84, + logIndex: 1785.80, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://bossy-swine.net", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "UNINDEXED", }, }, }, diff --git a/docs/models/components/listerc20transactionsresponse.md b/docs/models/components/listerc20transactionsresponse.md index 2e14f6ef..0d018476 100644 --- a/docs/models/components/listerc20transactionsresponse.md +++ b/docs/models/components/listerc20transactionsresponse.md @@ -30,7 +30,7 @@ let value: ListErc20TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 2827.00, + logIndex: 2773.40, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/listerc721balancesresponse.md b/docs/models/components/listerc721balancesresponse.md index ea3439ef..8083fc4d 100644 --- a/docs/models/components/listerc721balancesresponse.md +++ b/docs/models/components/listerc721balancesresponse.md @@ -12,10 +12,10 @@ let value: ListErc721BalancesResponse = { name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://heavenly-instruction.info", metadata: { - indexStatus: "UNKNOWN", + indexStatus: "UNINDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/components/listerc721transactionsresponse.md b/docs/models/components/listerc721transactionsresponse.md index c33429bc..7ac3639a 100644 --- a/docs/models/components/listerc721transactionsresponse.md +++ b/docs/models/components/listerc721transactionsresponse.md @@ -30,16 +30,16 @@ let value: ListErc721TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 302.35, + logIndex: 5243.80, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://curly-archaeology.org/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNKNOWN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/listevmblocksresponse.md b/docs/models/components/listevmblocksresponse.md index dd97d7db..6cbc7306 100644 --- a/docs/models/components/listevmblocksresponse.md +++ b/docs/models/components/listevmblocksresponse.md @@ -12,7 +12,7 @@ let value: ListEvmBlocksResponse = { blockTimestamp: 1648672486, blockHash: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", - txCount: 1718.53, + txCount: 2419.02, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/listhistoricalrewardsresponse.md b/docs/models/components/listhistoricalrewardsresponse.md index 03fee5cb..6244655f 100644 --- a/docs/models/components/listhistoricalrewardsresponse.md +++ b/docs/models/components/listhistoricalrewardsresponse.md @@ -13,18 +13,18 @@ let value: ListHistoricalRewardsResponse = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 1448.48, - endTimestamp: 4880.56, + nodeId: "", + startTimestamp: 8221.18, + endTimestamp: 1898.48, rewardType: "DELEGATOR", - utxoId: "", - outputIndex: 9404.32, + utxoId: "", + outputIndex: 2243.17, reward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", historicalPrice: { currencyCode: "usd", diff --git a/docs/models/components/listnativetransactionsresponse.md b/docs/models/components/listnativetransactionsresponse.md index c771e436..05e8a6ef 100644 --- a/docs/models/components/listnativetransactionsresponse.md +++ b/docs/models/components/listnativetransactionsresponse.md @@ -38,7 +38,7 @@ let value: ListNativeTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CALL", + callType: "CONTRACT_CREATION", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/components/listnfttokens.md b/docs/models/components/listnfttokens.md index 2c6b9da8..2e0f517e 100644 --- a/docs/models/components/listnfttokens.md +++ b/docs/models/components/listnfttokens.md @@ -12,10 +12,10 @@ let value: ListNftTokens = { name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://heavy-middle.info/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "UNINDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/listpchainbalancesresponse.md b/docs/models/components/listpchainbalancesresponse.md index bd11f78a..53b83603 100644 --- a/docs/models/components/listpchainbalancesresponse.md +++ b/docs/models/components/listpchainbalancesresponse.md @@ -35,7 +35,7 @@ let value: ListPChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, }, @@ -68,7 +68,7 @@ let value: ListPChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -92,7 +92,7 @@ let value: ListPChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, sharedWithChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -101,8 +101,8 @@ let value: ListPChainBalancesResponse = { ], }, chainInfo: { - chainName: "c-chain", - network: "fuji", + chainName: "p-chain", + network: "mainnet", }, }; ``` diff --git a/docs/models/components/listpchaintransactionsresponse.md b/docs/models/components/listpchaintransactionsresponse.md index ea2c038f..19c201f3 100644 --- a/docs/models/components/listpchaintransactionsresponse.md +++ b/docs/models/components/listpchaintransactionsresponse.md @@ -9,7 +9,7 @@ let value: ListPChainTransactionsResponse = { transactions: [ { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "RemoveSubnetValidatorTx", + txType: "CreateSubnetTx", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -32,11 +32,11 @@ let value: ListPChainTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "311.94", - assetId: "", + amount: "185.63", + assetId: "", blockNumber: "", - blockTimestamp: 3982.21, - outputIndex: 2098.44, + blockTimestamp: 9527.92, + outputIndex: 6874.88, txHash: "", utxoType: "STAKE", }, @@ -60,13 +60,13 @@ let value: ListPChainTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "739.55", - assetId: "", + amount: "730.86", + assetId: "", blockNumber: "", - blockTimestamp: 4904.59, - outputIndex: 2274.15, + blockTimestamp: 2539.42, + outputIndex: 2133.12, txHash: "", - utxoType: "STAKE", + utxoType: "TRANSFER", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -111,7 +111,7 @@ let value: ListPChainTransactionsResponse = { }, ], chainInfo: { - chainName: "c-chain", + chainName: "x-chain", network: "mainnet", }, }; diff --git a/docs/models/components/listpchainutxosresponse.md b/docs/models/components/listpchainutxosresponse.md index 480efd4c..0477a417 100644 --- a/docs/models/components/listpchainutxosresponse.md +++ b/docs/models/components/listpchainutxosresponse.md @@ -23,18 +23,18 @@ let value: ListPChainUtxosResponse = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "240.83", - assetId: "", + amount: "407.24", + assetId: "", blockNumber: "", - blockTimestamp: 1002.94, - outputIndex: 164.30, + blockTimestamp: 2322.34, + outputIndex: 1324.88, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }, ], chainInfo: { chainName: "c-chain", - network: "fuji", + network: "mainnet", }, }; ``` diff --git a/docs/models/components/listpendingrewardsresponse.md b/docs/models/components/listpendingrewardsresponse.md index 3325a8a0..8592d82a 100644 --- a/docs/models/components/listpendingrewardsresponse.md +++ b/docs/models/components/listpendingrewardsresponse.md @@ -13,11 +13,11 @@ let value: ListPendingRewardsResponse = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 2776.29, - endTimestamp: 5867.84, - rewardType: "VALIDATOR_FEE", - progress: 1175.32, + nodeId: "", + startTimestamp: 6178.77, + endTimestamp: 132.37, + rewardType: "DELEGATOR", + progress: 1481.41, estimatedReward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/components/listprimarynetworkblocksresponse.md b/docs/models/components/listprimarynetworkblocksresponse.md index 5fad5133..efbe5f43 100644 --- a/docs/models/components/listprimarynetworkblocksresponse.md +++ b/docs/models/components/listprimarynetworkblocksresponse.md @@ -11,18 +11,18 @@ let value: ListPrimaryNetworkBlocksResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 7705.81, + blockTimestamp: 5361.77, blockType: "", - txCount: 1469.47, + txCount: 6813.93, transactions: [ "", ], - blockSizeBytes: 795.22, + blockSizeBytes: 2775.96, }, ], chainInfo: { chainName: "p-chain", - network: "fuji", + network: "mainnet", }, }; ``` diff --git a/docs/models/components/listsubnetsresponse.md b/docs/models/components/listsubnetsresponse.md index ee18dd6f..ef78cd3e 100644 --- a/docs/models/components/listsubnetsresponse.md +++ b/docs/models/components/listsubnetsresponse.md @@ -8,14 +8,14 @@ import { ListSubnetsResponse } from "@avalabs/avacloud-sdk/models/components"; let value: ListSubnetsResponse = { subnets: [ { - createBlockTimestamp: 3185.69, + createBlockTimestamp: 4471.25, createBlockIndex: "", - subnetId: "", + subnetId: "", ownerAddresses: [ "", ], - threshold: 6674.10, - locktime: 1317.98, + threshold: 8464.09, + locktime: 6994.79, subnetOwnershipInfo: { locktime: 0, threshold: 1, @@ -25,7 +25,7 @@ let value: ListSubnetsResponse = { }, blockchains: [ { - blockchainId: "", + blockchainId: "", }, ], }, diff --git a/docs/models/components/listteleportermessagesresponse.md b/docs/models/components/listteleportermessagesresponse.md index 26c26067..783c2b13 100644 --- a/docs/models/components/listteleportermessagesresponse.md +++ b/docs/models/components/listteleportermessagesresponse.md @@ -8,12 +8,12 @@ import { ListTeleporterMessagesResponse } from "@avalabs/avacloud-sdk/models/com let value: ListTeleporterMessagesResponse = { messages: [ { - messageId: "", + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -41,12 +41,12 @@ let value: ListTeleporterMessagesResponse = { }, sourceTransaction: { txHash: "", - timestamp: 2334.20, + timestamp: 5289.40, gasSpent: "", }, destinationTransaction: { txHash: "", - timestamp: 6897.68, + timestamp: 3044.46, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/components/listtransactiondetailsresponse.md b/docs/models/components/listtransactiondetailsresponse.md index 214b4b79..b266d28c 100644 --- a/docs/models/components/listtransactiondetailsresponse.md +++ b/docs/models/components/listtransactiondetailsresponse.md @@ -39,7 +39,7 @@ let value: ListTransactionDetailsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CREATION", + callType: "NATIVE_TRANSFER", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, @@ -63,7 +63,7 @@ let value: ListTransactionDetailsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 8623.19, + logIndex: 1000.14, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -98,16 +98,16 @@ let value: ListTransactionDetailsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 486.90, + logIndex: 2650.40, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://big-stool.com/", metadata: { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -131,15 +131,15 @@ let value: ListTransactionDetailsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 4461.36, + logIndex: 7734.56, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://crowded-councilman.info/", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "THROTTLED_TOKEN_URI", }, }, }, diff --git a/docs/models/components/listtransfersresponse.md b/docs/models/components/listtransfersresponse.md index 99ec887f..893ba0e5 100644 --- a/docs/models/components/listtransfersresponse.md +++ b/docs/models/components/listtransfersresponse.md @@ -30,18 +30,20 @@ let value: ListTransfersResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 2484.13, - erc721Token: { + logIndex: 8671.67, + value: "10000000000000000000", + erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", - ercType: "ERC-721", - tokenId: "", - tokenUri: "", - metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + ercType: "ERC-20", + price: { + currencyCode: "usd", + value: 42.42, }, - ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, }, ], diff --git a/docs/models/components/listutxosresponse.md b/docs/models/components/listutxosresponse.md index 939d0825..6c3dba11 100644 --- a/docs/models/components/listutxosresponse.md +++ b/docs/models/components/listutxosresponse.md @@ -16,7 +16,7 @@ let value: ListUtxosResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -40,7 +40,7 @@ let value: ListUtxosResponse = { }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }; diff --git a/docs/models/components/listvalidatordetailsresponse.md b/docs/models/components/listvalidatordetailsresponse.md index 5c5c23ef..89704d3d 100644 --- a/docs/models/components/listvalidatordetailsresponse.md +++ b/docs/models/components/listvalidatordetailsresponse.md @@ -9,17 +9,12 @@ let value: ListValidatorDetailsResponse = { validators: [ { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 2700.08, - endTimestamp: 7351.94, - delegatorCount: 9621.89, - rewards: { - validationRewardAmount: "", - delegationRewardAmount: "", - }, - validationStatus: "completed", + startTimestamp: 5699.65, + endTimestamp: 5908.73, + validationStatus: "pending", }, ], }; diff --git a/docs/models/components/listwebhookaddressesresponse.md b/docs/models/components/listwebhookaddressesresponse.md index 47bf23e4..af179353 100644 --- a/docs/models/components/listwebhookaddressesresponse.md +++ b/docs/models/components/listwebhookaddressesresponse.md @@ -9,7 +9,7 @@ let value: ListWebhookAddressesResponse = { addresses: [ "", ], - totalAddresses: 3485.19, + totalAddresses: 4402.64, }; ``` diff --git a/docs/models/components/listwebhooksresponse.md b/docs/models/components/listwebhooksresponse.md index 3b19d70b..e2ebfd2f 100644 --- a/docs/models/components/listwebhooksresponse.md +++ b/docs/models/components/listwebhooksresponse.md @@ -18,12 +18,12 @@ let value: ListWebhooksResponse = { "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64", ], }, - url: "https://damp-packaging.info/", - chainId: "", - status: "inactive", - createdAt: 653.04, + url: "https://next-dredger.info/", + chainId: "", + status: "active", + createdAt: 2484.13, name: "", - description: "Seamless discrete contingency", + description: "tough duh neat topsail as readily including", }, ], }; diff --git a/docs/models/components/listxchainbalancesresponse.md b/docs/models/components/listxchainbalancesresponse.md index c041d1fb..dfcdcc14 100644 --- a/docs/models/components/listxchainbalancesresponse.md +++ b/docs/models/components/listxchainbalancesresponse.md @@ -24,7 +24,7 @@ let value: ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -35,10 +35,10 @@ let value: ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], atomicMemoryLocked: [ @@ -47,15 +47,15 @@ let value: ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], }, chainInfo: { - chainName: "p-chain", + chainName: "x-chain", network: "fuji", }, }; diff --git a/docs/models/components/listxchaintransactionsresponse.md b/docs/models/components/listxchaintransactionsresponse.md index ce9a3fe3..9a14fa9f 100644 --- a/docs/models/components/listxchaintransactionsresponse.md +++ b/docs/models/components/listxchaintransactionsresponse.md @@ -11,7 +11,7 @@ let value: ListXChainTransactionsResponse = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "CreateAssetTx", + txType: "ImportTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -23,7 +23,7 @@ let value: ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -58,7 +58,7 @@ let value: ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: @@ -89,7 +89,7 @@ let value: ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -99,7 +99,7 @@ let value: ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -110,9 +110,9 @@ let value: ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", createdAtTimestamp: 1675444720, - cap: "fixed", + cap: "variable", }, blockHeight: 1005, blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", @@ -120,7 +120,7 @@ let value: ListXChainTransactionsResponse = { ], chainInfo: { chainName: "c-chain", - network: "mainnet", + network: "fuji", }, }; ``` diff --git a/docs/models/components/listxchainverticesresponse.md b/docs/models/components/listxchainverticesresponse.md index 77eddbf0..ecd4132e 100644 --- a/docs/models/components/listxchainverticesresponse.md +++ b/docs/models/components/listxchainverticesresponse.md @@ -12,19 +12,19 @@ let value: ListXChainVerticesResponse = { parentHashes: [ "", ], - vertexHeight: 8605.51, - vertexIndex: 7270.44, - vertexTimestamp: 2703.28, - txCount: 1314.83, + vertexHeight: 5438.06, + vertexIndex: 4569.11, + vertexTimestamp: 8820.41, + txCount: 4586.04, transactions: [ "", ], - vertexSizeBytes: 553.74, + vertexSizeBytes: 7241.68, }, ], chainInfo: { - chainName: "p-chain", - network: "mainnet", + chainName: "x-chain", + network: "fuji", }, }; ``` diff --git a/docs/models/components/logsformat.md b/docs/models/components/logsformat.md index dfde419e..cb1e6f9c 100644 --- a/docs/models/components/logsformat.md +++ b/docs/models/components/logsformat.md @@ -6,20 +6,20 @@ import { LogsFormat } from "@avalabs/avacloud-sdk/models/components"; let value: LogsFormat = { - orgId: "", - logId: "", - eventTimestamp: 4012.60, - apiKeyId: "", + orgId: "", + logId: "", + eventTimestamp: 2531.91, + apiKeyId: "", apiKeyAlias: "", hostRegion: "", - requestType: "rpc", + requestType: "data", requestPath: "", - apiCreditsConsumed: 996.15, - requestDurationMsecs: 9453.02, - responseCode: 8694.89, + apiCreditsConsumed: 120.36, + requestDurationMsecs: 1154.84, + responseCode: 6184.80, metadata: { - ipAddress: "83.59.157.8", - host: "aggravating-horde.com", + ipAddress: "f83e:af1b:65e5:eb9c:6f97:ce15:7bff:d6f5", + host: "cautious-unit.biz", userAgent: "", }, }; diff --git a/docs/models/components/logsformatmetadata.md b/docs/models/components/logsformatmetadata.md index bd59900c..d3e14d61 100644 --- a/docs/models/components/logsformatmetadata.md +++ b/docs/models/components/logsformatmetadata.md @@ -6,8 +6,8 @@ import { LogsFormatMetadata } from "@avalabs/avacloud-sdk/models/components"; let value: LogsFormatMetadata = { - ipAddress: "56.64.33.3", - host: "clean-octave.org", + ipAddress: "1ad5:88a5:396c:5bed:deaf:ff91:6392:d8df", + host: "negative-drug.name", userAgent: "", }; ``` diff --git a/docs/models/components/logsresponsedto.md b/docs/models/components/logsresponsedto.md index e8dadb06..84c5cdf8 100644 --- a/docs/models/components/logsresponsedto.md +++ b/docs/models/components/logsresponsedto.md @@ -6,23 +6,23 @@ import { LogsResponseDTO } from "@avalabs/avacloud-sdk/models/components"; let value: LogsResponseDTO = { - orgId: "", + orgId: "", logs: [ { - orgId: "", - logId: "", - eventTimestamp: 9564.06, - apiKeyId: "", + orgId: "", + logId: "", + eventTimestamp: 996.15, + apiKeyId: "", apiKeyAlias: "", hostRegion: "", - requestType: "data", + requestType: "rpc", requestPath: "", - apiCreditsConsumed: 9039.84, - requestDurationMsecs: 5438.06, - responseCode: 4569.11, + apiCreditsConsumed: 8694.89, + requestDurationMsecs: 4541.62, + responseCode: 3267.01, metadata: { - ipAddress: "af8d:ff7a:d53b:fadc:aecc:db3d:8195:c0f7", - host: "hard-to-find-adviser.biz", + ipAddress: "157.8.3.109", + host: "black-director.biz", userAgent: "", }, }, diff --git a/docs/models/components/messages.md b/docs/models/components/messages.md index 78a3ccce..d0f85537 100644 --- a/docs/models/components/messages.md +++ b/docs/models/components/messages.md @@ -1,17 +1,18 @@ # Messages -## Example Usage -```typescript -import { Messages } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.PendingTeleporterMessage` -let value: Messages = { - messageId: "", +```typescript +const value: components.PendingTeleporterMessage = { + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -39,24 +40,61 @@ let value: Messages = { }, sourceTransaction: { txHash: "", - timestamp: 1059.06, + timestamp: 9077.33, gasSpent: "", }, status: "pending", }; ``` -## Supported Types - -### `components.PendingTeleporterMessage` - -```typescript -const value: components.PendingTeleporterMessage = /* values here */ -``` - ### `components.DeliveredTeleporterMessage` ```typescript -const value: components.DeliveredTeleporterMessage = /* values here */ +const value: components.DeliveredTeleporterMessage = { + messageId: "", + teleporterContractAddress: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", + messageNonce: "", + from: "", + to: "", + messageExecuted: false, + receipts: [ + { + receivedMessageNonce: "", + relayerRewardAddress: "", + }, + ], + receiptDelivered: false, + rewardDetails: { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + ercType: "ERC-20", + price: { + currencyCode: "usd", + value: 42.42, + }, + value: "", + }, + sourceTransaction: { + txHash: "", + timestamp: 7398.84, + gasSpent: "", + }, + destinationTransaction: { + txHash: "", + timestamp: 8980.62, + gasSpent: "", + rewardRedeemer: "", + delivererAddress: "", + }, + status: "delivered", +}; ``` diff --git a/docs/models/components/metadata.md b/docs/models/components/metadata.md index c81b91ae..acbec440 100644 --- a/docs/models/components/metadata.md +++ b/docs/models/components/metadata.md @@ -1,18 +1,11 @@ # Metadata -## Example Usage - -```typescript -import { Metadata } from "@avalabs/avacloud-sdk/models/components"; - -let value: Metadata = {}; -``` ## Supported Types ### `components.TransactionExportMetadata` ```typescript -const value: components.TransactionExportMetadata = /* values here */ +const value: components.TransactionExportMetadata = {}; ``` diff --git a/docs/models/components/method.md b/docs/models/components/method.md index bb37bfdb..be4ecf67 100644 --- a/docs/models/components/method.md +++ b/docs/models/components/method.md @@ -6,7 +6,7 @@ import { Method } from "@avalabs/avacloud-sdk/models/components"; let value: Method = { - callType: "CONTRACT_CREATION", + callType: "NATIVE_TRANSFER", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }; diff --git a/docs/models/components/metric.md b/docs/models/components/metric.md index 45267663..c68d82f1 100644 --- a/docs/models/components/metric.md +++ b/docs/models/components/metric.md @@ -6,17 +6,17 @@ import { Metric } from "@avalabs/avacloud-sdk/models/components"; let value: Metric = { - timestamp: 2728.22, + timestamp: 5757.51, values: [ { - groupedBy: "chainId", - totalRequests: 1970.54, - requestsPerSecond: 4598.56, - successRatePercent: 446.12, - medianResponseTimeMsecs: 7997.96, - invalidRequests: 769.56, - apiCreditsUsed: 5188.35, - apiCreditsWasted: 3068.10, + groupedBy: "requestType", + totalRequests: 9088.44, + requestsPerSecond: 8155.24, + successRatePercent: 1594.14, + medianResponseTimeMsecs: 6288.98, + invalidRequests: 3984.34, + apiCreditsUsed: 627.13, + apiCreditsWasted: 4240.32, }, ], }; diff --git a/docs/models/components/nativetransaction.md b/docs/models/components/nativetransaction.md index dbff893b..4ec49db3 100644 --- a/docs/models/components/nativetransaction.md +++ b/docs/models/components/nativetransaction.md @@ -35,7 +35,7 @@ let value: NativeTransaction = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CREATION", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/components/nfttokenmetadatastatus.md b/docs/models/components/nfttokenmetadatastatus.md index 9c5f1642..5a751a21 100644 --- a/docs/models/components/nfttokenmetadatastatus.md +++ b/docs/models/components/nfttokenmetadatastatus.md @@ -7,7 +7,7 @@ The metadata indexing status of the nft. ```typescript import { NftTokenMetadataStatus } from "@avalabs/avacloud-sdk/models/components"; -let value: NftTokenMetadataStatus = "INVALID_METADATA"; +let value: NftTokenMetadataStatus = "INVALID_TOKEN_URI"; ``` ## Values diff --git a/docs/models/components/operationstatus.md b/docs/models/components/operationstatus.md index 85153e2e..04ebdd90 100644 --- a/docs/models/components/operationstatus.md +++ b/docs/models/components/operationstatus.md @@ -5,7 +5,7 @@ ```typescript import { OperationStatus } from "@avalabs/avacloud-sdk/models/components"; -let value: OperationStatus = "FAILED"; +let value: OperationStatus = "COMPLETED"; ``` ## Values diff --git a/docs/models/components/operationstatuscode.md b/docs/models/components/operationstatuscode.md index ea886ed9..8d259d97 100644 --- a/docs/models/components/operationstatuscode.md +++ b/docs/models/components/operationstatuscode.md @@ -5,7 +5,7 @@ ```typescript import { OperationStatusCode } from "@avalabs/avacloud-sdk/models/components"; -let value: OperationStatusCode = "ErrInternal"; +let value: OperationStatusCode = "WarnTruncatedExport"; ``` ## Values diff --git a/docs/models/components/operationstatusresponse.md b/docs/models/components/operationstatusresponse.md index ebd181ef..e8baa356 100644 --- a/docs/models/components/operationstatusresponse.md +++ b/docs/models/components/operationstatusresponse.md @@ -6,12 +6,12 @@ import { OperationStatusResponse } from "@avalabs/avacloud-sdk/models/components"; let value: OperationStatusResponse = { - operationId: "", - operationType: "TRANSACTION_EXPORT_PRIMARY_NETWORK", - operationStatus: "COMPLETED", + operationId: "", + operationType: "TRANSACTION_EXPORT_EVM", + operationStatus: "RUNNING", metadata: {}, - createdAtTimestamp: 3637.11, - updatedAtTimestamp: 5701.97, + createdAtTimestamp: 8379.45, + updatedAtTimestamp: 960.98, }; ``` diff --git a/docs/models/components/operationtype.md b/docs/models/components/operationtype.md index fcba13ab..8bfde07d 100644 --- a/docs/models/components/operationtype.md +++ b/docs/models/components/operationtype.md @@ -5,7 +5,7 @@ ```typescript import { OperationType } from "@avalabs/avacloud-sdk/models/components"; -let value: OperationType = "TRANSACTION_EXPORT_PRIMARY_NETWORK"; +let value: OperationType = "TRANSACTION_EXPORT_EVM"; ``` ## Values diff --git a/docs/models/components/operator.md b/docs/models/components/operator.md index b6b5ab68..773f6a9f 100644 --- a/docs/models/components/operator.md +++ b/docs/models/components/operator.md @@ -5,7 +5,7 @@ ```typescript import { Operator } from "@avalabs/avacloud-sdk/models/components"; -let value: Operator = "AND"; +let value: Operator = "OR"; ``` ## Values diff --git a/docs/models/components/params.md b/docs/models/components/params.md index e979fd62..454071c3 100644 --- a/docs/models/components/params.md +++ b/docs/models/components/params.md @@ -1,29 +1,27 @@ # Params -## Example Usage - -```typescript -import { Params } from "@avalabs/avacloud-sdk/models/components"; - -let value: Params = { - firstDate: "", - lastDate: "", - evmChainId: "", - contractAddress: "", -}; -``` ## Supported Types ### `components.TimestampRangeNftHoldersParam` ```typescript -const value: components.TimestampRangeNftHoldersParam = /* values here */ +const value: components.TimestampRangeNftHoldersParam = { + evmChainId: "", + contractAddress: "", + startTs: 1433.53, + endTs: 9446.69, +}; ``` ### `components.DateRangeNftHoldersParam` ```typescript -const value: components.DateRangeNftHoldersParam = /* values here */ +const value: components.DateRangeNftHoldersParam = { + firstDate: "", + lastDate: "", + evmChainId: "", + contractAddress: "", +}; ``` diff --git a/docs/models/components/pchainbalance.md b/docs/models/components/pchainbalance.md index 77c05c26..29c5eb0b 100644 --- a/docs/models/components/pchainbalance.md +++ b/docs/models/components/pchainbalance.md @@ -12,7 +12,7 @@ let value: PChainBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, }, @@ -34,7 +34,7 @@ let value: PChainBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, }, @@ -56,7 +56,7 @@ let value: PChainBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -91,7 +91,7 @@ let value: PChainBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, sharedWithChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", diff --git a/docs/models/components/pchainlookingglassresponse.md b/docs/models/components/pchainlookingglassresponse.md index 606ce31f..e7bae3b5 100644 --- a/docs/models/components/pchainlookingglassresponse.md +++ b/docs/models/components/pchainlookingglassresponse.md @@ -6,12 +6,14 @@ import { PChainLookingGlassResponse } from "@avalabs/avacloud-sdk/models/components"; let value: PChainLookingGlassResponse = { - addresses: { - addresses: [ - "avax1abcdef1234567890abcdef1234567890abcdef", - ], - sortKey: "123", - }, + addresses: [ + { + addresses: [ + "avax1abcdef1234567890abcdef1234567890abcdef", + ], + sortKey: "123", + }, + ], }; ``` @@ -20,4 +22,4 @@ let value: PChainLookingGlassResponse = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | `nextPageToken` | *string* | :heavy_minus_sign: | A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. | -| `addresses` | [components.PChainAddressDetails](../../models/components/pchainaddressdetails.md) | :heavy_check_mark: | List of addresses that match provided criteria. | \ No newline at end of file +| `addresses` | [components.PChainAddressDetails](../../models/components/pchainaddressdetails.md)[] | :heavy_check_mark: | List of addresses that match provided criteria. | \ No newline at end of file diff --git a/docs/models/components/pchainsharedasset.md b/docs/models/components/pchainsharedasset.md index 0201c198..3f4cd4fa 100644 --- a/docs/models/components/pchainsharedasset.md +++ b/docs/models/components/pchainsharedasset.md @@ -10,7 +10,7 @@ let value: PChainSharedAsset = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, sharedWithChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", diff --git a/docs/models/components/pchaintransaction.md b/docs/models/components/pchaintransaction.md index 877db7b5..0134fc92 100644 --- a/docs/models/components/pchaintransaction.md +++ b/docs/models/components/pchaintransaction.md @@ -7,7 +7,7 @@ import { PChainTransaction } from "@avalabs/avacloud-sdk/models/components"; let value: PChainTransaction = { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "TransformSubnetTx", + txType: "AddValidatorTx", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -21,18 +21,18 @@ let value: PChainTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "896.55", - assetId: "", + amount: "223.92", + assetId: "", blockNumber: "", - blockTimestamp: 3675.62, - outputIndex: 4358.65, + blockTimestamp: 3453.52, + outputIndex: 9280.81, txHash: "", utxoType: "TRANSFER", }, @@ -47,20 +47,20 @@ let value: PChainTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "703.89", - assetId: "", + amount: "164.69", + assetId: "", blockNumber: "", - blockTimestamp: 1002.27, - outputIndex: 9194.83, + blockTimestamp: 6214.78, + outputIndex: 5772.29, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -81,7 +81,7 @@ let value: PChainTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], diff --git a/docs/models/components/pchaintransactiontype.md b/docs/models/components/pchaintransactiontype.md index e36b6e62..7b0b84dd 100644 --- a/docs/models/components/pchaintransactiontype.md +++ b/docs/models/components/pchaintransactiontype.md @@ -5,7 +5,7 @@ ```typescript import { PChainTransactionType } from "@avalabs/avacloud-sdk/models/components"; -let value: PChainTransactionType = "AddPermissionlessValidatorTx"; +let value: PChainTransactionType = "AdvanceTimeTx"; ``` ## Values diff --git a/docs/models/components/pchainutxo.md b/docs/models/components/pchainutxo.md index 4ecc25c0..e0a40f88 100644 --- a/docs/models/components/pchainutxo.md +++ b/docs/models/components/pchainutxo.md @@ -21,13 +21,13 @@ let value: PChainUtxo = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "123.82", - assetId: "", + amount: "311.94", + assetId: "", blockNumber: "", - blockTimestamp: 8480.08, - outputIndex: 8073.19, + blockTimestamp: 3982.21, + outputIndex: 2098.44, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }; ``` diff --git a/docs/models/components/pendingdelegatordetails.md b/docs/models/components/pendingdelegatordetails.md index 5cacbd96..61133ae7 100644 --- a/docs/models/components/pendingdelegatordetails.md +++ b/docs/models/components/pendingdelegatordetails.md @@ -7,14 +7,14 @@ import { PendingDelegatorDetails } from "@avalabs/avacloud-sdk/models/components let value: PendingDelegatorDetails = { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 5743.25, - endTimestamp: 6532.01, + startTimestamp: 543.38, + endTimestamp: 1999.97, estimatedGrossReward: "", estimatedNetReward: "", delegationStatus: "pending", diff --git a/docs/models/components/pendingreward.md b/docs/models/components/pendingreward.md index 60e93f0b..b5e4de44 100644 --- a/docs/models/components/pendingreward.md +++ b/docs/models/components/pendingreward.md @@ -11,11 +11,11 @@ let value: PendingReward = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 1320.68, - endTimestamp: 7168.60, + nodeId: "", + startTimestamp: 4783.70, + endTimestamp: 4973.91, rewardType: "DELEGATOR", - progress: 5654.21, + progress: 3685.85, estimatedReward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/components/pendingteleportermessage.md b/docs/models/components/pendingteleportermessage.md index 3c8ca2d6..54fb69bf 100644 --- a/docs/models/components/pendingteleportermessage.md +++ b/docs/models/components/pendingteleportermessage.md @@ -6,12 +6,12 @@ import { PendingTeleporterMessage } from "@avalabs/avacloud-sdk/models/components"; let value: PendingTeleporterMessage = { - messageId: "", + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -39,7 +39,7 @@ let value: PendingTeleporterMessage = { }, sourceTransaction: { txHash: "", - timestamp: 8149.66, + timestamp: 764.87, gasSpent: "", }, status: "pending", diff --git a/docs/models/components/pendingvalidatordetails.md b/docs/models/components/pendingvalidatordetails.md index f62a158a..73b0069d 100644 --- a/docs/models/components/pendingvalidatordetails.md +++ b/docs/models/components/pendingvalidatordetails.md @@ -7,11 +7,11 @@ import { PendingValidatorDetails } from "@avalabs/avacloud-sdk/models/components let value: PendingValidatorDetails = { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 7252.54, - endTimestamp: 5013.24, + startTimestamp: 1624.93, + endTimestamp: 6155.60, validationStatus: "pending", }; ``` diff --git a/docs/models/components/primarynetwork.md b/docs/models/components/primarynetwork.md index 49efe03e..c1fc4f7e 100644 --- a/docs/models/components/primarynetwork.md +++ b/docs/models/components/primarynetwork.md @@ -5,7 +5,7 @@ ```typescript import { PrimaryNetwork } from "@avalabs/avacloud-sdk/models/components"; -let value: PrimaryNetwork = "mainnet"; +let value: PrimaryNetwork = "fuji"; ``` ## Values diff --git a/docs/models/components/primarynetworkblock.md b/docs/models/components/primarynetworkblock.md index 817a678d..04b9b24b 100644 --- a/docs/models/components/primarynetworkblock.md +++ b/docs/models/components/primarynetworkblock.md @@ -9,13 +9,13 @@ let value: PrimaryNetworkBlock = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 2453.67, + blockTimestamp: 9564.06, blockType: "", - txCount: 4205.39, + txCount: 1871.31, transactions: [ "", ], - blockSizeBytes: 5573.69, + blockSizeBytes: 9039.84, }; ``` diff --git a/docs/models/components/primarynetworkchaininfo.md b/docs/models/components/primarynetworkchaininfo.md index a6144c68..8444eb47 100644 --- a/docs/models/components/primarynetworkchaininfo.md +++ b/docs/models/components/primarynetworkchaininfo.md @@ -7,7 +7,7 @@ import { PrimaryNetworkChainInfo } from "@avalabs/avacloud-sdk/models/components let value: PrimaryNetworkChainInfo = { chainName: "p-chain", - network: "mainnet", + network: "fuji", }; ``` diff --git a/docs/models/components/primarynetworkchainname.md b/docs/models/components/primarynetworkchainname.md index 96b8f89c..a9454354 100644 --- a/docs/models/components/primarynetworkchainname.md +++ b/docs/models/components/primarynetworkchainname.md @@ -5,7 +5,7 @@ ```typescript import { PrimaryNetworkChainName } from "@avalabs/avacloud-sdk/models/components"; -let value: PrimaryNetworkChainName = "c-chain"; +let value: PrimaryNetworkChainName = "p-chain"; ``` ## Values diff --git a/docs/models/components/primarynetworkoperationtype.md b/docs/models/components/primarynetworkoperationtype.md index 75451991..0a8770a4 100644 --- a/docs/models/components/primarynetworkoperationtype.md +++ b/docs/models/components/primarynetworkoperationtype.md @@ -5,8 +5,7 @@ ```typescript import { PrimaryNetworkOperationType } from "@avalabs/avacloud-sdk/models/components"; -let value: PrimaryNetworkOperationType = - "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING"; +let value: PrimaryNetworkOperationType = "TRANSACTION_EXPORT_PRIMARY_NETWORK"; ``` ## Values diff --git a/docs/models/components/primarynetworktxtype.md b/docs/models/components/primarynetworktxtype.md index 43a23dd6..f4e27e94 100644 --- a/docs/models/components/primarynetworktxtype.md +++ b/docs/models/components/primarynetworktxtype.md @@ -5,7 +5,7 @@ ```typescript import { PrimaryNetworkTxType } from "@avalabs/avacloud-sdk/models/components"; -let value: PrimaryNetworkTxType = "RewardValidatorTx"; +let value: PrimaryNetworkTxType = "UNKNOWN"; ``` ## Values diff --git a/docs/models/components/queries.md b/docs/models/components/queries.md index 7b441940..a3b2cba1 100644 --- a/docs/models/components/queries.md +++ b/docs/models/components/queries.md @@ -1,81 +1,154 @@ # Queries -## Example Usage -```typescript -import { Queries } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types -let value: Queries = { +### `components.AllTimeNativeBalanceQueryDto` + +```typescript +const value: components.AllTimeNativeBalanceQueryDto = { id: "", - type: "AnyTimeStarsArenaBalance", + type: "AllTimeNativeBalance", params: { firstDate: "", lastDate: "", minBalance: "", - subjectAddress: "", + evmChainId: "", }, }; ``` -## Supported Types - -### `components.AllTimeNativeBalanceQueryDto` - -```typescript -const value: components.AllTimeNativeBalanceQueryDto = /* values here */ -``` - ### `components.AnyTimeNativeBalanceQueryDto` ```typescript -const value: components.AnyTimeNativeBalanceQueryDto = /* values here */ +const value: components.AnyTimeNativeBalanceQueryDto = { + id: "", + type: "AnyTimeNativeBalance", + params: { + firstDate: "", + lastDate: "", + minBalance: "", + evmChainId: "", + }, +}; ``` ### `components.AllTimeErc20BalanceQueryDto` ```typescript -const value: components.AllTimeErc20BalanceQueryDto = /* values here */ +const value: components.AllTimeErc20BalanceQueryDto = { + id: "", + type: "AllTimeErc20Balance", + params: { + firstDate: "", + lastDate: "", + minBalance: "", + evmChainId: "", + contractAddress: "", + }, +}; ``` ### `components.AnyTimeErc20BalanceQueryDto` ```typescript -const value: components.AnyTimeErc20BalanceQueryDto = /* values here */ +const value: components.AnyTimeErc20BalanceQueryDto = { + id: "", + type: "AnyTimeErc20Balance", + params: { + firstDate: "", + lastDate: "", + minBalance: "", + evmChainId: "", + contractAddress: "", + }, +}; ``` ### `components.AllTimeNftHoldersQueryDto` ```typescript -const value: components.AllTimeNftHoldersQueryDto = /* values here */ +const value: components.AllTimeNftHoldersQueryDto = { + id: "", + type: "AllTimeNftHolders", + params: { + firstDate: "", + lastDate: "", + evmChainId: "", + contractAddress: "", + }, +}; ``` ### `components.AnyTimeNftHoldersQueryDto` ```typescript -const value: components.AnyTimeNftHoldersQueryDto = /* values here */ +const value: components.AnyTimeNftHoldersQueryDto = { + id: "", + type: "AnyTimeNftHolders", + params: { + firstDate: "", + lastDate: "", + evmChainId: "", + contractAddress: "", + }, +}; ``` ### `components.LatestBalanceQueryDto` ```typescript -const value: components.LatestBalanceQueryDto = /* values here */ +const value: components.LatestBalanceQueryDto = { + id: "", + type: "LatestBalance", + params: { + minBalance: "", + evmChainId: "", + tokenType: "NATIVE", + }, +}; ``` ### `components.AllTimeStarsArenaBalanceQueryDto` ```typescript -const value: components.AllTimeStarsArenaBalanceQueryDto = /* values here */ +const value: components.AllTimeStarsArenaBalanceQueryDto = { + id: "", + type: "AllTimeStarsArenaBalance", + params: { + firstDate: "", + lastDate: "", + minBalance: "", + subjectAddress: "", + }, +}; ``` ### `components.AnyTimeStarsArenaBalanceQueryDto` ```typescript -const value: components.AnyTimeStarsArenaBalanceQueryDto = /* values here */ +const value: components.AnyTimeStarsArenaBalanceQueryDto = { + id: "", + type: "AnyTimeStarsArenaBalance", + params: { + firstDate: "", + lastDate: "", + minBalance: "", + subjectAddress: "", + }, +}; ``` ### `components.LatestStarsArenaBalanceQueryDto` ```typescript -const value: components.LatestStarsArenaBalanceQueryDto = /* values here */ +const value: components.LatestStarsArenaBalanceQueryDto = { + id: "", + type: "LatestBalanceStarsArena", + params: { + minBalance: "", + subjectAddress: "", + }, +}; ``` diff --git a/docs/models/components/removedvalidatordetails.md b/docs/models/components/removedvalidatordetails.md index 3bd2f129..55be3b39 100644 --- a/docs/models/components/removedvalidatordetails.md +++ b/docs/models/components/removedvalidatordetails.md @@ -7,13 +7,13 @@ import { RemovedValidatorDetails } from "@avalabs/avacloud-sdk/models/components let value: RemovedValidatorDetails = { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 9560.84, - endTimestamp: 6439.90, + startTimestamp: 1238.20, + endTimestamp: 8480.08, removeTxHash: "", - removeTimestamp: 4238.55, + removeTimestamp: 8073.19, validationStatus: "removed", }; ``` diff --git a/docs/models/components/resourcelink.md b/docs/models/components/resourcelink.md index 46f10dbb..d1a03430 100644 --- a/docs/models/components/resourcelink.md +++ b/docs/models/components/resourcelink.md @@ -6,8 +6,8 @@ import { ResourceLink } from "@avalabs/avacloud-sdk/models/components"; let value: ResourceLink = { - type: "Medium", - url: "https://pale-technician.info/", + type: "Instagram", + url: "https://pleasing-begonia.net/", }; ``` diff --git a/docs/models/components/resourcelinktype.md b/docs/models/components/resourcelinktype.md index f8b638d3..3c454fcd 100644 --- a/docs/models/components/resourcelinktype.md +++ b/docs/models/components/resourcelinktype.md @@ -5,7 +5,7 @@ ```typescript import { ResourceLinkType } from "@avalabs/avacloud-sdk/models/components"; -let value: ResourceLinkType = "Medium"; +let value: ResourceLinkType = "Support"; ``` ## Values diff --git a/docs/models/components/rewardtype.md b/docs/models/components/rewardtype.md index 9fcaa549..97854a60 100644 --- a/docs/models/components/rewardtype.md +++ b/docs/models/components/rewardtype.md @@ -5,7 +5,7 @@ ```typescript import { RewardType } from "@avalabs/avacloud-sdk/models/components"; -let value: RewardType = "VALIDATOR"; +let value: RewardType = "VALIDATOR_FEE"; ``` ## Values diff --git a/docs/models/components/sortbyoption.md b/docs/models/components/sortbyoption.md index 5a8c85c2..2f1c57b5 100644 --- a/docs/models/components/sortbyoption.md +++ b/docs/models/components/sortbyoption.md @@ -5,7 +5,7 @@ ```typescript import { SortByOption } from "@avalabs/avacloud-sdk/models/components"; -let value: SortByOption = "delegationFee"; +let value: SortByOption = "timeRemaining"; ``` ## Values diff --git a/docs/models/components/stakingdistribution.md b/docs/models/components/stakingdistribution.md index 151437bf..46a8ae00 100644 --- a/docs/models/components/stakingdistribution.md +++ b/docs/models/components/stakingdistribution.md @@ -8,7 +8,7 @@ import { StakingDistribution } from "@avalabs/avacloud-sdk/models/components"; let value: StakingDistribution = { version: "", amountStaked: "", - validatorCount: 939.41, + validatorCount: 5722.52, }; ``` diff --git a/docs/models/components/subnet.md b/docs/models/components/subnet.md index c1ac22ea..f73e9bde 100644 --- a/docs/models/components/subnet.md +++ b/docs/models/components/subnet.md @@ -6,14 +6,14 @@ import { Subnet } from "@avalabs/avacloud-sdk/models/components"; let value: Subnet = { - createBlockTimestamp: 7163.27, + createBlockTimestamp: 2974.37, createBlockIndex: "", - subnetId: "", + subnetId: "", ownerAddresses: [ "", ], - threshold: 2894.06, - locktime: 1831.91, + threshold: 8137.98, + locktime: 3965.06, subnetOwnershipInfo: { locktime: 0, threshold: 1, @@ -23,7 +23,7 @@ let value: Subnet = { }, blockchains: [ { - blockchainId: "", + blockchainId: "", }, ], }; diff --git a/docs/models/components/teleporterdestinationtransaction.md b/docs/models/components/teleporterdestinationtransaction.md index f9b5afde..b91dd2f8 100644 --- a/docs/models/components/teleporterdestinationtransaction.md +++ b/docs/models/components/teleporterdestinationtransaction.md @@ -7,7 +7,7 @@ import { TeleporterDestinationTransaction } from "@avalabs/avacloud-sdk/models/c let value: TeleporterDestinationTransaction = { txHash: "", - timestamp: 2965.56, + timestamp: 599.44, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/components/teleportermessageinfo.md b/docs/models/components/teleportermessageinfo.md index 799e2ea6..e76f8845 100644 --- a/docs/models/components/teleportermessageinfo.md +++ b/docs/models/components/teleportermessageinfo.md @@ -6,8 +6,8 @@ import { TeleporterMessageInfo } from "@avalabs/avacloud-sdk/models/components"; let value: TeleporterMessageInfo = { - teleporterMessageId: "", - direction: "DESTINATION_TRANSACTION", + teleporterMessageId: "", + direction: "SOURCE_TRANSACTION", }; ``` diff --git a/docs/models/components/teleportersourcetransaction.md b/docs/models/components/teleportersourcetransaction.md index 224a5c25..50d093ce 100644 --- a/docs/models/components/teleportersourcetransaction.md +++ b/docs/models/components/teleportersourcetransaction.md @@ -7,7 +7,7 @@ import { TeleporterSourceTransaction } from "@avalabs/avacloud-sdk/models/compon let value: TeleporterSourceTransaction = { txHash: "", - timestamp: 9854.91, + timestamp: 6964.63, gasSpent: "", }; ``` diff --git a/docs/models/components/timestamprangenftholdersparam.md b/docs/models/components/timestamprangenftholdersparam.md index 807b46c7..c39d05ce 100644 --- a/docs/models/components/timestamprangenftholdersparam.md +++ b/docs/models/components/timestamprangenftholdersparam.md @@ -6,10 +6,10 @@ import { TimestampRangeNftHoldersParam } from "@avalabs/avacloud-sdk/models/components"; let value: TimestampRangeNftHoldersParam = { - evmChainId: "", + evmChainId: "", contractAddress: "", - startTs: 9446.69, - endTs: 5218.48, + startTs: 4146.62, + endTs: 2645.56, }; ``` diff --git a/docs/models/components/tokens.md b/docs/models/components/tokens.md index 7de60153..0317ce81 100644 --- a/docs/models/components/tokens.md +++ b/docs/models/components/tokens.md @@ -1,32 +1,36 @@ # Tokens -## Example Usage - -```typescript -import { Tokens } from "@avalabs/avacloud-sdk/models/components"; - -let value: Tokens = { - address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - ercType: "ERC-1155", - tokenId: "", - tokenUri: "", - metadata: { - indexStatus: "INVALID_METADATA", - }, -}; -``` ## Supported Types ### `components.Erc721Token` ```typescript -const value: components.Erc721Token = /* values here */ +const value: components.Erc721Token = { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + name: "Wrapped AVAX", + symbol: "WAVAX", + ercType: "ERC-721", + tokenId: "", + tokenUri: "https://wavy-pleasure.info", + metadata: { + indexStatus: "UNREACHABLE_TOKEN_URI", + }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", +}; ``` ### `components.Erc1155Token` ```typescript -const value: components.Erc1155Token = /* values here */ +const value: components.Erc1155Token = { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + ercType: "ERC-1155", + tokenId: "", + tokenUri: "https://basic-piglet.net", + metadata: { + indexStatus: "INVALID_TOKEN_URI", + }, +}; ``` diff --git a/docs/models/components/transactiondetails.md b/docs/models/components/transactiondetails.md index 2d4a83c7..978d3313 100644 --- a/docs/models/components/transactiondetails.md +++ b/docs/models/components/transactiondetails.md @@ -61,7 +61,7 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 6805.14, + logIndex: 7510.22, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -96,14 +96,14 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 6223.84, + logIndex: 9272.12, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://unlined-grandson.org/", metadata: { indexStatus: "INVALID_METADATA", }, @@ -129,15 +129,15 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 2049.24, + logIndex: 9873.49, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://hefty-knight.info", metadata: { - indexStatus: "INVALID_TOKEN_URI_SCHEME", + indexStatus: "UNREACHABLE_TOKEN_URI", }, }, }, @@ -160,7 +160,7 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CALLCODE", + internalTxType: "CALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/transactiondirectiontype.md b/docs/models/components/transactiondirectiontype.md index d6c4f67e..e6af0e06 100644 --- a/docs/models/components/transactiondirectiontype.md +++ b/docs/models/components/transactiondirectiontype.md @@ -5,7 +5,7 @@ ```typescript import { TransactionDirectionType } from "@avalabs/avacloud-sdk/models/components"; -let value: TransactionDirectionType = "DESTINATION_TRANSACTION"; +let value: TransactionDirectionType = "SOURCE_TRANSACTION"; ``` ## Values diff --git a/docs/models/components/transactionmethodtype.md b/docs/models/components/transactionmethodtype.md index 26545062..92233b43 100644 --- a/docs/models/components/transactionmethodtype.md +++ b/docs/models/components/transactionmethodtype.md @@ -7,7 +7,7 @@ The contract call type. NATIVE_TRANSFER indicates a transfer of the native token ```typescript import { TransactionMethodType } from "@avalabs/avacloud-sdk/models/components"; -let value: TransactionMethodType = "CONTRACT_CALL"; +let value: TransactionMethodType = "NATIVE_TRANSFER"; ``` ## Values diff --git a/docs/models/components/transactions.md b/docs/models/components/transactions.md index 3bf58393..0493f9fc 100644 --- a/docs/models/components/transactions.md +++ b/docs/models/components/transactions.md @@ -1,11 +1,12 @@ # Transactions -## Example Usage -```typescript -import { Transactions } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.XChainNonLinearTransaction` -let value: Transactions = { +```typescript +const value: components.XChainNonLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, @@ -21,7 +22,7 @@ let value: Transactions = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -118,17 +119,114 @@ let value: Transactions = { }; ``` -## Supported Types - -### `components.XChainNonLinearTransaction` - -```typescript -const value: components.XChainNonLinearTransaction = /* values here */ -``` - ### `components.XChainLinearTransaction` ```typescript -const value: components.XChainLinearTransaction = /* values here */ +const value: components.XChainLinearTransaction = { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + chainFormat: "non-linear", + timestamp: 1600762738, + txType: "OperationTx", + memo: "0x546865204176616c616e6368652050726f6a656374", + consumedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + assetCreated: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + createdAtTimestamp: 1675444720, + cap: "fixed", + }, + blockHeight: 1005, + blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", +}; ``` diff --git a/docs/models/components/transactionstatus.md b/docs/models/components/transactionstatus.md index c87f7e2a..985ab988 100644 --- a/docs/models/components/transactionstatus.md +++ b/docs/models/components/transactionstatus.md @@ -5,7 +5,7 @@ ```typescript import { TransactionStatus } from "@avalabs/avacloud-sdk/models/components"; -let value: TransactionStatus = "failed"; +let value: TransactionStatus = "success"; ``` ## Values diff --git a/docs/models/components/transfers.md b/docs/models/components/transfers.md index ed1d4855..2f248b0d 100644 --- a/docs/models/components/transfers.md +++ b/docs/models/components/transfers.md @@ -1,11 +1,12 @@ # Transfers -## Example Usage -```typescript -import { Transfers } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types -let value: Transfers = { +### `components.Erc20Transfer` + +```typescript +const value: components.Erc20Transfer = { blockNumber: "339", blockTimestamp: 1648672486, blockHash: @@ -27,7 +28,7 @@ let value: Transfers = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 4554.44, + logIndex: 7263.42, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -45,23 +46,83 @@ let value: Transfers = { }; ``` -## Supported Types - -### `components.Erc20Transfer` - -```typescript -const value: components.Erc20Transfer = /* values here */ -``` - ### `components.Erc721Transfer` ```typescript -const value: components.Erc721Transfer = /* values here */ +const value: components.Erc721Transfer = { + blockNumber: "339", + blockTimestamp: 1648672486, + blockHash: + "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", + txHash: "0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4", + from: { + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + }, + to: { + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + }, + logIndex: 5369.23, + erc721Token: { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + name: "Wrapped AVAX", + symbol: "WAVAX", + ercType: "ERC-721", + tokenId: "", + tokenUri: "https://impressive-haircut.biz/", + metadata: { + indexStatus: "UNKNOWN", + }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + }, +}; ``` ### `components.Erc1155Transfer` ```typescript -const value: components.Erc1155Transfer = /* values here */ +const value: components.Erc1155Transfer = { + blockNumber: "339", + blockTimestamp: 1648672486, + blockHash: + "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", + txHash: "0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4", + from: { + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + }, + to: { + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + }, + logIndex: 7372.54, + value: "10000000000000000000", + erc1155Token: { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + ercType: "ERC-1155", + tokenId: "", + tokenUri: "https://petty-pressure.name/", + metadata: { + indexStatus: "UNINDEXED", + }, + }, +}; ``` diff --git a/docs/models/components/usagemetricsresponsedto.md b/docs/models/components/usagemetricsresponsedto.md index 0153cc54..21175f93 100644 --- a/docs/models/components/usagemetricsresponsedto.md +++ b/docs/models/components/usagemetricsresponsedto.md @@ -7,20 +7,20 @@ import { UsageMetricsResponseDTO } from "@avalabs/avacloud-sdk/models/components let value: UsageMetricsResponseDTO = { aggregateDuration: "", - orgId: "", + orgId: "", metrics: [ { - timestamp: 1811.51, + timestamp: 2400.20, values: [ { - groupedBy: "requestType", - totalRequests: 568.48, - requestsPerSecond: 6969.97, - successRatePercent: 7786.95, - medianResponseTimeMsecs: 7774.08, - invalidRequests: 2594.23, - apiCreditsUsed: 3738.13, - apiCreditsWasted: 5876.00, + groupedBy: "requestPath", + totalRequests: 7963.91, + requestsPerSecond: 9591.67, + successRatePercent: 4581.39, + medianResponseTimeMsecs: 5909.84, + invalidRequests: 8577.23, + apiCreditsUsed: 4572.23, + apiCreditsWasted: 9518.74, }, ], }, diff --git a/docs/models/components/usagemetricsvaluedto.md b/docs/models/components/usagemetricsvaluedto.md index 0105db88..2b351afe 100644 --- a/docs/models/components/usagemetricsvaluedto.md +++ b/docs/models/components/usagemetricsvaluedto.md @@ -7,13 +7,13 @@ import { UsageMetricsValueDTO } from "@avalabs/avacloud-sdk/models/components"; let value: UsageMetricsValueDTO = { groupedBy: "requestPath", - totalRequests: 4304.02, - requestsPerSecond: 5100.17, - successRatePercent: 5361.77, - medianResponseTimeMsecs: 6813.93, - invalidRequests: 2775.96, - apiCreditsUsed: 1288.61, - apiCreditsWasted: 3926.76, + totalRequests: 9589.83, + requestsPerSecond: 3553.69, + successRatePercent: 3567.07, + medianResponseTimeMsecs: 163.29, + invalidRequests: 1852.32, + apiCreditsUsed: 4012.60, + apiCreditsWasted: 9292.91, }; ``` diff --git a/docs/models/components/utxo.md b/docs/models/components/utxo.md index 1530f488..e67aea87 100644 --- a/docs/models/components/utxo.md +++ b/docs/models/components/utxo.md @@ -14,7 +14,7 @@ let value: Utxo = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", diff --git a/docs/models/components/utxotype.md b/docs/models/components/utxotype.md index 61b122b9..69ca52fb 100644 --- a/docs/models/components/utxotype.md +++ b/docs/models/components/utxotype.md @@ -5,7 +5,7 @@ ```typescript import { UtxoType } from "@avalabs/avacloud-sdk/models/components"; -let value: UtxoType = "STAKE"; +let value: UtxoType = "TRANSFER"; ``` ## Values diff --git a/docs/models/components/validatorhealthdetails.md b/docs/models/components/validatorhealthdetails.md index 29d1fcb1..33eda137 100644 --- a/docs/models/components/validatorhealthdetails.md +++ b/docs/models/components/validatorhealthdetails.md @@ -6,10 +6,10 @@ import { ValidatorHealthDetails } from "@avalabs/avacloud-sdk/models/components"; let value: ValidatorHealthDetails = { - reachabilityPercent: 8811.03, - benchedPChainRequestsPercent: 5812.73, - benchedXChainRequestsPercent: 8817.35, - benchedCChainRequestsPercent: 6925.32, + reachabilityPercent: 7142.41, + benchedPChainRequestsPercent: 9988.47, + benchedXChainRequestsPercent: 1494.48, + benchedCChainRequestsPercent: 8681.26, }; ``` diff --git a/docs/models/components/validators.md b/docs/models/components/validators.md index ee512c26..574c669f 100644 --- a/docs/models/components/validators.md +++ b/docs/models/components/validators.md @@ -1,49 +1,81 @@ # Validators -## Example Usage -```typescript -import { Validators } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.ActiveValidatorDetails` -let value: Validators = { +```typescript +const value: components.ActiveValidatorDetails = { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 201.08, - endTimestamp: 8289.40, - delegatorCount: 46.95, - rewards: { + startTimestamp: 8811.03, + endTimestamp: 5812.73, + stakePercentage: 8817.35, + delegatorCount: 6925.32, + uptimePerformance: 7252.54, + potentialRewards: { validationRewardAmount: "", delegationRewardAmount: "", }, - validationStatus: "completed", + validationStatus: "active", + validatorHealth: { + reachabilityPercent: 5013.24, + benchedPChainRequestsPercent: 9560.84, + benchedXChainRequestsPercent: 6439.90, + benchedCChainRequestsPercent: 4238.55, + }, }; ``` -## Supported Types - -### `components.ActiveValidatorDetails` - -```typescript -const value: components.ActiveValidatorDetails = /* values here */ -``` - ### `components.PendingValidatorDetails` ```typescript -const value: components.PendingValidatorDetails = /* values here */ +const value: components.PendingValidatorDetails = { + txHash: "", + nodeId: "", + subnetId: "", + amountStaked: "", + startTimestamp: 6063.93, + endTimestamp: 191.93, + validationStatus: "pending", +}; ``` ### `components.CompletedValidatorDetails` ```typescript -const value: components.CompletedValidatorDetails = /* values here */ +const value: components.CompletedValidatorDetails = { + txHash: "", + nodeId: "", + subnetId: "", + amountStaked: "", + startTimestamp: 3015.75, + endTimestamp: 6601.74, + delegatorCount: 2900.78, + rewards: { + validationRewardAmount: "", + delegationRewardAmount: "", + }, + validationStatus: "completed", +}; ``` ### `components.RemovedValidatorDetails` ```typescript -const value: components.RemovedValidatorDetails = /* values here */ +const value: components.RemovedValidatorDetails = { + txHash: "", + nodeId: "", + subnetId: "", + amountStaked: "", + startTimestamp: 6180.15, + endTimestamp: 4287.69, + removeTxHash: "", + removeTimestamp: 1354.74, + validationStatus: "removed", +}; ``` diff --git a/docs/models/components/validatorsdetails.md b/docs/models/components/validatorsdetails.md index b88a41db..83e0abd6 100644 --- a/docs/models/components/validatorsdetails.md +++ b/docs/models/components/validatorsdetails.md @@ -6,14 +6,14 @@ import { ValidatorsDetails } from "@avalabs/avacloud-sdk/models/components"; let value: ValidatorsDetails = { - validatorCount: 2653.89, + validatorCount: 5761.57, totalAmountStaked: "", estimatedAnnualStakingReward: "", stakingDistributionByVersion: [ { version: "", amountStaked: "", - validatorCount: 5232.48, + validatorCount: 5920.42, }, ], stakingRatio: "", diff --git a/docs/models/components/vmname.md b/docs/models/components/vmname.md index 1e3d8d13..830d5311 100644 --- a/docs/models/components/vmname.md +++ b/docs/models/components/vmname.md @@ -5,7 +5,7 @@ ```typescript import { VmName } from "@avalabs/avacloud-sdk/models/components"; -let value: VmName = "EVM"; +let value: VmName = "ETHEREUM"; ``` ## Values diff --git a/docs/models/components/webhookresponse.md b/docs/models/components/webhookresponse.md index 270b197a..763c825a 100644 --- a/docs/models/components/webhookresponse.md +++ b/docs/models/components/webhookresponse.md @@ -16,12 +16,12 @@ let value: WebhookResponse = { "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64", ], }, - url: "https://expensive-pick.name", - chainId: "", - status: "active", - createdAt: 5546.88, + url: "https://squeaky-brace.info/", + chainId: "", + status: "inactive", + createdAt: 6939.56, name: "", - description: "Face to face next generation groupware", + description: "within wiggly huzzah", }; ``` diff --git a/docs/models/components/webhookresponsemetadata.md b/docs/models/components/webhookresponsemetadata.md index 23348dba..f00c7e90 100644 --- a/docs/models/components/webhookresponsemetadata.md +++ b/docs/models/components/webhookresponsemetadata.md @@ -1,11 +1,12 @@ # WebhookResponseMetadata -## Example Usage -```typescript -import { WebhookResponseMetadata } from "@avalabs/avacloud-sdk/models/components"; +## Supported Types + +### `components.AddressActivityMetadata` -let value: WebhookResponseMetadata = { +```typescript +const value: components.AddressActivityMetadata = { addresses: [ "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", ], @@ -15,11 +16,3 @@ let value: WebhookResponseMetadata = { }; ``` -## Supported Types - -### `components.AddressActivityMetadata` - -```typescript -const value: components.AddressActivityMetadata = /* values here */ -``` - diff --git a/docs/models/components/webhookstatustype.md b/docs/models/components/webhookstatustype.md index 8297cc30..424ae886 100644 --- a/docs/models/components/webhookstatustype.md +++ b/docs/models/components/webhookstatustype.md @@ -5,7 +5,7 @@ ```typescript import { WebhookStatusType } from "@avalabs/avacloud-sdk/models/components"; -let value: WebhookStatusType = "active"; +let value: WebhookStatusType = "inactive"; ``` ## Values diff --git a/docs/models/components/xchainbalances.md b/docs/models/components/xchainbalances.md index 1788e2c5..a684ec97 100644 --- a/docs/models/components/xchainbalances.md +++ b/docs/models/components/xchainbalances.md @@ -34,10 +34,10 @@ let value: XChainBalances = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], atomicMemoryLocked: [ @@ -46,10 +46,10 @@ let value: XChainBalances = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }, ], }; diff --git a/docs/models/components/xchainlineartransaction.md b/docs/models/components/xchainlineartransaction.md index c8dd22fe..1cf3da0a 100644 --- a/docs/models/components/xchainlineartransaction.md +++ b/docs/models/components/xchainlineartransaction.md @@ -9,7 +9,7 @@ let value: XChainLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "ImportTx", + txType: "BaseTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -21,7 +21,7 @@ let value: XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -83,7 +83,7 @@ let value: XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -104,7 +104,7 @@ let value: XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", createdAtTimestamp: 1675444720, cap: "fixed", }, diff --git a/docs/models/components/xchainnonlineartransaction.md b/docs/models/components/xchainnonlineartransaction.md index 9fd2b34d..ce43fe14 100644 --- a/docs/models/components/xchainnonlineartransaction.md +++ b/docs/models/components/xchainnonlineartransaction.md @@ -9,7 +9,7 @@ let value: XChainNonLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "OperationTx", + txType: "CreateAssetTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -21,7 +21,7 @@ let value: XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -54,7 +54,7 @@ let value: XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -83,7 +83,7 @@ let value: XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -93,7 +93,7 @@ let value: XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -104,7 +104,7 @@ let value: XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", createdAtTimestamp: 1675444720, cap: "fixed", }, diff --git a/docs/models/components/xchainsharedassetbalance.md b/docs/models/components/xchainsharedassetbalance.md index 7e097ac9..495e7a7d 100644 --- a/docs/models/components/xchainsharedassetbalance.md +++ b/docs/models/components/xchainsharedassetbalance.md @@ -10,10 +10,10 @@ let value: XChainSharedAssetBalance = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, - sharedWithChainId: "", + sharedWithChainId: "", }; ``` diff --git a/docs/models/components/xchaintransactiontype.md b/docs/models/components/xchaintransactiontype.md index 9cf1fcef..5764a812 100644 --- a/docs/models/components/xchaintransactiontype.md +++ b/docs/models/components/xchaintransactiontype.md @@ -7,7 +7,7 @@ Type of transaction. ```typescript import { XChainTransactionType } from "@avalabs/avacloud-sdk/models/components"; -let value: XChainTransactionType = "CreateAssetTx"; +let value: XChainTransactionType = "BaseTx"; ``` ## Values diff --git a/docs/models/components/xchainvertex.md b/docs/models/components/xchainvertex.md index a42a6f23..a3eacc03 100644 --- a/docs/models/components/xchainvertex.md +++ b/docs/models/components/xchainvertex.md @@ -10,14 +10,14 @@ let value: XChainVertex = { parentHashes: [ "", ], - vertexHeight: 4561.41, - vertexIndex: 6832.81, - vertexTimestamp: 6956.25, - txCount: 2835.19, + vertexHeight: 6900.25, + vertexIndex: 6996.22, + vertexTimestamp: 3277.20, + txCount: 7567.79, transactions: [ "", ], - vertexSizeBytes: 3799.27, + vertexSizeBytes: 6360.61, }; ``` diff --git a/docs/models/errors/badgateway.md b/docs/models/errors/badgateway.md index 19d718b7..0b3351bd 100644 --- a/docs/models/errors/badgateway.md +++ b/docs/models/errors/badgateway.md @@ -1,8 +1,5 @@ # BadGateway -This is an internal error indicating invalid response - received by the client-facing proxy or gateway from the upstream server. - ## Example Usage ```typescript diff --git a/docs/models/errors/badgatewaymessage.md b/docs/models/errors/badgatewaymessage.md index 0a976977..5fc5011f 100644 --- a/docs/models/errors/badgatewaymessage.md +++ b/docs/models/errors/badgatewaymessage.md @@ -2,27 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { BadGatewayMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: BadGatewayMessage = [ - "", -]; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/badrequest.md b/docs/models/errors/badrequest.md index 92c96a28..d04ce30f 100644 --- a/docs/models/errors/badrequest.md +++ b/docs/models/errors/badrequest.md @@ -1,9 +1,5 @@ # BadRequest -Bad requests generally mean the client has passed invalid - or malformed parameters. Error messages in the response could help in - evaluating the error. - ## Example Usage ```typescript diff --git a/docs/models/errors/forbidden.md b/docs/models/errors/forbidden.md index 593c5990..7afc3e5b 100644 --- a/docs/models/errors/forbidden.md +++ b/docs/models/errors/forbidden.md @@ -1,9 +1,5 @@ # Forbidden -When a client attempts to access resources with valid - credentials but doesn't have the privilege to perform that action, - the server responds with 403. - ## Example Usage ```typescript diff --git a/docs/models/errors/forbiddenmessage.md b/docs/models/errors/forbiddenmessage.md index 28576c1b..4b0ed42b 100644 --- a/docs/models/errors/forbiddenmessage.md +++ b/docs/models/errors/forbiddenmessage.md @@ -2,27 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { ForbiddenMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: ForbiddenMessage = [ - "", -]; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/internalservererror.md b/docs/models/errors/internalservererror.md index e90f0ee1..115974c3 100644 --- a/docs/models/errors/internalservererror.md +++ b/docs/models/errors/internalservererror.md @@ -1,10 +1,5 @@ # InternalServerError -The error is a generic server side error that is - returned for any uncaught and unexpected issues on the server side. - This should be very rare, and you may reach out to us if the problem - persists for a longer duration. - ## Example Usage ```typescript diff --git a/docs/models/errors/internalservererrormessage.md b/docs/models/errors/internalservererrormessage.md index 54225f52..137abb7f 100644 --- a/docs/models/errors/internalservererrormessage.md +++ b/docs/models/errors/internalservererrormessage.md @@ -2,25 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { InternalServerErrorMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: InternalServerErrorMessage = ""; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/message.md b/docs/models/errors/message.md index 0e074bf3..5d8ae545 100644 --- a/docs/models/errors/message.md +++ b/docs/models/errors/message.md @@ -2,27 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { Message } from "@avalabs/avacloud-sdk/models/errors"; - -let value: Message = [ - "", -]; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/notfound.md b/docs/models/errors/notfound.md index 3cba1bed..1000a183 100644 --- a/docs/models/errors/notfound.md +++ b/docs/models/errors/notfound.md @@ -1,9 +1,5 @@ # NotFound -The error is mostly returned when the client requests - with either mistyped URL, or the passed resource is moved or deleted, - or the resource doesn't exist. - ## Example Usage ```typescript diff --git a/docs/models/errors/notfoundmessage.md b/docs/models/errors/notfoundmessage.md index a7951998..ca7317f8 100644 --- a/docs/models/errors/notfoundmessage.md +++ b/docs/models/errors/notfoundmessage.md @@ -2,25 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { NotFoundMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: NotFoundMessage = ""; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/serviceunavailable.md b/docs/models/errors/serviceunavailable.md index 46ea12d1..16bd3451 100644 --- a/docs/models/errors/serviceunavailable.md +++ b/docs/models/errors/serviceunavailable.md @@ -1,9 +1,5 @@ # ServiceUnavailable -The error is returned for certain routes on a particular - Subnet. This indicates an internal problem with our Subnet node, and may - not necessarily mean the Subnet is down or affected. - ## Example Usage ```typescript diff --git a/docs/models/errors/serviceunavailablemessage.md b/docs/models/errors/serviceunavailablemessage.md index 9b132cc4..0bfebf58 100644 --- a/docs/models/errors/serviceunavailablemessage.md +++ b/docs/models/errors/serviceunavailablemessage.md @@ -2,25 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { ServiceUnavailableMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: ServiceUnavailableMessage = ""; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/toomanyrequests.md b/docs/models/errors/toomanyrequests.md index b9da9a39..ee7eb8db 100644 --- a/docs/models/errors/toomanyrequests.md +++ b/docs/models/errors/toomanyrequests.md @@ -1,8 +1,5 @@ # TooManyRequests -This error is returned when the client has sent too many, - and has hit the rate limit. - ## Example Usage ```typescript diff --git a/docs/models/errors/toomanyrequestsmessage.md b/docs/models/errors/toomanyrequestsmessage.md index e03d0abf..dd82b77a 100644 --- a/docs/models/errors/toomanyrequestsmessage.md +++ b/docs/models/errors/toomanyrequestsmessage.md @@ -2,25 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { TooManyRequestsMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: TooManyRequestsMessage = ""; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/errors/unauthorized.md b/docs/models/errors/unauthorized.md index f57b7fef..0a1963d7 100644 --- a/docs/models/errors/unauthorized.md +++ b/docs/models/errors/unauthorized.md @@ -1,9 +1,5 @@ # Unauthorized -When a client attempts to access resources that require - authorization credentials but the client lacks proper authentication - in the request, the server responds with 401. - ## Example Usage ```typescript diff --git a/docs/models/errors/unauthorizedmessage.md b/docs/models/errors/unauthorizedmessage.md index f3f0f644..b2d62116 100644 --- a/docs/models/errors/unauthorizedmessage.md +++ b/docs/models/errors/unauthorizedmessage.md @@ -2,27 +2,20 @@ The error message describing the reason for the exception -## Example Usage - -```typescript -import { UnauthorizedMessage } from "@avalabs/avacloud-sdk/models/errors"; - -let value: UnauthorizedMessage = [ - "", -]; -``` ## Supported Types ### `string` ```typescript -const value: string = /* values here */ +const value: string = ""; ``` ### `string[]` ```typescript -const value: string[] = /* values here */ +const value: string[] = [ + "", +]; ``` diff --git a/docs/models/operations/getaddressesfromwebhookresponse.md b/docs/models/operations/getaddressesfromwebhookresponse.md index 0c4e8d62..58095727 100644 --- a/docs/models/operations/getaddressesfromwebhookresponse.md +++ b/docs/models/operations/getaddressesfromwebhookresponse.md @@ -10,7 +10,7 @@ let value: GetAddressesFromWebhookResponse = { addresses: [ "", ], - totalAddresses: 1598.45, + totalAddresses: 5676.93, }, }; ``` diff --git a/docs/models/operations/getapilogsresponse.md b/docs/models/operations/getapilogsresponse.md index 09b48df4..2491d171 100644 --- a/docs/models/operations/getapilogsresponse.md +++ b/docs/models/operations/getapilogsresponse.md @@ -7,23 +7,23 @@ import { GetApiLogsResponse } from "@avalabs/avacloud-sdk/models/operations"; let value: GetApiLogsResponse = { result: { - orgId: "", + orgId: "", logs: [ { - orgId: "", - logId: "", - eventTimestamp: 1032.98, - apiKeyId: "", + orgId: "", + logId: "", + eventTimestamp: 5831.93, + apiKeyId: "", apiKeyAlias: "", hostRegion: "", - requestType: "rpc", + requestType: "data", requestPath: "", - apiCreditsConsumed: 291.90, - requestDurationMsecs: 5349.17, - responseCode: 4042.44, + apiCreditsConsumed: 1989.11, + requestDurationMsecs: 9561.23, + responseCode: 3304.41, metadata: { - ipAddress: "840b:c841:1425:11c3:cba3:49b7:bae0:d8df", - host: "wretched-ribbon.info", + ipAddress: "6ea7:b284:f286:b7f0:d55b:f6c2:da39:d20c", + host: "jam-packed-section.org", userAgent: "", }, }, diff --git a/docs/models/operations/getbalancesbyaddressesresponsebody.md b/docs/models/operations/getbalancesbyaddressesresponsebody.md index c95a44d7..fd56f48f 100644 --- a/docs/models/operations/getbalancesbyaddressesresponsebody.md +++ b/docs/models/operations/getbalancesbyaddressesresponsebody.md @@ -2,12 +2,13 @@ Successful response -## Example Usage -```typescript -import { GetBalancesByAddressesResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types + +### `components.ListPChainBalancesResponse` -let value: GetBalancesByAddressesResponseBody = { +```typescript +const value: components.ListPChainBalancesResponse = { balances: { unlockedUnstaked: [ { @@ -15,7 +16,7 @@ let value: GetBalancesByAddressesResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -37,7 +38,7 @@ let value: GetBalancesByAddressesResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -59,7 +60,7 @@ let value: GetBalancesByAddressesResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -70,7 +71,7 @@ let value: GetBalancesByAddressesResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -103,29 +104,105 @@ let value: GetBalancesByAddressesResponseBody = { ], }, chainInfo: { - chainName: "c-chain", - network: "mainnet", + chainName: "p-chain", + network: "fuji", }, }; ``` -## Supported Types - -### `components.ListPChainBalancesResponse` - -```typescript -const value: components.ListPChainBalancesResponse = /* values here */ -``` - ### `components.ListXChainBalancesResponse` ```typescript -const value: components.ListXChainBalancesResponse = /* values here */ +const value: components.ListXChainBalancesResponse = { + balances: { + locked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + utxoCount: 1, + }, + ], + unlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + utxoCount: 1, + }, + ], + atomicMemoryUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + utxoCount: 1, + sharedWithChainId: "", + }, + ], + atomicMemoryLocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + utxoCount: 1, + sharedWithChainId: "", + }, + ], + }, + chainInfo: { + chainName: "c-chain", + network: "fuji", + }, +}; ``` ### `components.ListCChainAtomicBalancesResponse` ```typescript -const value: components.ListCChainAtomicBalancesResponse = /* values here */ +const value: components.ListCChainAtomicBalancesResponse = { + balances: { + atomicMemoryUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + utxoCount: 1, + sharedWithChainId: "", + }, + ], + atomicMemoryLocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + utxoCount: 1, + sharedWithChainId: "", + }, + ], + }, + chainInfo: { + chainName: "c-chain", + network: "mainnet", + }, +}; ``` diff --git a/docs/models/operations/getblockrequest.md b/docs/models/operations/getblockrequest.md index 6756f947..73126e5e 100644 --- a/docs/models/operations/getblockrequest.md +++ b/docs/models/operations/getblockrequest.md @@ -12,7 +12,7 @@ let value: GetBlockRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c | \ No newline at end of file diff --git a/docs/models/operations/getchaininforequest.md b/docs/models/operations/getchaininforequest.md index 3d20849f..11350203 100644 --- a/docs/models/operations/getchaininforequest.md +++ b/docs/models/operations/getchaininforequest.md @@ -10,6 +10,6 @@ let value: GetChainInfoRequest = {}; ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | \ No newline at end of file diff --git a/docs/models/operations/getcontractmetadatarequest.md b/docs/models/operations/getcontractmetadatarequest.md index 0211b202..25ea1615 100644 --- a/docs/models/operations/getcontractmetadatarequest.md +++ b/docs/models/operations/getcontractmetadatarequest.md @@ -12,7 +12,7 @@ let value: GetContractMetadataRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | \ No newline at end of file diff --git a/docs/models/operations/getcontractmetadataresponsebody.md b/docs/models/operations/getcontractmetadataresponsebody.md index b343f891..f000e9a2 100644 --- a/docs/models/operations/getcontractmetadataresponsebody.md +++ b/docs/models/operations/getcontractmetadataresponsebody.md @@ -2,46 +2,66 @@ Successful response -## Example Usage -```typescript -import { GetContractMetadataResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types -let value: GetContractMetadataResponseBody = { +### `components.Erc721Contract` + +```typescript +const value: components.Erc721Contract = { name: "Wrapped AVAX", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", deploymentDetails: { txHash: "", deployerAddress: "", }, - ercType: "ERC-1155", + ercType: "ERC-721", symbol: "WAVAX", }; ``` -## Supported Types - -### `components.Erc721Contract` - -```typescript -const value: components.Erc721Contract = /* values here */ -``` - ### `components.Erc1155Contract` ```typescript -const value: components.Erc1155Contract = /* values here */ +const value: components.Erc1155Contract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "ERC-1155", + symbol: "WAVAX", +}; ``` ### `components.Erc20Contract` ```typescript -const value: components.Erc20Contract = /* values here */ +const value: components.Erc20Contract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "ERC-20", + symbol: "WAVAX", + decimals: 18, +}; ``` ### `components.UnknownContract` ```typescript -const value: components.UnknownContract = /* values here */ +const value: components.UnknownContract = { + name: "Wrapped AVAX", + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + deploymentDetails: { + txHash: "", + deployerAddress: "", + }, + ercType: "UNKNOWN", +}; ``` diff --git a/docs/models/operations/getdeploymenttransactionrequest.md b/docs/models/operations/getdeploymenttransactionrequest.md index 09dff0d7..6e337823 100644 --- a/docs/models/operations/getdeploymenttransactionrequest.md +++ b/docs/models/operations/getdeploymenttransactionrequest.md @@ -13,8 +13,8 @@ let value: GetDeploymentTransactionRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | -| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | +| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file diff --git a/docs/models/operations/getevmchainmetricsresponse.md b/docs/models/operations/getevmchainmetricsresponse.md index 83ff08c6..25326e0b 100644 --- a/docs/models/operations/getevmchainmetricsresponse.md +++ b/docs/models/operations/getevmchainmetricsresponse.md @@ -9,8 +9,8 @@ let value: GetEvmChainMetricsResponse = { result: { results: [ { - value: 3339.65, - timestamp: 7908.40, + value: 7573.64, + timestamp: 3145.73, }, ], }, diff --git a/docs/models/operations/getlatestblocksrequest.md b/docs/models/operations/getlatestblocksrequest.md index b1a175fd..52f36490 100644 --- a/docs/models/operations/getlatestblocksrequest.md +++ b/docs/models/operations/getlatestblocksrequest.md @@ -12,8 +12,8 @@ let value: GetLatestBlocksRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | \ No newline at end of file diff --git a/docs/models/operations/getlatestblocksresponse.md b/docs/models/operations/getlatestblocksresponse.md index fec620f1..09057ee4 100644 --- a/docs/models/operations/getlatestblocksresponse.md +++ b/docs/models/operations/getlatestblocksresponse.md @@ -13,7 +13,7 @@ let value: GetLatestBlocksResponse = { blockTimestamp: 1648672486, blockHash: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", - txCount: 9663.90, + txCount: 1512.30, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/operations/getnativebalancerequest.md b/docs/models/operations/getnativebalancerequest.md index 2bcd8741..7f155128 100644 --- a/docs/models/operations/getnativebalancerequest.md +++ b/docs/models/operations/getnativebalancerequest.md @@ -14,9 +14,9 @@ let value: GetNativeBalanceRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file diff --git a/docs/models/operations/getsinglevalidatordetailsresponse.md b/docs/models/operations/getsinglevalidatordetailsresponse.md index 4d172b35..93471853 100644 --- a/docs/models/operations/getsinglevalidatordetailsresponse.md +++ b/docs/models/operations/getsinglevalidatordetailsresponse.md @@ -10,17 +10,12 @@ let value: GetSingleValidatorDetailsResponse = { validators: [ { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 9233.06, - endTimestamp: 8298.97, - delegatorCount: 9682.86, - rewards: { - validationRewardAmount: "", - delegationRewardAmount: "", - }, - validationStatus: "completed", + startTimestamp: 7277.71, + endTimestamp: 8151.99, + validationStatus: "pending", }, ], }, diff --git a/docs/models/operations/getstakingmetricsresponse.md b/docs/models/operations/getstakingmetricsresponse.md index a45bc8a9..1fe8cf60 100644 --- a/docs/models/operations/getstakingmetricsresponse.md +++ b/docs/models/operations/getstakingmetricsresponse.md @@ -9,8 +9,8 @@ let value: GetStakingMetricsResponse = { result: { results: [ { - value: 972.43, - timestamp: 4420.36, + value: 6573.19, + timestamp: 5173.26, }, ], }, diff --git a/docs/models/operations/getteleportermessageresponsebody.md b/docs/models/operations/getteleportermessageresponsebody.md index e00db512..816e05c2 100644 --- a/docs/models/operations/getteleportermessageresponsebody.md +++ b/docs/models/operations/getteleportermessageresponsebody.md @@ -2,18 +2,19 @@ Successful response -## Example Usage -```typescript -import { GetTeleporterMessageResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types -let value: GetTeleporterMessageResponseBody = { - messageId: "", +### `components.PendingTeleporterMessage` + +```typescript +const value: components.PendingTeleporterMessage = { + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -41,30 +42,107 @@ let value: GetTeleporterMessageResponseBody = { }, sourceTransaction: { txHash: "", - timestamp: 9707.31, + timestamp: 9829.99, gasSpent: "", }, status: "pending", }; ``` -## Supported Types - -### `components.PendingTeleporterMessage` - -```typescript -const value: components.PendingTeleporterMessage = /* values here */ -``` - ### `components.DeliveredTeleporterMessage` ```typescript -const value: components.DeliveredTeleporterMessage = /* values here */ +const value: components.DeliveredTeleporterMessage = { + messageId: "", + teleporterContractAddress: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", + messageNonce: "", + from: "", + to: "", + messageExecuted: false, + receipts: [ + { + receivedMessageNonce: "", + relayerRewardAddress: "", + }, + ], + receiptDelivered: false, + rewardDetails: { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + ercType: "ERC-20", + price: { + currencyCode: "usd", + value: 42.42, + }, + value: "", + }, + sourceTransaction: { + txHash: "", + timestamp: 9822.48, + gasSpent: "", + }, + destinationTransaction: { + txHash: "", + timestamp: 9926.67, + gasSpent: "", + rewardRedeemer: "", + delivererAddress: "", + }, + status: "delivered", +}; ``` ### `components.DeliveredSourceNotIndexedTeleporterMessage` ```typescript -const value: components.DeliveredSourceNotIndexedTeleporterMessage = /* values here */ +const value: components.DeliveredSourceNotIndexedTeleporterMessage = { + messageId: "", + teleporterContractAddress: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", + messageNonce: "", + from: "", + to: "", + messageExecuted: false, + receipts: [ + { + receivedMessageNonce: "", + relayerRewardAddress: "", + }, + ], + receiptDelivered: false, + rewardDetails: { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + name: "Wrapped AVAX", + symbol: "WAVAX", + decimals: 18, + logoUri: + "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", + ercType: "ERC-20", + price: { + currencyCode: "usd", + value: 42.42, + }, + value: "", + }, + destinationTransaction: { + txHash: "", + timestamp: 1186.16, + gasSpent: "", + rewardRedeemer: "", + delivererAddress: "", + }, + status: "delivered_source_not_indexed", +}; ``` diff --git a/docs/models/operations/gettokendetailsrequest.md b/docs/models/operations/gettokendetailsrequest.md index e8ac8ae9..dffe5c1c 100644 --- a/docs/models/operations/gettokendetailsrequest.md +++ b/docs/models/operations/gettokendetailsrequest.md @@ -13,8 +13,8 @@ let value: GetTokenDetailsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | -| `tokenId` | *string* | :heavy_check_mark: | TokenId on the contract | 145 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | +| `tokenId` | *string* | :heavy_check_mark: | TokenId on the contract | 145 | \ No newline at end of file diff --git a/docs/models/operations/gettokendetailsresponsebody.md b/docs/models/operations/gettokendetailsresponsebody.md index 6fff0660..015221ef 100644 --- a/docs/models/operations/gettokendetailsresponsebody.md +++ b/docs/models/operations/gettokendetailsresponsebody.md @@ -2,36 +2,37 @@ Successful response -## Example Usage -```typescript -import { GetTokenDetailsResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types + +### `components.Erc721Token` -let value: GetTokenDetailsResponseBody = { +```typescript +const value: components.Erc721Token = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://edible-teriyaki.com", metadata: { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }; ``` -## Supported Types - -### `components.Erc721Token` - -```typescript -const value: components.Erc721Token = /* values here */ -``` - ### `components.Erc1155Token` ```typescript -const value: components.Erc1155Token = /* values here */ +const value: components.Erc1155Token = { + address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", + ercType: "ERC-1155", + tokenId: "", + tokenUri: "https://little-slide.biz/", + metadata: { + indexStatus: "MISSING_TOKEN", + }, +}; ``` diff --git a/docs/models/operations/gettransactionrequest.md b/docs/models/operations/gettransactionrequest.md index 25011151..10f6301b 100644 --- a/docs/models/operations/gettransactionrequest.md +++ b/docs/models/operations/gettransactionrequest.md @@ -12,7 +12,7 @@ let value: GetTransactionRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `txHash` | *string* | :heavy_check_mark: | A transaction hash. | 0x8bf584d7b14b92a32a339872a66b134a70ba3ba7c305823f348db6f860253f45 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `txHash` | *string* | :heavy_check_mark: | A transaction hash. | 0x8bf584d7b14b92a32a339872a66b134a70ba3ba7c305823f348db6f860253f45 | \ No newline at end of file diff --git a/docs/models/operations/gettransactionsforblockrequest.md b/docs/models/operations/gettransactionsforblockrequest.md index fa0ba0e7..592a8c2f 100644 --- a/docs/models/operations/gettransactionsforblockrequest.md +++ b/docs/models/operations/gettransactionsforblockrequest.md @@ -12,7 +12,7 @@ let value: GetTransactionsForBlockRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c | \ No newline at end of file diff --git a/docs/models/operations/gettxbyhashresponsebody.md b/docs/models/operations/gettxbyhashresponsebody.md index 98caf149..dfce1b9f 100644 --- a/docs/models/operations/gettxbyhashresponsebody.md +++ b/docs/models/operations/gettxbyhashresponsebody.md @@ -2,16 +2,120 @@ Successful response -## Example Usage + +## Supported Types + +### `components.PChainTransaction` ```typescript -import { GetTxByHashResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +const value: components.PChainTransaction = { + txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", + txType: "CreateSubnetTx", + blockTimestamp: 1648672486, + blockNumber: "", + blockHash: "", + consumedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + amount: "345.50", + assetId: "", + blockNumber: "", + blockTimestamp: 4800.61, + outputIndex: 5221.76, + txHash: "", + utxoType: "TRANSFER", + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + amount: "220.10", + assetId: "", + blockNumber: "", + blockTimestamp: 6228.94, + outputIndex: 1114.96, + txHash: "", + utxoType: "STAKE", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + value: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountBurned: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountStaked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + subnetOwnershipInfo: { + locktime: 0, + threshold: 1, + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + }, +}; +``` -let value: GetTxByHashResponseBody = { +### `components.XChainNonLinearTransaction` + +```typescript +const value: components.XChainNonLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "UNKNOWN", + txType: "ExportTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -56,7 +160,7 @@ let value: GetTxByHashResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -108,7 +212,7 @@ let value: GetTxByHashResponseBody = { denomination: 9, type: "nft", createdAtTimestamp: 1675444720, - cap: "fixed", + cap: "variable", }, vertices: [ { @@ -120,35 +224,285 @@ let value: GetTxByHashResponseBody = { }; ``` -## Supported Types - -### `components.PChainTransaction` - -```typescript -const value: components.PChainTransaction = /* values here */ -``` - -### `components.XChainNonLinearTransaction` - -```typescript -const value: components.XChainNonLinearTransaction = /* values here */ -``` - ### `components.XChainLinearTransaction` ```typescript -const value: components.XChainLinearTransaction = /* values here */ +const value: components.XChainLinearTransaction = { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + chainFormat: "non-linear", + timestamp: 1600762738, + txType: "UNKNOWN", + memo: "0x546865204176616c616e6368652050726f6a656374", + consumedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + assetCreated: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + createdAtTimestamp: 1675444720, + cap: "variable", + }, + blockHeight: 1005, + blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", +}; ``` ### `components.CChainExportTransaction` ```typescript -const value: components.CChainExportTransaction = /* values here */ +const value: components.CChainExportTransaction = { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + blockHeight: 1005, + blockHash: + "0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee", + timestamp: 1600762738, + memo: "0x546865204176616c616e6368652050726f6a656374", + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + txType: "ExportTx", + evmInputs: [ + { + fromAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], +}; ``` ### `components.CChainImportTransaction` ```typescript -const value: components.CChainImportTransaction = /* values here */ +const value: components.CChainImportTransaction = { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + blockHeight: 1005, + blockHash: + "0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee", + timestamp: 1600762738, + memo: "0x546865204176616c616e6368652050726f6a656374", + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + txType: "ImportTx", + evmOutputs: [ + { + toAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + }, + ], + consumedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], +}; ``` diff --git a/docs/models/operations/getutxosbyaddressesresponse.md b/docs/models/operations/getutxosbyaddressesresponse.md index 648da30b..6e4e7915 100644 --- a/docs/models/operations/getutxosbyaddressesresponse.md +++ b/docs/models/operations/getutxosbyaddressesresponse.md @@ -24,18 +24,25 @@ let value: GetUtxosByAddressesResponse = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "684.94", - assetId: "", - blockNumber: "", - blockTimestamp: 6567.62, - outputIndex: 8620.63, - txHash: "", - utxoType: "STAKE", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", }, ], chainInfo: { - chainName: "x-chain", - network: "fuji", + chainName: "c-chain", + network: "mainnet", }, }, }; diff --git a/docs/models/operations/getutxosbyaddressesresponsebody.md b/docs/models/operations/getutxosbyaddressesresponsebody.md index 08e226e9..1d354668 100644 --- a/docs/models/operations/getutxosbyaddressesresponsebody.md +++ b/docs/models/operations/getutxosbyaddressesresponsebody.md @@ -2,12 +2,13 @@ Successful response -## Example Usage -```typescript -import { GetUtxosByAddressesResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types -let value: GetUtxosByAddressesResponseBody = { +### `components.ListPChainUtxosResponse` + +```typescript +const value: components.ListPChainUtxosResponse = { utxos: [ { addresses: [ @@ -25,13 +26,13 @@ let value: GetUtxosByAddressesResponseBody = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "589.70", - assetId: "", + amount: "0.66", + assetId: "", blockNumber: "", - blockTimestamp: 7453.98, - outputIndex: 8481.50, + blockTimestamp: 9416.68, + outputIndex: 2783.25, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }, ], chainInfo: { @@ -41,17 +42,47 @@ let value: GetUtxosByAddressesResponseBody = { }; ``` -## Supported Types - -### `components.ListPChainUtxosResponse` - -```typescript -const value: components.ListPChainUtxosResponse = /* values here */ -``` - ### `components.ListUtxosResponse` ```typescript -const value: components.ListUtxosResponse = /* values here */ +const value: components.ListUtxosResponse = { + utxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + chainInfo: { + chainName: "c-chain", + network: "fuji", + }, +}; ``` diff --git a/docs/models/operations/getvalidatorsbydaterangeresponse.md b/docs/models/operations/getvalidatorsbydaterangeresponse.md index 3bec5c0f..25f149bd 100644 --- a/docs/models/operations/getvalidatorsbydaterangeresponse.md +++ b/docs/models/operations/getvalidatorsbydaterangeresponse.md @@ -7,12 +7,14 @@ import { GetValidatorsByDateRangeResponse } from "@avalabs/avacloud-sdk/models/o let value: GetValidatorsByDateRangeResponse = { result: { - addresses: { - addresses: [ - "avax1abcdef1234567890abcdef1234567890abcdef", - ], - sortKey: "123", - }, + addresses: [ + { + addresses: [ + "avax1abcdef1234567890abcdef1234567890abcdef", + ], + sortKey: "123", + }, + ], }, }; ``` diff --git a/docs/models/operations/getvertexbyheightresponse.md b/docs/models/operations/getvertexbyheightresponse.md index a979e5ad..384565ea 100644 --- a/docs/models/operations/getvertexbyheightresponse.md +++ b/docs/models/operations/getvertexbyheightresponse.md @@ -13,18 +13,18 @@ let value: GetVertexByHeightResponse = { parentHashes: [ "", ], - vertexHeight: 4053.74, - vertexIndex: 3210.43, - vertexTimestamp: 299.50, - txCount: 7372.54, + vertexHeight: 5525.81, + vertexIndex: 8518.09, + vertexTimestamp: 9623.95, + txCount: 1105.22, transactions: [ "", ], - vertexSizeBytes: 1097.84, + vertexSizeBytes: 6308.32, }, ], chainInfo: { - chainName: "x-chain", + chainName: "c-chain", network: "fuji", }, }, diff --git a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md index 3a29bf2d..735a2e12 100644 --- a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md +++ b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md @@ -10,7 +10,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { transactions: [ { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "AddDelegatorTx", + txType: "UNKNOWN", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -24,7 +24,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -34,11 +34,11 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "680.35", - assetId: "", + amount: "349.99", + assetId: "", blockNumber: "", - blockTimestamp: 632.08, - outputIndex: 6072.49, + blockTimestamp: 2543.82, + outputIndex: 2653.03, txHash: "", utxoType: "STAKE", }, @@ -53,7 +53,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -63,13 +63,13 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "238.41", - assetId: "", + amount: "141.81", + assetId: "", blockNumber: "", - blockTimestamp: 5145.13, - outputIndex: 3679.28, + blockTimestamp: 3167.31, + outputIndex: 6267.06, txHash: "", - utxoType: "STAKE", + utxoType: "TRANSFER", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -90,7 +90,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -100,7 +100,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -114,7 +114,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { }, ], chainInfo: { - chainName: "p-chain", + chainName: "c-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listassettransactionsresponse.md b/docs/models/operations/listassettransactionsresponse.md index 433b0960..5ae4d540 100644 --- a/docs/models/operations/listassettransactionsresponse.md +++ b/docs/models/operations/listassettransactionsresponse.md @@ -12,7 +12,7 @@ let value: ListAssetTransactionsResponse = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "ImportTx", + txType: "CreateAssetTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -60,7 +60,7 @@ let value: ListAssetTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: @@ -113,9 +113,9 @@ let value: ListAssetTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", createdAtTimestamp: 1675444720, - cap: "variable", + cap: "fixed", }, blockHeight: 1005, blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", diff --git a/docs/models/operations/listblockchainsresponse.md b/docs/models/operations/listblockchainsresponse.md index a8e3e31a..831135e2 100644 --- a/docs/models/operations/listblockchainsresponse.md +++ b/docs/models/operations/listblockchainsresponse.md @@ -9,11 +9,11 @@ let value: ListBlockchainsResponse = { result: { blockchains: [ { - createBlockTimestamp: 6232.95, + createBlockTimestamp: 8138.80, createBlockNumber: "", - blockchainId: "", - vmId: "", - subnetId: "", + blockchainId: "", + vmId: "", + subnetId: "", blockchainName: "", }, ], diff --git a/docs/models/operations/listchainsresponse.md b/docs/models/operations/listchainsresponse.md index e9002d91..8b2b37cb 100644 --- a/docs/models/operations/listchainsresponse.md +++ b/docs/models/operations/listchainsresponse.md @@ -13,7 +13,7 @@ let value: ListChainsResponse = { chainName: "c_chain", blockchainId: "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5", subnetId: "11111111111111111111111111111111LpoYY", - network: "testnet", + network: "mainnet", }, ], }, diff --git a/docs/models/operations/listcollectiblebalancesrequest.md b/docs/models/operations/listcollectiblebalancesrequest.md index cc91fd22..189ef1d7 100644 --- a/docs/models/operations/listcollectiblebalancesrequest.md +++ b/docs/models/operations/listcollectiblebalancesrequest.md @@ -14,10 +14,10 @@ let value: ListCollectibleBalancesRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file diff --git a/docs/models/operations/listcollectiblebalancesresponse.md b/docs/models/operations/listcollectiblebalancesresponse.md index 2cb6c3a5..6b75e75a 100644 --- a/docs/models/operations/listcollectiblebalancesresponse.md +++ b/docs/models/operations/listcollectiblebalancesresponse.md @@ -10,14 +10,16 @@ let value: ListCollectibleBalancesResponse = { collectibleBalances: [ { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + name: "Wrapped AVAX", + symbol: "WAVAX", + ercType: "ERC-721", + tokenId: "", + tokenUri: "https://beneficial-duster.biz/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNINDEXED", }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", - balance: "2000000000000000000", }, ], }, diff --git a/docs/models/operations/listcontractdeploymentsrequest.md b/docs/models/operations/listcontractdeploymentsrequest.md index 1eb4d0e0..20f37229 100644 --- a/docs/models/operations/listcontractdeploymentsrequest.md +++ b/docs/models/operations/listcontractdeploymentsrequest.md @@ -13,9 +13,9 @@ let value: ListContractDeploymentsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listcontractdeploymentsresponse.md b/docs/models/operations/listcontractdeploymentsresponse.md index d9305c37..d38a0c67 100644 --- a/docs/models/operations/listcontractdeploymentsresponse.md +++ b/docs/models/operations/listcontractdeploymentsresponse.md @@ -15,9 +15,7 @@ let value: ListContractDeploymentsResponse = { txHash: "", deployerAddress: "", }, - ercType: "ERC-20", - symbol: "WAVAX", - decimals: 18, + ercType: "UNKNOWN", }, ], }, diff --git a/docs/models/operations/listdelegatorsresponse.md b/docs/models/operations/listdelegatorsresponse.md index f200b6b8..a2429685 100644 --- a/docs/models/operations/listdelegatorsresponse.md +++ b/docs/models/operations/listdelegatorsresponse.md @@ -10,17 +10,17 @@ let value: ListDelegatorsResponse = { delegators: [ { txHash: "", - nodeId: "", + nodeId: "", rewardAddresses: [ "", ], amountDelegated: "", delegationFee: "", - startTimestamp: 360.34, - endTimestamp: 1747.72, - grossReward: "", - netReward: "", - delegationStatus: "completed", + startTimestamp: 9738.19, + endTimestamp: 1623.58, + estimatedGrossReward: "", + estimatedNetReward: "", + delegationStatus: "active", }, ], }, diff --git a/docs/models/operations/listerc1155balancesrequest.md b/docs/models/operations/listerc1155balancesrequest.md index e379a769..10029243 100644 --- a/docs/models/operations/listerc1155balancesrequest.md +++ b/docs/models/operations/listerc1155balancesrequest.md @@ -15,11 +15,11 @@ let value: ListErc1155BalancesRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file diff --git a/docs/models/operations/listerc1155balancesresponse.md b/docs/models/operations/listerc1155balancesresponse.md index f0576831..782f5d0a 100644 --- a/docs/models/operations/listerc1155balancesresponse.md +++ b/docs/models/operations/listerc1155balancesresponse.md @@ -11,10 +11,10 @@ let value: ListErc1155BalancesResponse = { { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://harmful-accelerator.info/", metadata: { - indexStatus: "UNKNOWN", + indexStatus: "INVALID_METADATA", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/operations/listerc1155transactionsrequest.md b/docs/models/operations/listerc1155transactionsrequest.md index 9f13ea74..b52e43de 100644 --- a/docs/models/operations/listerc1155transactionsrequest.md +++ b/docs/models/operations/listerc1155transactionsrequest.md @@ -21,5 +21,5 @@ let value: ListErc1155TransactionsRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listerc1155transactionsresponse.md b/docs/models/operations/listerc1155transactionsresponse.md index f77a7ed2..1986f4f1 100644 --- a/docs/models/operations/listerc1155transactionsresponse.md +++ b/docs/models/operations/listerc1155transactionsresponse.md @@ -31,15 +31,15 @@ let value: ListErc1155TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3361.02, + logIndex: 7480.23, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://frivolous-self-confidence.name", metadata: { - indexStatus: "INDEXED", + indexStatus: "THROTTLED_TOKEN_URI", }, }, }, diff --git a/docs/models/operations/listerc20balancesrequest.md b/docs/models/operations/listerc20balancesrequest.md index 235f02df..45402051 100644 --- a/docs/models/operations/listerc20balancesrequest.md +++ b/docs/models/operations/listerc20balancesrequest.md @@ -17,13 +17,13 @@ let value: ListErc20BalancesRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `filterSpamTokens` | *boolean* | :heavy_minus_sign: | whether to filter out spam tokens from the response. Default is true. | | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `contractAddresses` | *string* | :heavy_minus_sign: | A comma separated list of contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7, 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB | -| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `blockNumber` | *string* | :heavy_minus_sign: | The block number, if not defined the block number will be the latest block. | 6479329 | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `filterSpamTokens` | *boolean* | :heavy_minus_sign: | whether to filter out spam tokens from the response. Default is true. | | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `contractAddresses` | *string* | :heavy_minus_sign: | A comma separated list of contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7, 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB | +| `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file diff --git a/docs/models/operations/listerc20transactionsrequest.md b/docs/models/operations/listerc20transactionsrequest.md index c19290ff..c2ed7fe3 100644 --- a/docs/models/operations/listerc20transactionsrequest.md +++ b/docs/models/operations/listerc20transactionsrequest.md @@ -21,5 +21,5 @@ let value: ListErc20TransactionsRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listerc20transactionsresponse.md b/docs/models/operations/listerc20transactionsresponse.md index 81a603f0..88082984 100644 --- a/docs/models/operations/listerc20transactionsresponse.md +++ b/docs/models/operations/listerc20transactionsresponse.md @@ -31,7 +31,7 @@ let value: ListErc20TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 8587.77, + logIndex: 8877.01, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/operations/listerc721balancesrequest.md b/docs/models/operations/listerc721balancesrequest.md index f66f8a47..c4e4a9b5 100644 --- a/docs/models/operations/listerc721balancesrequest.md +++ b/docs/models/operations/listerc721balancesrequest.md @@ -14,10 +14,10 @@ let value: ListErc721BalancesRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `contractAddress` | *string* | :heavy_minus_sign: | A contract addresses to filter by. | 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7 | \ No newline at end of file diff --git a/docs/models/operations/listerc721balancesresponse.md b/docs/models/operations/listerc721balancesresponse.md index 583f48c7..2ea40657 100644 --- a/docs/models/operations/listerc721balancesresponse.md +++ b/docs/models/operations/listerc721balancesresponse.md @@ -13,10 +13,10 @@ let value: ListErc721BalancesResponse = { name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://doting-mentor.biz", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "MISSING_TOKEN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/operations/listerc721transactionsrequest.md b/docs/models/operations/listerc721transactionsrequest.md index 6d1d81b5..77207359 100644 --- a/docs/models/operations/listerc721transactionsrequest.md +++ b/docs/models/operations/listerc721transactionsrequest.md @@ -21,5 +21,5 @@ let value: ListErc721TransactionsRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listerc721transactionsresponse.md b/docs/models/operations/listerc721transactionsresponse.md index a18d6eb5..8d095e62 100644 --- a/docs/models/operations/listerc721transactionsresponse.md +++ b/docs/models/operations/listerc721transactionsresponse.md @@ -31,16 +31,16 @@ let value: ListErc721TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 4585.03, + logIndex: 6386.09, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://another-rust.name/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "INVALID_METADATA_JSON", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md b/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md index 89026370..a95c330c 100644 --- a/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md +++ b/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md @@ -14,12 +14,12 @@ let value: ListHistoricalPrimaryNetworkRewardsResponse = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 2419.02, - endTimestamp: 4322.81, - rewardType: "DELEGATOR", - utxoId: "", - outputIndex: 7730.84, + nodeId: "", + startTimestamp: 5112.22, + endTimestamp: 832.91, + rewardType: "VALIDATOR", + utxoId: "", + outputIndex: 9655.17, reward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/operations/listinternaltransactionsrequest.md b/docs/models/operations/listinternaltransactionsrequest.md index be5e833a..a6eed4ca 100644 --- a/docs/models/operations/listinternaltransactionsrequest.md +++ b/docs/models/operations/listinternaltransactionsrequest.md @@ -21,5 +21,5 @@ let value: ListInternalTransactionsRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listinternaltransactionsresponse.md b/docs/models/operations/listinternaltransactionsresponse.md index fd33091c..0f365e56 100644 --- a/docs/models/operations/listinternaltransactionsresponse.md +++ b/docs/models/operations/listinternaltransactionsresponse.md @@ -31,7 +31,7 @@ let value: ListInternalTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "STATICCALL", + internalTxType: "CALLCODE", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/operations/listlatestprimarynetworkblocksresponse.md b/docs/models/operations/listlatestprimarynetworkblocksresponse.md index a7573a3a..959d519f 100644 --- a/docs/models/operations/listlatestprimarynetworkblocksresponse.md +++ b/docs/models/operations/listlatestprimarynetworkblocksresponse.md @@ -12,18 +12,18 @@ let value: ListLatestPrimaryNetworkBlocksResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 7137.67, + blockTimestamp: 4724.14, blockType: "", - txCount: 6391.87, + txCount: 4382.56, transactions: [ "", ], - blockSizeBytes: 3991.61, + blockSizeBytes: 2027.96, }, ], chainInfo: { chainName: "x-chain", - network: "fuji", + network: "mainnet", }, }, }; diff --git a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md index 8b31d96e..eea79a40 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md @@ -10,48 +10,47 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { transactions: [ { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", - blockHeight: 1005, - blockHash: - "0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee", + chainFormat: "non-linear", timestamp: 1600762738, + txType: "ExportTx", memo: "0x546865204176616c616e6368652050726f6a656374", - amountUnlocked: [ - { - assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", - name: "Avalanche", - symbol: "AVAX", - denomination: 9, - type: "secp256k1", - amount: "5001000", - }, - ], - amountCreated: [ - { - assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", - name: "Avalanche", - symbol: "AVAX", - denomination: 9, - type: "nft", - amount: "5001000", - }, - ], - sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", - destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", - txType: "ImportTx", - evmOutputs: [ + consumedUtxos: [ { - toAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], asset: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, + consumedOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: + "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", }, ], - consumedUtxos: [ + emittedUtxos: [ { addresses: [ "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", @@ -87,10 +86,43 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { utxoType: "mint", }, ], + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + assetCreated: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + createdAtTimestamp: 1675444720, + cap: "fixed", + }, + blockHeight: 1005, + blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "fuji", }, }, diff --git a/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md b/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md index ef125590..7daae419 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md @@ -2,18 +2,134 @@ Successful response -## Example Usage + +## Supported Types + +### `components.ListPChainTransactionsResponse` ```typescript -import { ListLatestPrimaryNetworkTransactionsResponseBody } from "@avalabs/avacloud-sdk/models/operations"; +const value: components.ListPChainTransactionsResponse = { + transactions: [ + { + txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", + txType: "AddPermissionlessDelegatorTx", + blockTimestamp: 1648672486, + blockNumber: "", + blockHash: "", + consumedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + amount: "322.83", + assetId: "", + blockNumber: "", + blockTimestamp: 2295.67, + outputIndex: 5068.63, + txHash: "", + utxoType: "TRANSFER", + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + consumedOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + amount: "514.92", + assetId: "", + blockNumber: "", + blockTimestamp: 9384.12, + outputIndex: 2286.47, + txHash: "", + utxoType: "TRANSFER", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + value: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + ], + amountBurned: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountStaked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + subnetOwnershipInfo: { + locktime: 0, + threshold: 1, + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + }, + }, + ], + chainInfo: { + chainName: "c-chain", + network: "mainnet", + }, +}; +``` + +### `components.ListXChainTransactionsResponse` -let value: ListLatestPrimaryNetworkTransactionsResponseBody = { +```typescript +const value: components.ListXChainTransactionsResponse = { transactions: [ { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "BaseTx", + txType: "ImportTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -25,7 +141,7 @@ let value: ListLatestPrimaryNetworkTransactionsResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: @@ -91,7 +207,7 @@ let value: ListLatestPrimaryNetworkTransactionsResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -101,7 +217,7 @@ let value: ListLatestPrimaryNetworkTransactionsResponseBody = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -114,41 +230,115 @@ let value: ListLatestPrimaryNetworkTransactionsResponseBody = { denomination: 9, type: "secp256k1", createdAtTimestamp: 1675444720, - cap: "variable", + cap: "fixed", }, - vertices: [ - { - hash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", - height: 1961, - timestamp: 1600762738, - }, - ], + blockHeight: 1005, + blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", }, ], chainInfo: { - chainName: "c-chain", - network: "fuji", + chainName: "x-chain", + network: "mainnet", }, }; ``` -## Supported Types - -### `components.ListPChainTransactionsResponse` - -```typescript -const value: components.ListPChainTransactionsResponse = /* values here */ -``` - -### `components.ListXChainTransactionsResponse` - -```typescript -const value: components.ListXChainTransactionsResponse = /* values here */ -``` - ### `components.ListCChainAtomicTransactionsResponse` ```typescript -const value: components.ListCChainAtomicTransactionsResponse = /* values here */ +const value: components.ListCChainAtomicTransactionsResponse = { + transactions: [ + { + txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + blockHeight: 1005, + blockHash: + "0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee", + timestamp: 1600762738, + memo: "0x546865204176616c616e6368652050726f6a656374", + amountUnlocked: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + amountCreated: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "secp256k1", + amount: "5001000", + }, + ], + sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + txType: "ExportTx", + evmInputs: [ + { + fromAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + }, + ], + emittedUtxos: [ + { + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + asset: { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", + }, + consumedOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", + createdOnChainId: + "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", + utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", + consumingTxTimestamp: 1599696000, + creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", + credentials: [ + { + signature: + "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", + publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", + }, + ], + locktime: 0, + outputIndex: "38", + threshold: 1, + timestamp: 1599696000, + utxoType: "mint", + }, + ], + }, + ], + chainInfo: { + chainName: "p-chain", + network: "fuji", + }, +}; ``` diff --git a/docs/models/operations/listlatesttransactionsrequest.md b/docs/models/operations/listlatesttransactionsrequest.md index 8725f111..4598aa9e 100644 --- a/docs/models/operations/listlatesttransactionsrequest.md +++ b/docs/models/operations/listlatesttransactionsrequest.md @@ -12,9 +12,9 @@ let value: ListLatestTransactionsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `status` | [components.TransactionStatus](../../models/components/transactionstatus.md) | :heavy_minus_sign: | A status filter for listed transactions. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `status` | [components.TransactionStatus](../../models/components/transactionstatus.md) | :heavy_minus_sign: | A status filter for listed transactions. | | \ No newline at end of file diff --git a/docs/models/operations/listlatesttransactionsresponse.md b/docs/models/operations/listlatesttransactionsresponse.md index 8e687f1c..487a6e41 100644 --- a/docs/models/operations/listlatesttransactionsresponse.md +++ b/docs/models/operations/listlatesttransactionsresponse.md @@ -39,7 +39,7 @@ let value: ListLatestTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CREATION", + callType: "NATIVE_TRANSFER", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/operations/listlatestxchainverticesresponse.md b/docs/models/operations/listlatestxchainverticesresponse.md index 2b571178..13f517f6 100644 --- a/docs/models/operations/listlatestxchainverticesresponse.md +++ b/docs/models/operations/listlatestxchainverticesresponse.md @@ -13,19 +13,19 @@ let value: ListLatestXChainVerticesResponse = { parentHashes: [ "", ], - vertexHeight: 700.42, - vertexIndex: 8224.07, - vertexTimestamp: 6534.21, - txCount: 7263.42, + vertexHeight: 1636.84, + vertexIndex: 4413.74, + vertexTimestamp: 2628.00, + txCount: 5220.62, transactions: [ "", ], - vertexSizeBytes: 5369.23, + vertexSizeBytes: 351.60, }, ], chainInfo: { - chainName: "p-chain", - network: "mainnet", + chainName: "c-chain", + network: "fuji", }, }, }; diff --git a/docs/models/operations/listnativetransactionsrequest.md b/docs/models/operations/listnativetransactionsrequest.md index 88e23ec7..3f22b072 100644 --- a/docs/models/operations/listnativetransactionsrequest.md +++ b/docs/models/operations/listnativetransactionsrequest.md @@ -21,5 +21,5 @@ let value: ListNativeTransactionsRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listnativetransactionsresponse.md b/docs/models/operations/listnativetransactionsresponse.md index d65e6ea9..94e8c330 100644 --- a/docs/models/operations/listnativetransactionsresponse.md +++ b/docs/models/operations/listnativetransactionsresponse.md @@ -39,7 +39,7 @@ let value: ListNativeTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "NATIVE_TRANSFER", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/operations/listpendingprimarynetworkrewardsresponse.md b/docs/models/operations/listpendingprimarynetworkrewardsresponse.md index c9db83db..83cec37a 100644 --- a/docs/models/operations/listpendingprimarynetworkrewardsresponse.md +++ b/docs/models/operations/listpendingprimarynetworkrewardsresponse.md @@ -14,11 +14,11 @@ let value: ListPendingPrimaryNetworkRewardsResponse = { ], txHash: "", amountStaked: "", - nodeId: "", - startTimestamp: 7645.62, - endTimestamp: 6982.48, + nodeId: "", + startTimestamp: 5580.51, + endTimestamp: 7049.48, rewardType: "DELEGATOR", - progress: 1476.86, + progress: 53.10, estimatedReward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md b/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md index af20e838..0c727a09 100644 --- a/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md +++ b/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md @@ -12,17 +12,17 @@ let value: ListPrimaryNetworkBlocksByNodeIdResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 2712.52, + blockTimestamp: 8281.47, blockType: "", - txCount: 4037.93, + txCount: 9851.09, transactions: [ "", ], - blockSizeBytes: 3998.12, + blockSizeBytes: 7833.97, }, ], chainInfo: { - chainName: "c-chain", + chainName: "x-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listsubnetsresponse.md b/docs/models/operations/listsubnetsresponse.md index 734b1dd5..eeca4629 100644 --- a/docs/models/operations/listsubnetsresponse.md +++ b/docs/models/operations/listsubnetsresponse.md @@ -9,14 +9,14 @@ let value: ListSubnetsResponse = { result: { subnets: [ { - createBlockTimestamp: 8869.61, + createBlockTimestamp: 1403.84, createBlockIndex: "", - subnetId: "", + subnetId: "", ownerAddresses: [ "", ], - threshold: 6188.26, - locktime: 1334.61, + threshold: 2273.62, + locktime: 688.52, subnetOwnershipInfo: { locktime: 0, threshold: 1, @@ -26,7 +26,7 @@ let value: ListSubnetsResponse = { }, blockchains: [ { - blockchainId: "", + blockchainId: "", }, ], }, diff --git a/docs/models/operations/listteleportermessagesresponse.md b/docs/models/operations/listteleportermessagesresponse.md index 81929b40..1466fd4d 100644 --- a/docs/models/operations/listteleportermessagesresponse.md +++ b/docs/models/operations/listteleportermessagesresponse.md @@ -9,12 +9,12 @@ let value: ListTeleporterMessagesResponse = { result: { messages: [ { - messageId: "", + messageId: "", teleporterContractAddress: "", - sourceBlockchainId: "", - destinationBlockchainId: "", - sourceEvmChainId: "", - destinationEvmChainId: "", + sourceBlockchainId: "", + destinationBlockchainId: "", + sourceEvmChainId: "", + destinationEvmChainId: "", messageNonce: "", from: "", to: "", @@ -42,10 +42,17 @@ let value: ListTeleporterMessagesResponse = { }, sourceTransaction: { txHash: "", - timestamp: 1785.80, + timestamp: 2445.70, gasSpent: "", }, - status: "pending", + destinationTransaction: { + txHash: "", + timestamp: 4582.12, + gasSpent: "", + rewardRedeemer: "", + delivererAddress: "", + }, + status: "delivered", }, ], }, diff --git a/docs/models/operations/listtokensrequest.md b/docs/models/operations/listtokensrequest.md index 04685bd3..1111fdd8 100644 --- a/docs/models/operations/listtokensrequest.md +++ b/docs/models/operations/listtokensrequest.md @@ -13,9 +13,9 @@ let value: ListTokensRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | -| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | +| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | \ No newline at end of file diff --git a/docs/models/operations/listtokensresponse.md b/docs/models/operations/listtokensresponse.md index 492d593a..bca92c07 100644 --- a/docs/models/operations/listtokensresponse.md +++ b/docs/models/operations/listtokensresponse.md @@ -10,12 +10,15 @@ let value: ListTokensResponse = { tokens: [ { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + name: "Wrapped AVAX", + symbol: "WAVAX", + ercType: "ERC-721", + tokenId: "", + tokenUri: "https://nifty-soliloquy.net", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNKNOWN", }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, ], }, diff --git a/docs/models/operations/listtransactionsrequest.md b/docs/models/operations/listtransactionsrequest.md index f6c4b733..fa020c26 100644 --- a/docs/models/operations/listtransactionsrequest.md +++ b/docs/models/operations/listtransactionsrequest.md @@ -22,6 +22,6 @@ let value: ListTransactionsRequest = { | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `startBlock` | *number* | :heavy_minus_sign: | The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block. | 6479329 | | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listtransactionsresponse.md b/docs/models/operations/listtransactionsresponse.md index b4591116..7accea04 100644 --- a/docs/models/operations/listtransactionsresponse.md +++ b/docs/models/operations/listtransactionsresponse.md @@ -40,7 +40,7 @@ let value: ListTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CREATION", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, @@ -64,7 +64,7 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 5207.61, + logIndex: 9554.66, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -99,16 +99,16 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 2672.07, + logIndex: 5983.16, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://inferior-scale.net/", metadata: { - indexStatus: "INDEXED", + indexStatus: "UNINDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -132,15 +132,15 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3719.19, + logIndex: 2593.77, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", - tokenId: "", - tokenUri: "", + tokenId: "", + tokenUri: "https://lawful-millet.org", metadata: { - indexStatus: "UNKNOWN", + indexStatus: "UNINDEXED", }, }, }, @@ -163,7 +163,7 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CALL", + internalTxType: "STATICCALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/operations/listtransfersrequest.md b/docs/models/operations/listtransfersrequest.md index f95cb68b..f728a628 100644 --- a/docs/models/operations/listtransfersrequest.md +++ b/docs/models/operations/listtransfersrequest.md @@ -21,5 +21,5 @@ let value: ListTransfersRequest = { | `endBlock` | *number* | :heavy_minus_sign: | The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block. | 6479330 | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | | `address` | *string* | :heavy_check_mark: | A wallet address. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | \ No newline at end of file diff --git a/docs/models/operations/listtransfersresponse.md b/docs/models/operations/listtransfersresponse.md index 5b39de31..8e121ae4 100644 --- a/docs/models/operations/listtransfersresponse.md +++ b/docs/models/operations/listtransfersresponse.md @@ -31,20 +31,18 @@ let value: ListTransfersResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 5495.01, - value: "10000000000000000000", - erc20Token: { + logIndex: 5692.87, + erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", - decimals: 18, - logoUri: - "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", - ercType: "ERC-20", - price: { - currencyCode: "usd", - value: 42.42, + ercType: "ERC-721", + tokenId: "", + tokenUri: "https://winding-freezing.net", + metadata: { + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, }, ], diff --git a/docs/models/operations/listvalidatorsresponse.md b/docs/models/operations/listvalidatorsresponse.md index e1e9d91b..9caf9cbf 100644 --- a/docs/models/operations/listvalidatorsresponse.md +++ b/docs/models/operations/listvalidatorsresponse.md @@ -10,14 +10,17 @@ let value: ListValidatorsResponse = { validators: [ { txHash: "", - nodeId: "", - subnetId: "", + nodeId: "", + subnetId: "", amountStaked: "", - startTimestamp: 8717.86, - endTimestamp: 5027.21, - removeTxHash: "", - removeTimestamp: 9223.48, - validationStatus: "removed", + startTimestamp: 3952.33, + endTimestamp: 3108.40, + delegatorCount: 7186.26, + rewards: { + validationRewardAmount: "", + delegationRewardAmount: "", + }, + validationStatus: "completed", }, ], }, diff --git a/docs/models/operations/listwebhooksresponse.md b/docs/models/operations/listwebhooksresponse.md index 17729323..77567534 100644 --- a/docs/models/operations/listwebhooksresponse.md +++ b/docs/models/operations/listwebhooksresponse.md @@ -19,12 +19,12 @@ let value: ListWebhooksResponse = { "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64", ], }, - url: "https://huge-freight.biz", - chainId: "", - status: "active", - createdAt: 6817.40, + url: "https://ill-fated-jogging.name/", + chainId: "", + status: "inactive", + createdAt: 6973.30, name: "", - description: "Extended incremental array", + description: "hierarchy substantial foolish purse thoughtfully sternly", }, ], }, diff --git a/docs/models/operations/posttransactionexportjobrequestbody.md b/docs/models/operations/posttransactionexportjobrequestbody.md index 1d55cd3a..6d664063 100644 --- a/docs/models/operations/posttransactionexportjobrequestbody.md +++ b/docs/models/operations/posttransactionexportjobrequestbody.md @@ -1,11 +1,12 @@ # PostTransactionExportJobRequestBody -## Example Usage -```typescript -import { PostTransactionExportJobRequestBody } from "@avalabs/avacloud-sdk/models/operations"; +## Supported Types + +### `components.CreateEvmTransactionExportRequest` -let value: PostTransactionExportJobRequestBody = { +```typescript +const value: components.CreateEvmTransactionExportRequest = { type: "TRANSACTION_EXPORT_EVM", firstDate: "2023-05-01", lastDate: "2023-05-02", @@ -22,17 +23,20 @@ let value: PostTransactionExportJobRequestBody = { }; ``` -## Supported Types - -### `components.CreateEvmTransactionExportRequest` - -```typescript -const value: components.CreateEvmTransactionExportRequest = /* values here */ -``` - ### `components.CreatePrimaryNetworkTransactionExportRequest` ```typescript -const value: components.CreatePrimaryNetworkTransactionExportRequest = /* values here */ +const value: components.CreatePrimaryNetworkTransactionExportRequest = { + type: "TRANSACTION_EXPORT_PRIMARY_NETWORK", + firstDate: "2023-05-01", + lastDate: "2023-05-02", + startDate: "2023-05-01", + endDate: "2023-05-02", + options: { + includeChains: [ + "p-chain", + ], + }, +}; ``` diff --git a/docs/models/operations/queryparamrequesttype.md b/docs/models/operations/queryparamrequesttype.md index ff1b63a8..a47248e7 100644 --- a/docs/models/operations/queryparamrequesttype.md +++ b/docs/models/operations/queryparamrequesttype.md @@ -7,7 +7,7 @@ Filter data by request type. ```typescript import { QueryParamRequestType } from "@avalabs/avacloud-sdk/models/operations"; -let value: QueryParamRequestType = "rpc"; +let value: QueryParamRequestType = "data"; ``` ## Values diff --git a/docs/models/operations/reindexnftrequest.md b/docs/models/operations/reindexnftrequest.md index 5f99db48..8fb8b38b 100644 --- a/docs/models/operations/reindexnftrequest.md +++ b/docs/models/operations/reindexnftrequest.md @@ -13,8 +13,8 @@ let value: ReindexNftRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | -| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | -| `tokenId` | *string* | :heavy_check_mark: | TokenId on the contract | 145 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `chainId` | *string* | :heavy_minus_sign: | A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. | 43114 | +| `address` | *string* | :heavy_check_mark: | Contract address on the relevant chain. | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | +| `tokenId` | *string* | :heavy_check_mark: | TokenId on the contract | 145 | \ No newline at end of file diff --git a/docs/sdks/avacloudsdkbalances/README.md b/docs/sdks/avacloudsdkbalances/README.md index 3ecc6ea3..2292ea62 100644 --- a/docs/sdks/avacloudsdkbalances/README.md +++ b/docs/sdks/avacloudsdkbalances/README.md @@ -34,9 +34,9 @@ async function run() { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", currency: "usd", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -72,7 +72,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -134,7 +134,7 @@ async function run() { contractAddresses: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7, 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB", currency: "usd", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -236,7 +236,7 @@ async function run() { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", contractAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -339,7 +339,7 @@ async function run() { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", contractAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -440,7 +440,7 @@ async function run() { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", contractAddress: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/avacloudsdkblocks/README.md b/docs/sdks/avacloudsdkblocks/README.md index c8a96510..f7d5b6a8 100644 --- a/docs/sdks/avacloudsdkblocks/README.md +++ b/docs/sdks/avacloudsdkblocks/README.md @@ -27,7 +27,7 @@ async function run() { const result = await avaCloudSDK.data.evm.blocks.getLatestBlocks({ pageSize: 10, }); - + for await (const page of result) { // Handle the page console.log(page); @@ -121,9 +121,9 @@ async function run() { const result = await avaCloudSDK.data.evm.blocks.getBlock({ blockId: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -157,7 +157,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/avacloudsdkchains/README.md b/docs/sdks/avacloudsdkchains/README.md index 04fa15c7..893d1c1d 100644 --- a/docs/sdks/avacloudsdkchains/README.md +++ b/docs/sdks/avacloudsdkchains/README.md @@ -28,9 +28,9 @@ async function run() { network: "mainnet", feature: "nftIndexing", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -65,7 +65,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -117,9 +117,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.data.evm.chains.getChainInfo({}); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -151,7 +151,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/avacloudsdkhealthcheck/README.md b/docs/sdks/avacloudsdkhealthcheck/README.md index 4a936168..98fb6b4f 100644 --- a/docs/sdks/avacloudsdkhealthcheck/README.md +++ b/docs/sdks/avacloudsdkhealthcheck/README.md @@ -24,9 +24,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.data.healthCheck.dataHealthCheck(); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -58,7 +58,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/avacloudsdkmetrics/README.md b/docs/sdks/avacloudsdkmetrics/README.md index 520455ec..da828036 100644 --- a/docs/sdks/avacloudsdkmetrics/README.md +++ b/docs/sdks/avacloudsdkmetrics/README.md @@ -33,7 +33,7 @@ async function run() { timeInterval: "day", pageSize: 10, }); - + for await (const page of result) { // Handle the page console.log(page); @@ -131,9 +131,9 @@ async function run() { const result = await avaCloudSDK.metrics.chain.metrics.getTeleporterMetricsByChain({ metric: "teleporterSourceTxnCount", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -167,7 +167,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -221,9 +221,9 @@ async function run() { const result = await avaCloudSDK.metrics.chain.metrics.getEvmChainRollingWindowMetrics({ metric: "txCount", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -257,7 +257,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -315,7 +315,7 @@ async function run() { pageSize: 10, subnetId: "11111111111111111111111111111111LpoYY", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/avacloudsdktransactions/README.md b/docs/sdks/avacloudsdktransactions/README.md index 15c82790..6cc00524 100644 --- a/docs/sdks/avacloudsdktransactions/README.md +++ b/docs/sdks/avacloudsdktransactions/README.md @@ -38,9 +38,9 @@ async function run() { address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", currency: "usd", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -75,7 +75,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -130,7 +130,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -228,7 +228,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -331,7 +331,7 @@ async function run() { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -432,7 +432,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -532,7 +532,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -632,7 +632,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -732,7 +732,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -834,7 +834,7 @@ async function run() { pageSize: 10, address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -931,9 +931,9 @@ async function run() { const result = await avaCloudSDK.data.evm.transactions.getTransaction({ txHash: "0x8bf584d7b14b92a32a339872a66b134a70ba3ba7c305823f348db6f860253f45", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -967,7 +967,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -1021,9 +1021,9 @@ async function run() { const result = await avaCloudSDK.data.evm.transactions.getTransactionsForBlock({ blockId: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -1057,7 +1057,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -1111,7 +1111,7 @@ async function run() { const result = await avaCloudSDK.data.evm.transactions.listLatestTransactions({ pageSize: 10, }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/balances/README.md b/docs/sdks/balances/README.md index 8a1a514d..f92afa00 100644 --- a/docs/sdks/balances/README.md +++ b/docs/sdks/balances/README.md @@ -30,9 +30,9 @@ async function run() { addresses: "avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg", blockchainId: "p-chain", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -68,7 +68,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/blocks/README.md b/docs/sdks/blocks/README.md index 06292b7a..9c9511f3 100644 --- a/docs/sdks/blocks/README.md +++ b/docs/sdks/blocks/README.md @@ -29,9 +29,9 @@ async function run() { blockchainId: "p-chain", blockId: "5615di9ytxujackzaXNrVuWQy5y8Yrt8chPCscMr5Ku9YxJ1S", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -66,7 +66,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -122,7 +122,7 @@ async function run() { blockchainId: "p-chain", nodeId: "NodeID-111111111111111111116DBWJs", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -219,7 +219,7 @@ async function run() { pageSize: 10, blockchainId: "p-chain", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/chains/README.md b/docs/sdks/chains/README.md index 73256fb0..777f85dc 100644 --- a/docs/sdks/chains/README.md +++ b/docs/sdks/chains/README.md @@ -27,7 +27,7 @@ async function run() { const result = await avaCloudSDK.metrics.evm.chains.listChains({ network: "mainnet", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -119,9 +119,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.metrics.evm.chains.getChain({}); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -153,7 +153,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/contracts/README.md b/docs/sdks/contracts/README.md index 47c71248..a46b3e11 100644 --- a/docs/sdks/contracts/README.md +++ b/docs/sdks/contracts/README.md @@ -26,9 +26,9 @@ async function run() { const result = await avaCloudSDK.data.evm.contracts.getContractMetadata({ address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -62,7 +62,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/healthcheck/README.md b/docs/sdks/healthcheck/README.md index c22f5064..d4cfbb51 100644 --- a/docs/sdks/healthcheck/README.md +++ b/docs/sdks/healthcheck/README.md @@ -24,9 +24,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.metrics.healthCheck.metricsHealthCheck(); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -58,7 +58,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/lookingglass/README.md b/docs/sdks/lookingglass/README.md index 17292f9f..277f1499 100644 --- a/docs/sdks/lookingglass/README.md +++ b/docs/sdks/lookingglass/README.md @@ -31,7 +31,7 @@ async function run() { pageSize: 10, address: "0x7a420AEFF902AAa2c85a190D7B91Ce8BEFffFE14", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -130,7 +130,7 @@ async function run() { pageSize: 10, address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -229,7 +229,7 @@ async function run() { threshold: "1000000", pageSize: 10, }); - + for await (const page of result) { // Handle the page console.log(page); @@ -328,7 +328,7 @@ async function run() { subnetId: "11111111111111111111111111111111LpoYY", network: "mainnet", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -436,7 +436,7 @@ async function run() { ], operator: "OR", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/nfts/README.md b/docs/sdks/nfts/README.md index b4c15a49..43aac792 100644 --- a/docs/sdks/nfts/README.md +++ b/docs/sdks/nfts/README.md @@ -29,6 +29,8 @@ async function run() { address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", tokenId: "145", }); + + } run(); @@ -117,7 +119,7 @@ async function run() { pageSize: 10, address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -213,9 +215,9 @@ async function run() { address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", tokenId: "145", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -250,7 +252,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/operations/README.md b/docs/sdks/operations/README.md index e0cd33f3..a3b83765 100644 --- a/docs/sdks/operations/README.md +++ b/docs/sdks/operations/README.md @@ -27,9 +27,9 @@ async function run() { const result = await avaCloudSDK.data.operations.getOperationResult({ operationId: "aa22054a-cb7c-4a4e-9b83-59f2ede74138", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -63,7 +63,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -128,9 +128,9 @@ async function run() { ], }, }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -173,7 +173,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/primarynetwork/README.md b/docs/sdks/primarynetwork/README.md index 28d6cd35..74801302 100644 --- a/docs/sdks/primarynetwork/README.md +++ b/docs/sdks/primarynetwork/README.md @@ -35,9 +35,9 @@ async function run() { blockchainId: "x-chain", assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -72,7 +72,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -126,9 +126,9 @@ async function run() { const result = await avaCloudSDK.data.primaryNetwork.getChainIdsForAddresses({ addresses: "avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -162,7 +162,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -214,9 +214,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.data.primaryNetwork.getNetworkDetails({}); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -248,7 +248,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -303,7 +303,7 @@ async function run() { pageSize: 10, sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -399,7 +399,7 @@ async function run() { pageSize: 10, sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -494,9 +494,9 @@ async function run() { const result = await avaCloudSDK.data.primaryNetwork.getSubnetById({ subnetId: "11111111111111111111111111111111LpoYY", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -530,7 +530,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -596,7 +596,7 @@ async function run() { maxUptimePerformance: 100, subnetId: "11111111111111111111111111111111LpoYY", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -705,7 +705,7 @@ async function run() { validationStatus: "completed", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -806,7 +806,7 @@ async function run() { delegationStatus: "completed", nodeIds: "NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/rewards/README.md b/docs/sdks/rewards/README.md index 08b015f7..4d548d1a 100644 --- a/docs/sdks/rewards/README.md +++ b/docs/sdks/rewards/README.md @@ -30,7 +30,7 @@ async function run() { nodeIds: "NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -131,7 +131,7 @@ async function run() { sortOrder: "asc", currency: "usd", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/teleporter/README.md b/docs/sdks/teleporter/README.md index 549e4dda..940ecc1a 100644 --- a/docs/sdks/teleporter/README.md +++ b/docs/sdks/teleporter/README.md @@ -28,9 +28,9 @@ async function run() { const result = await avaCloudSDK.data.teleporter.getTeleporterMessage({ messageId: "acf1c8b06f9aec48e9fcbefbbe576ae8a7ca3b327fcae111396e7cc99956674d", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -64,7 +64,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -123,7 +123,7 @@ async function run() { from: "0x321eDA69247566D662178feE695C7026c604Cd94", network: "mainnet", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -224,9 +224,9 @@ async function run() { address: "0x8578AE7723751446B196bD5124e1bF57B40EB7Bc", network: "mainnet", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -262,7 +262,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/docs/sdks/transactions/README.md b/docs/sdks/transactions/README.md index 3891289a..b9ca7c93 100644 --- a/docs/sdks/transactions/README.md +++ b/docs/sdks/transactions/README.md @@ -30,9 +30,9 @@ async function run() { blockchainId: "p-chain", txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -67,7 +67,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -133,7 +133,7 @@ async function run() { blockchainId: "p-chain", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -243,7 +243,7 @@ async function run() { blockchainId: "p-chain", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -352,7 +352,7 @@ async function run() { blockchainId: "x-chain", assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/usagemetrics/README.md b/docs/sdks/usagemetrics/README.md index 6686b4a8..4054ecd2 100644 --- a/docs/sdks/usagemetrics/README.md +++ b/docs/sdks/usagemetrics/README.md @@ -30,9 +30,9 @@ async function run() { timeInterval: "daily", groupBy: "requestPath", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -69,7 +69,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -124,7 +124,7 @@ async function run() { startTimestamp: 1689541049, endTimestamp: 1689800249, }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/utxos/README.md b/docs/sdks/utxos/README.md index 4080920e..f2fa7882 100644 --- a/docs/sdks/utxos/README.md +++ b/docs/sdks/utxos/README.md @@ -29,7 +29,7 @@ async function run() { blockchainId: "p-chain", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/vertices/README.md b/docs/sdks/vertices/README.md index 7d695d82..ac0e171c 100644 --- a/docs/sdks/vertices/README.md +++ b/docs/sdks/vertices/README.md @@ -29,7 +29,7 @@ async function run() { pageSize: 10, blockchainId: "x-chain", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -125,9 +125,9 @@ async function run() { vertexHash: "haP1CW56cspZY7aEuqHNrtpvhqCaMTxQaYe6j5u2Mbn4L2Gqr", blockchainId: "x-chain", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -162,7 +162,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -219,7 +219,7 @@ async function run() { blockchainId: "x-chain", sortOrder: "asc", }); - + for await (const page of result) { // Handle the page console.log(page); diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index 84dc80b9..24c8af99 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -36,7 +36,7 @@ async function run() { pageSize: 10, status: "active", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -141,9 +141,9 @@ async function run() { ], }, }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -187,7 +187,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -241,9 +241,9 @@ async function run() { const result = await avaCloudSDK.data.webhooks.getWebhook({ id: "f33de69c-d13b-4691-908f-870d6e2e6b04", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -277,7 +277,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -331,9 +331,9 @@ async function run() { const result = await avaCloudSDK.data.webhooks.deactivateWebhook({ id: "f33de69c-d13b-4691-908f-870d6e2e6b04", }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -367,7 +367,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -422,9 +422,9 @@ async function run() { id: "f33de69c-d13b-4691-908f-870d6e2e6b04", updateWebhookRequest: {}, }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -459,7 +459,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -511,9 +511,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.data.webhooks.generateSharedSecret(); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -545,7 +545,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -596,9 +596,9 @@ const avaCloudSDK = new AvaCloudSDK({ async function run() { const result = await avaCloudSDK.data.webhooks.getSharedSecret(); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -630,7 +630,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -684,7 +684,7 @@ async function run() { pageSize: 10, id: "f33de69c-d13b-4691-908f-870d6e2e6b04", }); - + for await (const page of result) { // Handle the page console.log(page); @@ -784,9 +784,9 @@ async function run() { ], }, }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -825,7 +825,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); @@ -884,9 +884,9 @@ async function run() { ], }, }); - + // Handle the result - console.log(result) + console.log(result); } run(); @@ -925,7 +925,7 @@ async function run() { const { value: result } = res; // Handle the result - console.log(result) + console.log(result); } run(); diff --git a/package-lock.json b/package-lock.json index a48c76c0..435f5416 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.5.1", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@avalabs/avacloud-sdk", - "version": "0.5.1", + "version": "0.6.0", "license": "SEE LICENSE", "dependencies": { "json-canonicalize": "^1.0.6" diff --git a/package.json b/package.json index 8ed9c7ab..cecf1f34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.5.1", + "version": "0.6.0", "author": "AvaCloud", "homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started", "license": "SEE LICENSE", diff --git a/src/funcs/dataEvmBalancesListCollectibleBalances.ts b/src/funcs/dataEvmBalancesListCollectibleBalances.ts index 024cbb16..b06c6e14 100644 --- a/src/funcs/dataEvmBalancesListCollectibleBalances.ts +++ b/src/funcs/dataEvmBalancesListCollectibleBalances.ts @@ -228,7 +228,6 @@ export async function dataEvmBalancesListCollectibleBalances( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmBalancesListErc1155Balances.ts b/src/funcs/dataEvmBalancesListErc1155Balances.ts index df4ff7a5..9e4d9efe 100644 --- a/src/funcs/dataEvmBalancesListErc1155Balances.ts +++ b/src/funcs/dataEvmBalancesListErc1155Balances.ts @@ -231,7 +231,6 @@ export async function dataEvmBalancesListErc1155Balances( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmBalancesListErc20Balances.ts b/src/funcs/dataEvmBalancesListErc20Balances.ts index e98b3782..e4d7e18a 100644 --- a/src/funcs/dataEvmBalancesListErc20Balances.ts +++ b/src/funcs/dataEvmBalancesListErc20Balances.ts @@ -232,7 +232,6 @@ export async function dataEvmBalancesListErc20Balances( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmBalancesListErc721Balances.ts b/src/funcs/dataEvmBalancesListErc721Balances.ts index ac13ce6f..3109c631 100644 --- a/src/funcs/dataEvmBalancesListErc721Balances.ts +++ b/src/funcs/dataEvmBalancesListErc721Balances.ts @@ -227,7 +227,6 @@ export async function dataEvmBalancesListErc721Balances( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmBlocksGetLatestBlocks.ts b/src/funcs/dataEvmBlocksGetLatestBlocks.ts index ab2f2960..8c6df1f8 100644 --- a/src/funcs/dataEvmBlocksGetLatestBlocks.ts +++ b/src/funcs/dataEvmBlocksGetLatestBlocks.ts @@ -216,7 +216,6 @@ export async function dataEvmBlocksGetLatestBlocks( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListContractDeployments.ts b/src/funcs/dataEvmTransactionsListContractDeployments.ts index 17f71671..55e3316a 100644 --- a/src/funcs/dataEvmTransactionsListContractDeployments.ts +++ b/src/funcs/dataEvmTransactionsListContractDeployments.ts @@ -225,7 +225,6 @@ export async function dataEvmTransactionsListContractDeployments( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts index 6bfdb75d..0a068b55 100644 --- a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts @@ -227,7 +227,6 @@ export async function dataEvmTransactionsListErc1155Transactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListErc20Transactions.ts b/src/funcs/dataEvmTransactionsListErc20Transactions.ts index ffb0061f..acf7ffce 100644 --- a/src/funcs/dataEvmTransactionsListErc20Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc20Transactions.ts @@ -227,7 +227,6 @@ export async function dataEvmTransactionsListErc20Transactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListErc721Transactions.ts b/src/funcs/dataEvmTransactionsListErc721Transactions.ts index 490ce980..5c1cd624 100644 --- a/src/funcs/dataEvmTransactionsListErc721Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc721Transactions.ts @@ -227,7 +227,6 @@ export async function dataEvmTransactionsListErc721Transactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListInternalTransactions.ts b/src/funcs/dataEvmTransactionsListInternalTransactions.ts index 2f1776a7..3f06f0f3 100644 --- a/src/funcs/dataEvmTransactionsListInternalTransactions.ts +++ b/src/funcs/dataEvmTransactionsListInternalTransactions.ts @@ -229,7 +229,6 @@ export async function dataEvmTransactionsListInternalTransactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListLatestTransactions.ts b/src/funcs/dataEvmTransactionsListLatestTransactions.ts index 8def5b98..6d2e20c3 100644 --- a/src/funcs/dataEvmTransactionsListLatestTransactions.ts +++ b/src/funcs/dataEvmTransactionsListLatestTransactions.ts @@ -220,7 +220,6 @@ export async function dataEvmTransactionsListLatestTransactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListNativeTransactions.ts b/src/funcs/dataEvmTransactionsListNativeTransactions.ts index 16358f5f..eda0f317 100644 --- a/src/funcs/dataEvmTransactionsListNativeTransactions.ts +++ b/src/funcs/dataEvmTransactionsListNativeTransactions.ts @@ -227,7 +227,6 @@ export async function dataEvmTransactionsListNativeTransactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListTransactions.ts b/src/funcs/dataEvmTransactionsListTransactions.ts index 00be9e3f..694b05c2 100644 --- a/src/funcs/dataEvmTransactionsListTransactions.ts +++ b/src/funcs/dataEvmTransactionsListTransactions.ts @@ -227,7 +227,6 @@ export async function dataEvmTransactionsListTransactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataEvmTransactionsListTransfers.ts b/src/funcs/dataEvmTransactionsListTransfers.ts index 74c9ee80..c1282abe 100644 --- a/src/funcs/dataEvmTransactionsListTransfers.ts +++ b/src/funcs/dataEvmTransactionsListTransfers.ts @@ -224,7 +224,6 @@ export async function dataEvmTransactionsListTransfers( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataNftsListTokens.ts b/src/funcs/dataNftsListTokens.ts index c0b3c84e..da30bbc0 100644 --- a/src/funcs/dataNftsListTokens.ts +++ b/src/funcs/dataNftsListTokens.ts @@ -220,7 +220,6 @@ export async function dataNftsListTokens( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts index b049440d..e613fc7e 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts @@ -229,7 +229,6 @@ export async function dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts index b551cc54..57d539d4 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts @@ -233,7 +233,6 @@ export async function dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts index fa7db494..9d2cc57a 100644 --- a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts @@ -227,7 +227,6 @@ export async function dataPrimaryNetworkGetSingleValidatorDetails( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkListBlockchains.ts b/src/funcs/dataPrimaryNetworkListBlockchains.ts index 4eb431c7..b848f557 100644 --- a/src/funcs/dataPrimaryNetworkListBlockchains.ts +++ b/src/funcs/dataPrimaryNetworkListBlockchains.ts @@ -217,7 +217,6 @@ export async function dataPrimaryNetworkListBlockchains( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkListDelegators.ts b/src/funcs/dataPrimaryNetworkListDelegators.ts index 79086535..93342fa7 100644 --- a/src/funcs/dataPrimaryNetworkListDelegators.ts +++ b/src/funcs/dataPrimaryNetworkListDelegators.ts @@ -220,7 +220,6 @@ export async function dataPrimaryNetworkListDelegators( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkListSubnets.ts b/src/funcs/dataPrimaryNetworkListSubnets.ts index 167ddf2d..5a16481e 100644 --- a/src/funcs/dataPrimaryNetworkListSubnets.ts +++ b/src/funcs/dataPrimaryNetworkListSubnets.ts @@ -217,7 +217,6 @@ export async function dataPrimaryNetworkListSubnets( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkListValidators.ts b/src/funcs/dataPrimaryNetworkListValidators.ts index 3e483e83..bc8d7675 100644 --- a/src/funcs/dataPrimaryNetworkListValidators.ts +++ b/src/funcs/dataPrimaryNetworkListValidators.ts @@ -229,7 +229,6 @@ export async function dataPrimaryNetworkListValidators( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts index ccc2469d..75a23e0c 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts @@ -226,7 +226,6 @@ export async function dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewar > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts index f35e41c7..e2d90855 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts @@ -228,7 +228,6 @@ export async function dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts index 9c457951..083cf452 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts @@ -235,7 +235,6 @@ export async function dataPrimaryNetworkTransactionsListActivePrimaryNetworkStak > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts index a4777416..38a1df60 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts @@ -232,7 +232,6 @@ export async function dataPrimaryNetworkTransactionsListAssetTransactions( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts index 9dee4f23..94734596 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts @@ -237,7 +237,6 @@ export async function dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTran > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts index 390b5c28..9ce73188 100644 --- a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts +++ b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts @@ -229,7 +229,6 @@ export async function dataPrimaryNetworkUtxosGetUtxosByAddresses( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts index 1d28c42c..a04bdda9 100644 --- a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts +++ b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts @@ -226,7 +226,6 @@ export async function dataPrimaryNetworkVerticesGetVertexByHeight( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts index f35eab49..6fc5518a 100644 --- a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts +++ b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts @@ -225,7 +225,6 @@ export async function dataPrimaryNetworkVerticesListLatestXChainVertices( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataTeleporterListTeleporterMessages.ts b/src/funcs/dataTeleporterListTeleporterMessages.ts index 4da7b3f5..e3dee26b 100644 --- a/src/funcs/dataTeleporterListTeleporterMessages.ts +++ b/src/funcs/dataTeleporterListTeleporterMessages.ts @@ -217,7 +217,6 @@ export async function dataTeleporterListTeleporterMessages( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataUsageMetricsGetApiLogs.ts b/src/funcs/dataUsageMetricsGetApiLogs.ts index 5897accd..2c12b904 100644 --- a/src/funcs/dataUsageMetricsGetApiLogs.ts +++ b/src/funcs/dataUsageMetricsGetApiLogs.ts @@ -214,7 +214,6 @@ export async function dataUsageMetricsGetApiLogs( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts index 0b535b7a..5703ac81 100644 --- a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts +++ b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts @@ -218,7 +218,6 @@ export async function dataWebhooksGetAddressesFromWebhook( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/dataWebhooksListWebhooks.ts b/src/funcs/dataWebhooksListWebhooks.ts index 983028f5..182a1555 100644 --- a/src/funcs/dataWebhooksListWebhooks.ts +++ b/src/funcs/dataWebhooksListWebhooks.ts @@ -209,7 +209,6 @@ export async function dataWebhooksListWebhooks( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts index 11ced1f0..58dc3346 100644 --- a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts +++ b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts @@ -225,7 +225,6 @@ export async function metricsChainMetricsGetEvmChainMetrics( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsChainMetricsGetStakingMetrics.ts b/src/funcs/metricsChainMetricsGetStakingMetrics.ts index 7428d4c5..3f96e2a0 100644 --- a/src/funcs/metricsChainMetricsGetStakingMetrics.ts +++ b/src/funcs/metricsChainMetricsGetStakingMetrics.ts @@ -227,7 +227,6 @@ export async function metricsChainMetricsGetStakingMetrics( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsEvmChainsListChains.ts b/src/funcs/metricsEvmChainsListChains.ts index b19e5d31..0d6691be 100644 --- a/src/funcs/metricsEvmChainsListChains.ts +++ b/src/funcs/metricsEvmChainsListChains.ts @@ -206,7 +206,6 @@ export async function metricsEvmChainsListChains( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsLookingGlassCompositeQuery.ts b/src/funcs/metricsLookingGlassCompositeQuery.ts index 1dffed38..8c1fcd5f 100644 --- a/src/funcs/metricsLookingGlassCompositeQuery.ts +++ b/src/funcs/metricsLookingGlassCompositeQuery.ts @@ -204,7 +204,6 @@ export async function metricsLookingGlassCompositeQuery( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts index d316dac1..03854e2a 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts @@ -232,7 +232,6 @@ export async function metricsLookingGlassGetAddressesByBalanceOverTime( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts index 38873409..3a94a032 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts @@ -212,7 +212,6 @@ export async function metricsLookingGlassGetAddressesByBtcbBridged( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts index 9f0eca2c..9e852f38 100644 --- a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts +++ b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts @@ -229,7 +229,6 @@ export async function metricsLookingGlassGetNftHoldersByContractAddress( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts index 89d76105..13afa1c0 100644 --- a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts +++ b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts @@ -223,7 +223,6 @@ export async function metricsLookingGlassGetValidatorsByDateRange( > > => { const nextCursor = dlv(responseData, "nextPageToken"); - if (nextCursor == null) { return () => null; } diff --git a/src/lib/config.ts b/src/lib/config.ts index d737b01a..e6afc817 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -50,8 +50,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "Beta", - sdkVersion: "0.5.1", - genVersion: "2.422.6", + sdkVersion: "0.6.0", + genVersion: "2.426.2", userAgent: - "speakeasy-sdk/typescript 0.5.1 2.422.6 Beta @avalabs/avacloud-sdk", + "speakeasy-sdk/typescript 0.6.0 2.426.2 Beta @avalabs/avacloud-sdk", } as const; diff --git a/src/models/components/pchainlookingglassresponse.ts b/src/models/components/pchainlookingglassresponse.ts index 89580fbc..0cc3413e 100644 --- a/src/models/components/pchainlookingglassresponse.ts +++ b/src/models/components/pchainlookingglassresponse.ts @@ -18,7 +18,7 @@ export type PChainLookingGlassResponse = { /** * List of addresses that match provided criteria. */ - addresses: PChainAddressDetails; + addresses: Array; }; /** @internal */ @@ -28,13 +28,13 @@ export const PChainLookingGlassResponse$inboundSchema: z.ZodType< unknown > = z.object({ nextPageToken: z.string().optional(), - addresses: PChainAddressDetails$inboundSchema, + addresses: z.array(PChainAddressDetails$inboundSchema), }); /** @internal */ export type PChainLookingGlassResponse$Outbound = { nextPageToken?: string | undefined; - addresses: PChainAddressDetails$Outbound; + addresses: Array; }; /** @internal */ @@ -44,7 +44,7 @@ export const PChainLookingGlassResponse$outboundSchema: z.ZodType< PChainLookingGlassResponse > = z.object({ nextPageToken: z.string().optional(), - addresses: PChainAddressDetails$outboundSchema, + addresses: z.array(PChainAddressDetails$outboundSchema), }); /** diff --git a/src/models/errors/badgateway.ts b/src/models/errors/badgateway.ts index b06743db..3c44c2ed 100644 --- a/src/models/errors/badgateway.ts +++ b/src/models/errors/badgateway.ts @@ -9,12 +9,6 @@ import * as z from "zod"; */ export type BadGatewayMessage = string | Array; -/** - * This is an internal error indicating invalid response - * - * @remarks - * received by the client-facing proxy or gateway from the upstream server. - */ export type BadGatewayData = { /** * The error message describing the reason for the exception @@ -30,12 +24,6 @@ export type BadGatewayData = { error: string; }; -/** - * This is an internal error indicating invalid response - * - * @remarks - * received by the client-facing proxy or gateway from the upstream server. - */ export class BadGateway extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/badrequest.ts b/src/models/errors/badrequest.ts index 7278b80c..0de6e7cd 100644 --- a/src/models/errors/badrequest.ts +++ b/src/models/errors/badrequest.ts @@ -9,13 +9,6 @@ import * as z from "zod"; */ export type Message = string | Array; -/** - * Bad requests generally mean the client has passed invalid - * - * @remarks - * or malformed parameters. Error messages in the response could help in - * evaluating the error. - */ export type BadRequestData = { /** * The error message describing the reason for the exception @@ -31,13 +24,6 @@ export type BadRequestData = { error: string; }; -/** - * Bad requests generally mean the client has passed invalid - * - * @remarks - * or malformed parameters. Error messages in the response could help in - * evaluating the error. - */ export class BadRequest extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/forbidden.ts b/src/models/errors/forbidden.ts index 6d3b5849..6d56bcdf 100644 --- a/src/models/errors/forbidden.ts +++ b/src/models/errors/forbidden.ts @@ -9,13 +9,6 @@ import * as z from "zod"; */ export type ForbiddenMessage = string | Array; -/** - * When a client attempts to access resources with valid - * - * @remarks - * credentials but doesn't have the privilege to perform that action, - * the server responds with 403. - */ export type ForbiddenData = { /** * The error message describing the reason for the exception @@ -31,13 +24,6 @@ export type ForbiddenData = { error: string; }; -/** - * When a client attempts to access resources with valid - * - * @remarks - * credentials but doesn't have the privilege to perform that action, - * the server responds with 403. - */ export class Forbidden extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/internalservererror.ts b/src/models/errors/internalservererror.ts index d9bf5498..cedef14c 100644 --- a/src/models/errors/internalservererror.ts +++ b/src/models/errors/internalservererror.ts @@ -9,14 +9,6 @@ import * as z from "zod"; */ export type InternalServerErrorMessage = string | Array; -/** - * The error is a generic server side error that is - * - * @remarks - * returned for any uncaught and unexpected issues on the server side. - * This should be very rare, and you may reach out to us if the problem - * persists for a longer duration. - */ export type InternalServerErrorData = { /** * The error message describing the reason for the exception @@ -32,14 +24,6 @@ export type InternalServerErrorData = { error: string; }; -/** - * The error is a generic server side error that is - * - * @remarks - * returned for any uncaught and unexpected issues on the server side. - * This should be very rare, and you may reach out to us if the problem - * persists for a longer duration. - */ export class InternalServerError extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/notfound.ts b/src/models/errors/notfound.ts index e1f84f81..0e87cf96 100644 --- a/src/models/errors/notfound.ts +++ b/src/models/errors/notfound.ts @@ -9,13 +9,6 @@ import * as z from "zod"; */ export type NotFoundMessage = string | Array; -/** - * The error is mostly returned when the client requests - * - * @remarks - * with either mistyped URL, or the passed resource is moved or deleted, - * or the resource doesn't exist. - */ export type NotFoundData = { /** * The error message describing the reason for the exception @@ -31,13 +24,6 @@ export type NotFoundData = { error: string; }; -/** - * The error is mostly returned when the client requests - * - * @remarks - * with either mistyped URL, or the passed resource is moved or deleted, - * or the resource doesn't exist. - */ export class NotFound extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/serviceunavailable.ts b/src/models/errors/serviceunavailable.ts index 00afa866..af1b705b 100644 --- a/src/models/errors/serviceunavailable.ts +++ b/src/models/errors/serviceunavailable.ts @@ -9,13 +9,6 @@ import * as z from "zod"; */ export type ServiceUnavailableMessage = string | Array; -/** - * The error is returned for certain routes on a particular - * - * @remarks - * Subnet. This indicates an internal problem with our Subnet node, and may - * not necessarily mean the Subnet is down or affected. - */ export type ServiceUnavailableData = { /** * The error message describing the reason for the exception @@ -31,13 +24,6 @@ export type ServiceUnavailableData = { error: string; }; -/** - * The error is returned for certain routes on a particular - * - * @remarks - * Subnet. This indicates an internal problem with our Subnet node, and may - * not necessarily mean the Subnet is down or affected. - */ export class ServiceUnavailable extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/toomanyrequests.ts b/src/models/errors/toomanyrequests.ts index 3e3b1f65..9910056d 100644 --- a/src/models/errors/toomanyrequests.ts +++ b/src/models/errors/toomanyrequests.ts @@ -9,12 +9,6 @@ import * as z from "zod"; */ export type TooManyRequestsMessage = string | Array; -/** - * This error is returned when the client has sent too many, - * - * @remarks - * and has hit the rate limit. - */ export type TooManyRequestsData = { /** * The error message describing the reason for the exception @@ -30,12 +24,6 @@ export type TooManyRequestsData = { error: string; }; -/** - * This error is returned when the client has sent too many, - * - * @remarks - * and has hit the rate limit. - */ export class TooManyRequests extends Error { /** * The HTTP status code of the response diff --git a/src/models/errors/unauthorized.ts b/src/models/errors/unauthorized.ts index 26406b00..4029fee5 100644 --- a/src/models/errors/unauthorized.ts +++ b/src/models/errors/unauthorized.ts @@ -9,13 +9,6 @@ import * as z from "zod"; */ export type UnauthorizedMessage = string | Array; -/** - * When a client attempts to access resources that require - * - * @remarks - * authorization credentials but the client lacks proper authentication - * in the request, the server responds with 401. - */ export type UnauthorizedData = { /** * The error message describing the reason for the exception @@ -31,13 +24,6 @@ export type UnauthorizedData = { error: string; }; -/** - * When a client attempts to access resources that require - * - * @remarks - * authorization credentials but the client lacks proper authentication - * in the request, the server responds with 401. - */ export class Unauthorized extends Error { /** * The HTTP status code of the response diff --git a/src/models/operations/getblock.ts b/src/models/operations/getblock.ts index e8cd89f7..42e35f93 100644 --- a/src/models/operations/getblock.ts +++ b/src/models/operations/getblock.ts @@ -17,7 +17,7 @@ export type GetBlockGlobals = { export type GetBlockRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/getchaininfo.ts b/src/models/operations/getchaininfo.ts index b4b06002..09b48e3d 100644 --- a/src/models/operations/getchaininfo.ts +++ b/src/models/operations/getchaininfo.ts @@ -17,7 +17,7 @@ export type GetChainInfoGlobals = { export type GetChainInfoRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; }; diff --git a/src/models/operations/getcontractmetadata.ts b/src/models/operations/getcontractmetadata.ts index 5cf573f1..e36e8182 100644 --- a/src/models/operations/getcontractmetadata.ts +++ b/src/models/operations/getcontractmetadata.ts @@ -18,7 +18,7 @@ export type GetContractMetadataGlobals = { export type GetContractMetadataRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/getdeploymenttransaction.ts b/src/models/operations/getdeploymenttransaction.ts index 77ce2bba..a418f2f9 100644 --- a/src/models/operations/getdeploymenttransaction.ts +++ b/src/models/operations/getdeploymenttransaction.ts @@ -18,7 +18,7 @@ export type GetDeploymentTransactionGlobals = { export type GetDeploymentTransactionRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/getlatestblocks.ts b/src/models/operations/getlatestblocks.ts index 84962d9d..0e83c8ed 100644 --- a/src/models/operations/getlatestblocks.ts +++ b/src/models/operations/getlatestblocks.ts @@ -27,7 +27,7 @@ export type GetLatestBlocksRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; }; diff --git a/src/models/operations/getnativebalance.ts b/src/models/operations/getnativebalance.ts index e3d09cc3..1bafd6b5 100644 --- a/src/models/operations/getnativebalance.ts +++ b/src/models/operations/getnativebalance.ts @@ -22,7 +22,7 @@ export type GetNativeBalanceRequest = { */ blockNumber?: string | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/gettokendetails.ts b/src/models/operations/gettokendetails.ts index 7ad7ea57..f30b0396 100644 --- a/src/models/operations/gettokendetails.ts +++ b/src/models/operations/gettokendetails.ts @@ -18,7 +18,7 @@ export type GetTokenDetailsGlobals = { export type GetTokenDetailsRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/gettransaction.ts b/src/models/operations/gettransaction.ts index 4e165170..a5e0be0e 100644 --- a/src/models/operations/gettransaction.ts +++ b/src/models/operations/gettransaction.ts @@ -17,7 +17,7 @@ export type GetTransactionGlobals = { export type GetTransactionRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/gettransactionsforblock.ts b/src/models/operations/gettransactionsforblock.ts index ee2cf8da..122ad873 100644 --- a/src/models/operations/gettransactionsforblock.ts +++ b/src/models/operations/gettransactionsforblock.ts @@ -17,7 +17,7 @@ export type GetTransactionsForBlockGlobals = { export type GetTransactionsForBlockRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listcollectiblebalances.ts b/src/models/operations/listcollectiblebalances.ts index 342fe0b4..bd8d3da0 100644 --- a/src/models/operations/listcollectiblebalances.ts +++ b/src/models/operations/listcollectiblebalances.ts @@ -27,7 +27,7 @@ export type ListCollectibleBalancesRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listcontractdeployments.ts b/src/models/operations/listcontractdeployments.ts index 262b10ae..d47ac982 100644 --- a/src/models/operations/listcontractdeployments.ts +++ b/src/models/operations/listcontractdeployments.ts @@ -27,7 +27,7 @@ export type ListContractDeploymentsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc1155balances.ts b/src/models/operations/listerc1155balances.ts index 2169e50b..40cc9456 100644 --- a/src/models/operations/listerc1155balances.ts +++ b/src/models/operations/listerc1155balances.ts @@ -31,7 +31,7 @@ export type ListErc1155BalancesRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc1155transactions.ts b/src/models/operations/listerc1155transactions.ts index b809bc98..5c18c3dd 100644 --- a/src/models/operations/listerc1155transactions.ts +++ b/src/models/operations/listerc1155transactions.ts @@ -35,7 +35,7 @@ export type ListErc1155TransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc20balances.ts b/src/models/operations/listerc20balances.ts index 9cf7d6f8..017d214b 100644 --- a/src/models/operations/listerc20balances.ts +++ b/src/models/operations/listerc20balances.ts @@ -35,7 +35,7 @@ export type ListErc20BalancesRequest = { */ filterSpamTokens?: boolean | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc20transactions.ts b/src/models/operations/listerc20transactions.ts index 591edc8f..e5610c00 100644 --- a/src/models/operations/listerc20transactions.ts +++ b/src/models/operations/listerc20transactions.ts @@ -35,7 +35,7 @@ export type ListErc20TransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc721balances.ts b/src/models/operations/listerc721balances.ts index 5c8f696d..f9a67790 100644 --- a/src/models/operations/listerc721balances.ts +++ b/src/models/operations/listerc721balances.ts @@ -27,7 +27,7 @@ export type ListErc721BalancesRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listerc721transactions.ts b/src/models/operations/listerc721transactions.ts index aee22512..22851165 100644 --- a/src/models/operations/listerc721transactions.ts +++ b/src/models/operations/listerc721transactions.ts @@ -35,7 +35,7 @@ export type ListErc721TransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listinternaltransactions.ts b/src/models/operations/listinternaltransactions.ts index 23e94b3a..1306a4af 100644 --- a/src/models/operations/listinternaltransactions.ts +++ b/src/models/operations/listinternaltransactions.ts @@ -35,7 +35,7 @@ export type ListInternalTransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listlatesttransactions.ts b/src/models/operations/listlatesttransactions.ts index 54a4ef33..58eaedf6 100644 --- a/src/models/operations/listlatesttransactions.ts +++ b/src/models/operations/listlatesttransactions.ts @@ -27,7 +27,7 @@ export type ListLatestTransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listnativetransactions.ts b/src/models/operations/listnativetransactions.ts index 9dafc802..662602b4 100644 --- a/src/models/operations/listnativetransactions.ts +++ b/src/models/operations/listnativetransactions.ts @@ -35,7 +35,7 @@ export type ListNativeTransactionsRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listtokens.ts b/src/models/operations/listtokens.ts index 7ba5c4d8..1e3c11a2 100644 --- a/src/models/operations/listtokens.ts +++ b/src/models/operations/listtokens.ts @@ -27,7 +27,7 @@ export type ListTokensRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listtransactions.ts b/src/models/operations/listtransactions.ts index 51fa5c40..4d3691cc 100644 --- a/src/models/operations/listtransactions.ts +++ b/src/models/operations/listtransactions.ts @@ -35,7 +35,7 @@ export type ListTransactionsRequest = { */ endBlock?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/listtransfers.ts b/src/models/operations/listtransfers.ts index 269708d5..cbafe505 100644 --- a/src/models/operations/listtransfers.ts +++ b/src/models/operations/listtransfers.ts @@ -35,7 +35,7 @@ export type ListTransfersRequest = { */ pageSize?: number | undefined; /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /** diff --git a/src/models/operations/reindexnft.ts b/src/models/operations/reindexnft.ts index f12550b5..f98f467b 100644 --- a/src/models/operations/reindexnft.ts +++ b/src/models/operations/reindexnft.ts @@ -17,7 +17,7 @@ export type ReindexNftGlobals = { export type ReindexNftRequest = { /** - * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. + * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids. */ chainId?: string | undefined; /**