diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1c926a1..f80fd18 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: 28e6058365feaf515e62682b72e19bcc + docChecksum: 8ec8861097ec8d6cd28fdec2ebc5b2df docVersion: Beta speakeasyVersion: 1.456.1 generationVersion: 2.481.0 - releaseVersion: 0.8.5 - configChecksum: 743405fa666098d1cd9a589420dc7e4b + releaseVersion: 0.8.6 + configChecksum: 7eda4c7bd3dcf8f649354bb5c9b592f0 repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git installationURL: https://github.com/ava-labs/avacloud-sdk-typescript published: true @@ -302,6 +302,7 @@ generatedFiles: - docs/models/components/timeintervalgranularity.md - docs/models/components/timeintervalgranularityextended.md - docs/models/components/timestamprangenftholdersparam.md + - docs/models/components/tokenreputation.md - docs/models/components/tokens.md - docs/models/components/tokentype.md - docs/models/components/transactiondetails.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 6e762af..b66e5f8 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 0.8.5 + version: 0.8.6 additionalDependencies: dependencies: json-canonicalize: ^1.0.6 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 25e5d5d..26ff1fd 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,11 +2,11 @@ speakeasyVersion: 1.456.1 sources: AvaCloudSDK-OAS: sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:02ac05c1fb4c139284dd5457bb4aeb4a0c083ecdb6ead0d750a52bb8f27b4feb - sourceBlobDigest: sha256:019e6d0f1c1b452d176d099bd48179cfdee48ab5ca792a9732116e9266dfe127 + sourceRevisionDigest: sha256:8ada78054f15e9e858cdcedbe168f2be51772d821405a2b27e25c11e85a5970d + sourceBlobDigest: sha256:ba53c042aaaf35e2284cef783d765ba3f8912c3692ce1dd9a983c9a4fb8407a7 tags: - latest - - speakeasy-sdk-regen-1734638360 + - speakeasy-sdk-regen-1734654145 - Beta AvalancheSDK-OAS: sourceNamespace: avalanche-sdk-oas @@ -19,10 +19,10 @@ targets: avacloud-sdk: source: AvaCloudSDK-OAS sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:02ac05c1fb4c139284dd5457bb4aeb4a0c083ecdb6ead0d750a52bb8f27b4feb - sourceBlobDigest: sha256:019e6d0f1c1b452d176d099bd48179cfdee48ab5ca792a9732116e9266dfe127 + sourceRevisionDigest: sha256:8ada78054f15e9e858cdcedbe168f2be51772d821405a2b27e25c11e85a5970d + sourceBlobDigest: sha256:ba53c042aaaf35e2284cef783d765ba3f8912c3692ce1dd9a983c9a4fb8407a7 codeSamplesNamespace: avacloud-sdk-ts-code-samples - codeSamplesRevisionDigest: sha256:6a67463a6084f11a3d582795bdc4baa240a0668891870288902279931e0e3bb8 + codeSamplesRevisionDigest: sha256:efe8555ac9e72f64dba955335cd62d27a73d6c2e583627cec46826350a62053f avalanche-sdk: source: AvalancheSDK-OAS sourceNamespace: avalanche-sdk-oas diff --git a/RELEASES.md b/RELEASES.md index 83afb2a..14d5a3c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -209,4 +209,14 @@ Based on: ### Generated - [typescript v0.8.5] . ### Releases -- [NPM v0.8.5] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.5 - . \ No newline at end of file +- [NPM v0.8.5] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.5 - . + +## 2024-12-20 00:22:20 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.8.6] . +### Releases +- [NPM v0.8.6] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.6 - . \ No newline at end of file diff --git a/docs/models/components/chaininfo.md b/docs/models/components/chaininfo.md index 2e90f3e..947797f 100644 --- a/docs/models/components/chaininfo.md +++ b/docs/models/components/chaininfo.md @@ -9,9 +9,9 @@ let value: ChainInfo = { chainId: "", status: "OK", chainName: "", - description: "uproot storyboard joy unexpectedly sightseeing contravene", - vmName: "EVM", - rpcUrl: "https://lined-swing.net", + description: "tepid gratefully whoa antelope", + vmName: "BITCOIN", + rpcUrl: "https://humble-sideboard.net/", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/collectiblebalances.md b/docs/models/components/collectiblebalances.md index 48cd2f5..c2b8d7f 100644 --- a/docs/models/components/collectiblebalances.md +++ b/docs/models/components/collectiblebalances.md @@ -12,9 +12,9 @@ const value: components.Erc721TokenBalance = { symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://rubbery-diagram.com/", + tokenUri: "https://bare-bar.org/", metadata: { - indexStatus: "UNKNOWN", + indexStatus: "INVALID_METADATA_JSON", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", @@ -28,9 +28,9 @@ const value: components.Erc1155TokenBalance = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://untried-redesign.org/", + tokenUri: "https://rectangular-litter.biz", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNINDEXED", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/datalistchainsresponse.md b/docs/models/components/datalistchainsresponse.md index 2eeecb8..0a457d6 100644 --- a/docs/models/components/datalistchainsresponse.md +++ b/docs/models/components/datalistchainsresponse.md @@ -11,10 +11,9 @@ let value: DataListChainsResponse = { chainId: "", status: "UNAVAILABLE", chainName: "", - description: - "scamper over after lady concerning incidentally regal given brochure hence", - vmName: "BITCOIN", - rpcUrl: "https://witty-tribe.info/", + description: "flawless doubtfully beneath abscond which", + vmName: "ETHEREUM", + rpcUrl: "https://huge-vibration.net", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/enabledfeatures.md b/docs/models/components/enabledfeatures.md index 3f560b6..60c295a 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/erc1155tokenbalance.md b/docs/models/components/erc1155tokenbalance.md index 8dee7aa..b464047 100644 --- a/docs/models/components/erc1155tokenbalance.md +++ b/docs/models/components/erc1155tokenbalance.md @@ -9,9 +9,9 @@ let value: Erc1155TokenBalance = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://untried-coast.name/", + tokenUri: "https://joyous-best-seller.net", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "INVALID_TOKEN_URI", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/erc1155transfer.md b/docs/models/components/erc1155transfer.md index ae80fa7..69bb82c 100644 --- a/docs/models/components/erc1155transfer.md +++ b/docs/models/components/erc1155transfer.md @@ -27,13 +27,13 @@ let value: Erc1155Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 6713.83, + logIndex: 8224.07, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://scornful-paintwork.info/", + tokenUri: "https://severe-loyalty.com", metadata: { indexStatus: "UNREACHABLE_TOKEN_URI", }, diff --git a/docs/models/components/erc1155transferdetails.md b/docs/models/components/erc1155transferdetails.md index afe8db2..bd3ee1f 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: 9762.26, + logIndex: 6982.48, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://sneaky-precedent.info", + tokenUri: "https://crazy-barge.biz/", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "UNREACHABLE_TOKEN_URI", }, }, }; diff --git a/docs/models/components/erc20tokenbalance.md b/docs/models/components/erc20tokenbalance.md index 0ecf146..0a2d5b2 100644 --- a/docs/models/components/erc20tokenbalance.md +++ b/docs/models/components/erc20tokenbalance.md @@ -23,22 +23,22 @@ let value: Erc20TokenBalance = { currencyCode: "usd", value: 42.42, }, - tokenStatus: "", + tokenReputation: "Benign", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| `address` | *string* | :heavy_check_mark: | A wallet or contract address in mixed-case checksum encoding. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | -| `name` | *string* | :heavy_check_mark: | The contract name. | Wrapped AVAX | -| `symbol` | *string* | :heavy_check_mark: | The contract symbol. | WAVAX | -| `decimals` | *number* | :heavy_check_mark: | The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation. | 18 | -| `logoUri` | *string* | :heavy_minus_sign: | The logo uri for the address. | https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg | -| `ercType` | [components.Erc20TokenBalanceErcType](../../models/components/erc20tokenbalanceerctype.md) | :heavy_check_mark: | N/A | | -| `price` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The token price, if available. | | -| `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 | -| `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 | -| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | | -| `tokenStatus` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `address` | *string* | :heavy_check_mark: | A wallet or contract address in mixed-case checksum encoding. | 0x71C7656EC7ab88b098defB751B7401B5f6d8976F | +| `name` | *string* | :heavy_check_mark: | The contract name. | Wrapped AVAX | +| `symbol` | *string* | :heavy_check_mark: | The contract symbol. | WAVAX | +| `decimals` | *number* | :heavy_check_mark: | The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation. | 18 | +| `logoUri` | *string* | :heavy_minus_sign: | The logo uri for the address. | https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg | +| `ercType` | [components.Erc20TokenBalanceErcType](../../models/components/erc20tokenbalanceerctype.md) | :heavy_check_mark: | N/A | | +| `price` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The token price, if available. | | +| `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 | +| `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 | +| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | | +| `tokenReputation` | [components.TokenReputation](../../models/components/tokenreputation.md) | :heavy_check_mark: | Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown. | | \ No newline at end of file diff --git a/docs/models/components/erc20transfer.md b/docs/models/components/erc20transfer.md index 4f71d2d..7d6bb04 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: 9799.62, + logIndex: 3447.18, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/erc20transferdetails.md b/docs/models/components/erc20transferdetails.md index f9b7f03..610b5f5 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: 1173.20, + logIndex: 7453.98, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/erc721tokenbalance.md b/docs/models/components/erc721tokenbalance.md index 531f414..54afada 100644 --- a/docs/models/components/erc721tokenbalance.md +++ b/docs/models/components/erc721tokenbalance.md @@ -11,9 +11,9 @@ let value: Erc721TokenBalance = { symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://wiggly-tooth.com", + tokenUri: "https://defenseless-gradient.org/", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/components/erc721transfer.md b/docs/models/components/erc721transfer.md index b9f016e..db7c567 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: 4237.06, + logIndex: 7137.67, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://clear-cut-dredger.info", + tokenUri: "https://impish-hose.name", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "UNKNOWN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/erc721transferdetails.md b/docs/models/components/erc721transferdetails.md index ced97e3..cef44e6 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: 626.36, + logIndex: 5219.96, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://ironclad-lender.net/", + tokenUri: "https://which-carboxyl.com", metadata: { - indexStatus: "UNINDEXED", + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/evmblock.md b/docs/models/components/evmblock.md index 62e7402..433303e 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: 1746.58, + txCount: 632.08, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/fullnativetransactiondetails.md b/docs/models/components/fullnativetransactiondetails.md index 8afd690..0972901 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 22cf6f0..5947e18 100644 --- a/docs/models/components/getchainresponse.md +++ b/docs/models/components/getchainresponse.md @@ -9,9 +9,9 @@ let value: GetChainResponse = { chainId: "", status: "UNAVAILABLE", chainName: "", - description: "crossly whole aw shameful scotch since uh-huh beyond", - vmName: "EVM", - rpcUrl: "https://unripe-babushka.org/", + description: "down cross-contamination before enrage upside-down", + vmName: "ETHEREUM", + rpcUrl: "https://hopeful-lay.org/", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/getchainresponseenabledfeatures.md b/docs/models/components/getchainresponseenabledfeatures.md index 6a7e96c..09580c9 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 11e68d7..9967eb9 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: 3279.88, + txCount: 6072.49, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/gettransactionresponse.md b/docs/models/components/gettransactionresponse.md index fb00f21..94ebe15 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: 6803.49, + logIndex: 4776.47, 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: 632.08, + logIndex: 2840.00, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://lively-ectoderm.biz", + tokenUri: "https://mild-fund.info/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -92,15 +92,15 @@ let value: GetTransactionResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3679.28, + logIndex: 9704.94, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://grim-vision.com/", + tokenUri: "https://bustling-flood.name/", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "INVALID_METADATA", }, }, }, @@ -178,7 +178,7 @@ let value: GetTransactionResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "CONTRACT_CALL", + callType: "CONTRACT_CREATION", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/components/internaltransaction.md b/docs/models/components/internaltransaction.md index 99de59f..20b7e9a 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: "CREATE", + internalTxType: "CALLCODE", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/internaltransactiondetails.md b/docs/models/components/internaltransactiondetails.md index 8681d09..d393da2 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: "CALLCODE", + internalTxType: "STATICCALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/listaddresschainsresponse.md b/docs/models/components/listaddresschainsresponse.md index 1a73cbc..110d054 100644 --- a/docs/models/components/listaddresschainsresponse.md +++ b/docs/models/components/listaddresschainsresponse.md @@ -9,12 +9,11 @@ let value: ListAddressChainsResponse = { indexedChains: [ { chainId: "", - status: "OK", + status: "UNAVAILABLE", chainName: "", - description: - "inside sternly uh-huh bathrobe submissive meh nor mmm elevator", + description: "indeed crazy ferret", vmName: "EVM", - rpcUrl: "https://utilized-shark.net", + rpcUrl: "https://irresponsible-formation.org/", isTestnet: false, networkToken: { name: "Wrapped AVAX", diff --git a/docs/models/components/listcollectiblebalancesresponse.md b/docs/models/components/listcollectiblebalancesresponse.md index 341a232..28c0d92 100644 --- a/docs/models/components/listcollectiblebalancesresponse.md +++ b/docs/models/components/listcollectiblebalancesresponse.md @@ -9,14 +9,16 @@ let value: ListCollectibleBalancesResponse = { collectibleBalances: [ { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - ercType: "ERC-1155", + name: "Wrapped AVAX", + symbol: "WAVAX", + ercType: "ERC-721", tokenId: "", - tokenUri: "https://zany-freckle.info/", + tokenUri: "https://humiliating-waterspout.biz/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", - balance: "2000000000000000000", }, ], }; diff --git a/docs/models/components/listcontractsresponse.md b/docs/models/components/listcontractsresponse.md index e483f0b..73e9dad 100644 --- a/docs/models/components/listcontractsresponse.md +++ b/docs/models/components/listcontractsresponse.md @@ -14,8 +14,7 @@ let value: ListContractsResponse = { txHash: "", deployerAddress: "", }, - ercType: "ERC-721", - symbol: "WAVAX", + ercType: "UNKNOWN", }, ], }; diff --git a/docs/models/components/listerc1155balancesresponse.md b/docs/models/components/listerc1155balancesresponse.md index c187dc6..931ebb1 100644 --- a/docs/models/components/listerc1155balancesresponse.md +++ b/docs/models/components/listerc1155balancesresponse.md @@ -11,9 +11,9 @@ let value: ListErc1155BalancesResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://well-groomed-eternity.com/", + tokenUri: "https://unfortunate-hydrolyze.org/", metadata: { - indexStatus: "INDEXED", + indexStatus: "MISSING_TOKEN", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/components/listerc1155transactionsresponse.md b/docs/models/components/listerc1155transactionsresponse.md index 39cecd1..1dc4449 100644 --- a/docs/models/components/listerc1155transactionsresponse.md +++ b/docs/models/components/listerc1155transactionsresponse.md @@ -30,13 +30,13 @@ let value: ListErc1155TransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 5596.82, + logIndex: 7814.80, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://lasting-citizen.biz", + tokenUri: "https://vast-alert.org", metadata: { indexStatus: "UNREACHABLE_TOKEN_URI", }, diff --git a/docs/models/components/listerc20balancesresponse.md b/docs/models/components/listerc20balancesresponse.md index beb8449..ad54c8c 100644 --- a/docs/models/components/listerc20balancesresponse.md +++ b/docs/models/components/listerc20balancesresponse.md @@ -25,7 +25,7 @@ let value: ListErc20BalancesResponse = { currencyCode: "usd", value: 42.42, }, - tokenStatus: "", + tokenReputation: "Benign", }, ], }; diff --git a/docs/models/components/listerc20transactionsresponse.md b/docs/models/components/listerc20transactionsresponse.md index bc94d7c..a031ed7 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: 2213.96, + logIndex: 7734.56, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/components/listerc721balancesresponse.md b/docs/models/components/listerc721balancesresponse.md index a2b4619..25ed8b9 100644 --- a/docs/models/components/listerc721balancesresponse.md +++ b/docs/models/components/listerc721balancesresponse.md @@ -13,7 +13,7 @@ let value: ListErc721BalancesResponse = { symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://meager-topsail.name", + tokenUri: "https://vague-someplace.org", metadata: { indexStatus: "UNINDEXED", }, diff --git a/docs/models/components/listerc721transactionsresponse.md b/docs/models/components/listerc721transactionsresponse.md index 9a2a172..c7a30a6 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: 1000.14, + logIndex: 4564.10, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://biodegradable-baseboard.org/", + tokenUri: "https://dismal-hospitalization.name/", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "INVALID_TOKEN_URI_SCHEME", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/components/listevmblocksresponse.md b/docs/models/components/listevmblocksresponse.md index 46118e5..1c9cd79 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: 9795.27, + txCount: 6803.49, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/components/listinternaltransactionsresponse.md b/docs/models/components/listinternaltransactionsresponse.md index c08ab5f..ebb6435 100644 --- a/docs/models/components/listinternaltransactionsresponse.md +++ b/docs/models/components/listinternaltransactionsresponse.md @@ -30,7 +30,7 @@ let value: ListInternalTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CREATE2", + internalTxType: "STATICCALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/listnativetransactionsresponse.md b/docs/models/components/listnativetransactionsresponse.md index 241acb1..c771e43 100644 --- a/docs/models/components/listnativetransactionsresponse.md +++ b/docs/models/components/listnativetransactionsresponse.md @@ -38,7 +38,7 @@ let value: ListNativeTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "NATIVE_TRANSFER", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/components/listtransactiondetailsresponse.md b/docs/models/components/listtransactiondetailsresponse.md index 4c78c8f..540d2ec 100644 --- a/docs/models/components/listtransactiondetailsresponse.md +++ b/docs/models/components/listtransactiondetailsresponse.md @@ -63,7 +63,7 @@ let value: ListTransactionDetailsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 700.42, + logIndex: 3210.43, 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: 8224.07, + logIndex: 299.50, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://severe-loyalty.com", + tokenUri: "https://cheap-noon.net", metadata: { - indexStatus: "UNREACHABLE_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: 4053.74, + logIndex: 9591.42, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://ample-reconsideration.com/", + tokenUri: "https://trim-allegation.name/", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "UNREACHABLE_TOKEN_URI", }, }, }, @@ -162,7 +162,7 @@ let value: ListTransactionDetailsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CALLCODE", + internalTxType: "CREATE2", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/listtransfersresponse.md b/docs/models/components/listtransfersresponse.md index f1ee307..4964fd4 100644 --- a/docs/models/components/listtransfersresponse.md +++ b/docs/models/components/listtransfersresponse.md @@ -30,20 +30,18 @@ let value: ListTransfersResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 4570.59, - value: "10000000000000000000", - erc20Token: { + logIndex: 8571.25, + 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://firm-gymnast.info/", + metadata: { + indexStatus: "INVALID_METADATA", }, + ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, }, ], diff --git a/docs/models/components/method.md b/docs/models/components/method.md index ac4b53b..bb37bfd 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_CALL", + callType: "CONTRACT_CREATION", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }; diff --git a/docs/models/components/resourcelink.md b/docs/models/components/resourcelink.md index bbc88c8..1900671 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: "Reddit", - url: "https://thick-trolley.org", + type: "Whitepaper", + url: "https://impish-gloom.com", }; ``` diff --git a/docs/models/components/resourcelinktype.md b/docs/models/components/resourcelinktype.md index fe458cf..07eb678 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 = "Instagram"; +let value: ResourceLinkType = "Telegram"; ``` ## Values diff --git a/docs/models/components/teleportermessageinfo.md b/docs/models/components/teleportermessageinfo.md index e8ddd10..e76f884 100644 --- a/docs/models/components/teleportermessageinfo.md +++ b/docs/models/components/teleportermessageinfo.md @@ -7,7 +7,7 @@ import { TeleporterMessageInfo } from "@avalabs/avacloud-sdk/models/components"; let value: TeleporterMessageInfo = { teleporterMessageId: "", - direction: "DESTINATION_TRANSACTION", + direction: "SOURCE_TRANSACTION", }; ``` diff --git a/docs/models/components/tokenreputation.md b/docs/models/components/tokenreputation.md new file mode 100644 index 0000000..0782f45 --- /dev/null +++ b/docs/models/components/tokenreputation.md @@ -0,0 +1,17 @@ +# TokenReputation + +Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown. + +## Example Usage + +```typescript +import { TokenReputation } from "@avalabs/avacloud-sdk/models/components"; + +let value: TokenReputation = "Benign"; +``` + +## Values + +```typescript +"Malicious" | "Benign" +``` \ No newline at end of file diff --git a/docs/models/components/transactiondetails.md b/docs/models/components/transactiondetails.md index ddb4005..4a7cb77 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: 9591.42, + logIndex: 1905.67, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -96,16 +96,16 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 1032.98, + logIndex: 191.23, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://ample-louse.info", + tokenUri: "https://tender-gazebo.biz", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "UNKNOWN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -129,15 +129,15 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3651.00, + logIndex: 853.11, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://agreeable-legend.org/", + tokenUri: "https://calculating-doing.com/", metadata: { - indexStatus: "UNREACHABLE_TOKEN_URI", + indexStatus: "UNKNOWN", }, }, }, @@ -160,7 +160,7 @@ let value: TransactionDetails = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CALL", + internalTxType: "DELEGATECALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/components/transactiondirectiontype.md b/docs/models/components/transactiondirectiontype.md index e6af0e0..d6c4f67 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 = "SOURCE_TRANSACTION"; +let value: TransactionDirectionType = "DESTINATION_TRANSACTION"; ``` ## Values diff --git a/docs/models/components/transfers.md b/docs/models/components/transfers.md index 68751da..e253448 100644 --- a/docs/models/components/transfers.md +++ b/docs/models/components/transfers.md @@ -28,7 +28,7 @@ const value: components.Erc20Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 3803.35, + logIndex: 6567.62, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", @@ -71,16 +71,16 @@ const value: components.Erc721Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 1478.09, + logIndex: 8620.63, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://querulous-stump.com", + tokenUri: "https://mammoth-mom.biz/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "MISSING_TOKEN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -112,15 +112,15 @@ const value: components.Erc1155Transfer = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 5810.82, + logIndex: 8595.81, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://deafening-stranger.com/", + tokenUri: "https://limp-captain.info/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "UNINDEXED", }, }, }; diff --git a/docs/models/components/vmname.md b/docs/models/components/vmname.md index a38c1bd..830d531 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 = "BITCOIN"; +let value: VmName = "ETHEREUM"; ``` ## Values diff --git a/docs/models/operations/getaddressesfromwebhookresponse.md b/docs/models/operations/getaddressesfromwebhookresponse.md index 9bd71f2..3d19619 100644 --- a/docs/models/operations/getaddressesfromwebhookresponse.md +++ b/docs/models/operations/getaddressesfromwebhookresponse.md @@ -10,7 +10,7 @@ let value: GetAddressesFromWebhookResponse = { addresses: [ "", ], - totalAddresses: 357.43, + totalAddresses: 2637.68, }, }; ``` diff --git a/docs/models/operations/getapilogsresponse.md b/docs/models/operations/getapilogsresponse.md index a7578bc..5062f4a 100644 --- a/docs/models/operations/getapilogsresponse.md +++ b/docs/models/operations/getapilogsresponse.md @@ -12,18 +12,18 @@ let value: GetApiLogsResponse = { { orgId: "", logId: "", - eventTimestamp: 5604.51, + eventTimestamp: 4724.14, apiKeyId: "", apiKeyAlias: "", hostRegion: "", - requestType: "rpc", + requestType: "data", requestPath: "", - apiCreditsConsumed: 2867.17, - requestDurationMsecs: 194.62, - responseCode: 3992.22, + apiCreditsConsumed: 2027.96, + requestDurationMsecs: 4235.88, + responseCode: 3577.58, metadata: { - ipAddress: "241.227.220.167", - host: "grown-mantua.net", + ipAddress: "112.67.133.9", + host: "untimely-skean.name", userAgent: "", }, }, diff --git a/docs/models/operations/getbalancesbyaddressesresponsebody.md b/docs/models/operations/getbalancesbyaddressesresponsebody.md index b9a1faa..2f5c978 100644 --- a/docs/models/operations/getbalancesbyaddressesresponsebody.md +++ b/docs/models/operations/getbalancesbyaddressesresponsebody.md @@ -16,7 +16,7 @@ const value: components.ListPChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, }, @@ -104,7 +104,7 @@ const value: components.ListPChainBalancesResponse = { ], }, chainInfo: { - chainName: "c-chain", + chainName: "p-chain", network: "mainnet", }, }; @@ -121,7 +121,7 @@ const value: components.ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, }, @@ -132,7 +132,7 @@ const value: components.ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, }, @@ -143,7 +143,7 @@ const value: components.ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, sharedWithChainId: "", @@ -155,7 +155,7 @@ const value: components.ListXChainBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, sharedWithChainId: "", @@ -163,7 +163,7 @@ const value: components.ListXChainBalancesResponse = { ], }, chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }; @@ -180,7 +180,7 @@ const value: components.ListCChainAtomicBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", utxoCount: 1, sharedWithChainId: "", @@ -192,7 +192,7 @@ const value: components.ListCChainAtomicBalancesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", utxoCount: 1, sharedWithChainId: "", @@ -200,7 +200,7 @@ const value: components.ListCChainAtomicBalancesResponse = { ], }, chainInfo: { - chainName: "p-chain", + chainName: "x-chain", network: "mainnet", }, }; diff --git a/docs/models/operations/getevmchainmetricsresponse.md b/docs/models/operations/getevmchainmetricsresponse.md index 6b8b85f..35c5374 100644 --- a/docs/models/operations/getevmchainmetricsresponse.md +++ b/docs/models/operations/getevmchainmetricsresponse.md @@ -9,8 +9,8 @@ let value: GetEvmChainMetricsResponse = { result: { results: [ { - value: 9222.99, - timestamp: 4923.61, + value: 7275.47, + timestamp: 2899.13, }, ], }, diff --git a/docs/models/operations/getlatestblocksresponse.md b/docs/models/operations/getlatestblocksresponse.md index b4da715..914c4da 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: 510.53, + txCount: 5604.51, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/operations/getsinglevalidatordetailsresponse.md b/docs/models/operations/getsinglevalidatordetailsresponse.md index 6130d54..b254ddc 100644 --- a/docs/models/operations/getsinglevalidatordetailsresponse.md +++ b/docs/models/operations/getsinglevalidatordetailsresponse.md @@ -13,9 +13,22 @@ let value: GetSingleValidatorDetailsResponse = { nodeId: "", subnetId: "", amountStaked: "", - startTimestamp: 209.50, - endTimestamp: 4116.16, - validationStatus: "pending", + startTimestamp: 8998.67, + endTimestamp: 568.77, + stakePercentage: 9804.86, + delegatorCount: 964.51, + uptimePerformance: 8634.71, + potentialRewards: { + validationRewardAmount: "", + delegationRewardAmount: "", + }, + validationStatus: "active", + validatorHealth: { + reachabilityPercent: 5665.06, + benchedPChainRequestsPercent: 3679.17, + benchedXChainRequestsPercent: 3423.42, + benchedCChainRequestsPercent: 7573.64, + }, }, ], }, diff --git a/docs/models/operations/getstakingmetricsresponse.md b/docs/models/operations/getstakingmetricsresponse.md index 60792da..69613b1 100644 --- a/docs/models/operations/getstakingmetricsresponse.md +++ b/docs/models/operations/getstakingmetricsresponse.md @@ -9,8 +9,8 @@ let value: GetStakingMetricsResponse = { result: { results: [ { - value: 8738.32, - timestamp: 8339.82, + value: 5777.09, + timestamp: 7791.79, }, ], }, diff --git a/docs/models/operations/getteleportermessageresponsebody.md b/docs/models/operations/getteleportermessageresponsebody.md index 5a75343..8f866ba 100644 --- a/docs/models/operations/getteleportermessageresponsebody.md +++ b/docs/models/operations/getteleportermessageresponsebody.md @@ -42,7 +42,7 @@ const value: components.PendingTeleporterMessage = { }, sourceTransaction: { txHash: "", - timestamp: 7068.72, + timestamp: 5524.39, gasSpent: "", }, status: "pending", @@ -86,12 +86,12 @@ const value: components.DeliveredTeleporterMessage = { }, sourceTransaction: { txHash: "", - timestamp: 6495.34, + timestamp: 2959.50, gasSpent: "", }, destinationTransaction: { txHash: "", - timestamp: 9279.76, + timestamp: 9292.92, gasSpent: "", rewardRedeemer: "", delivererAddress: "", @@ -137,7 +137,7 @@ const value: components.DeliveredSourceNotIndexedTeleporterMessage = { }, destinationTransaction: { txHash: "", - timestamp: 8668.61, + timestamp: 2659.06, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/operations/gettokendetailsresponsebody.md b/docs/models/operations/gettokendetailsresponsebody.md index 2429282..00e2ab2 100644 --- a/docs/models/operations/gettokendetailsresponsebody.md +++ b/docs/models/operations/gettokendetailsresponsebody.md @@ -14,9 +14,9 @@ const value: components.Erc721Token = { symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://busy-lawmaker.org", + tokenUri: "https://low-hygienic.name/", metadata: { - indexStatus: "INVALID_TOKEN_URI", + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }; @@ -29,9 +29,9 @@ const value: components.Erc1155Token = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://pale-adaptation.info", + tokenUri: "https://tricky-order.info/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNREACHABLE_TOKEN_URI", }, }; ``` diff --git a/docs/models/operations/gettxbyhashresponsebody.md b/docs/models/operations/gettxbyhashresponsebody.md index fed17f4..5c63723 100644 --- a/docs/models/operations/gettxbyhashresponsebody.md +++ b/docs/models/operations/gettxbyhashresponsebody.md @@ -10,7 +10,7 @@ Successful response ```typescript const value: components.PChainTransaction = { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "RegisterL1ValidatorTx", + txType: "AddValidatorTx", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -31,11 +31,11 @@ const value: components.PChainTransaction = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "490.42", + amount: "216.87", assetId: "", blockNumber: "", - blockTimestamp: 1853.49, - outputIndex: 9958.15, + blockTimestamp: 9031.50, + outputIndex: 429.24, txHash: "", utxoType: "STAKE", }, @@ -57,13 +57,13 @@ const value: components.PChainTransaction = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "68.09", + amount: "475.59", assetId: "", blockNumber: "", - blockTimestamp: 9438.51, - outputIndex: 9649.25, + blockTimestamp: 8200.22, + outputIndex: 2981.87, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -84,7 +84,7 @@ const value: components.PChainTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -125,7 +125,7 @@ const value: components.XChainNonLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "ImportTx", + txType: "BaseTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -137,7 +137,7 @@ const value: components.XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -199,7 +199,7 @@ const value: components.XChainNonLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -222,7 +222,7 @@ const value: components.XChainNonLinearTransaction = { denomination: 9, type: "secp256k1", createdAtTimestamp: 1675444720, - cap: "fixed", + cap: "variable", }, vertices: [ { @@ -241,7 +241,7 @@ const value: components.XChainLinearTransaction = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "ImportTx", + txType: "ExportTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -253,7 +253,7 @@ const value: components.XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -286,7 +286,7 @@ const value: components.XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -315,7 +315,7 @@ const value: components.XChainLinearTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -386,7 +386,7 @@ const value: components.CChainExportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, credentials: [ @@ -408,7 +408,7 @@ const value: components.CChainExportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -450,7 +450,7 @@ const value: components.CChainImportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -475,7 +475,7 @@ const value: components.CChainImportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, }, @@ -490,7 +490,7 @@ const value: components.CChainImportTransaction = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", diff --git a/docs/models/operations/getutxosbyaddressesresponse.md b/docs/models/operations/getutxosbyaddressesresponse.md index 746bbc0..6df8bc2 100644 --- a/docs/models/operations/getutxosbyaddressesresponse.md +++ b/docs/models/operations/getutxosbyaddressesresponse.md @@ -17,18 +17,18 @@ let value: GetUtxosByAddressesResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "102.44", + amount: "791.23", assetId: "", blockNumber: "", - blockTimestamp: 3970.26, - outputIndex: 2766.50, + blockTimestamp: 7151.43, + outputIndex: 5580.51, txHash: "", utxoType: "TRANSFER", }, diff --git a/docs/models/operations/getutxosbyaddressesresponsebody.md b/docs/models/operations/getutxosbyaddressesresponsebody.md index ba0cead..450f2fe 100644 --- a/docs/models/operations/getutxosbyaddressesresponsebody.md +++ b/docs/models/operations/getutxosbyaddressesresponsebody.md @@ -26,17 +26,17 @@ const value: components.ListPChainUtxosResponse = { consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "280.86", + amount: "475.32", assetId: "", blockNumber: "", - blockTimestamp: 9478.22, - outputIndex: 7285.59, + blockTimestamp: 9692.06, + outputIndex: 2656.33, txHash: "", utxoType: "STAKE", }, ], chainInfo: { - chainName: "c-chain", + chainName: "x-chain", network: "mainnet", }, }; @@ -80,7 +80,7 @@ const value: components.ListUtxosResponse = { }, ], chainInfo: { - chainName: "x-chain", + chainName: "c-chain", network: "mainnet", }, }; diff --git a/docs/models/operations/getvertexbyheightresponse.md b/docs/models/operations/getvertexbyheightresponse.md index f8c1aa3..c11d664 100644 --- a/docs/models/operations/getvertexbyheightresponse.md +++ b/docs/models/operations/getvertexbyheightresponse.md @@ -13,14 +13,14 @@ let value: GetVertexByHeightResponse = { parentHashes: [ "", ], - vertexHeight: 7202.66, - vertexIndex: 9253.95, - vertexTimestamp: 6646.66, - txCount: 4230.54, + vertexHeight: 8850.22, + vertexIndex: 1002.52, + vertexTimestamp: 7589.85, + txCount: 170.60, transactions: [ "", ], - vertexSizeBytes: 1989.91, + vertexSizeBytes: 9670.55, }, ], chainInfo: { diff --git a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md index be60580..8493dbb 100644 --- a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md +++ b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md @@ -10,7 +10,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { transactions: [ { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "AddPermissionlessValidatorTx", + txType: "ExportTx", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -34,13 +34,13 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "929.30", + amount: "20.95", assetId: "", blockNumber: "", - blockTimestamp: 2659.06, - outputIndex: 8281.47, + blockTimestamp: 4116.16, + outputIndex: 4894.59, txHash: "", - utxoType: "TRANSFER", + utxoType: "STAKE", }, ], emittedUtxos: [ @@ -63,13 +63,13 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "518.99", + amount: "753.24", assetId: "", blockNumber: "", - blockTimestamp: 660.74, - outputIndex: 4724.14, + blockTimestamp: 2358.34, + outputIndex: 6205.00, txHash: "", - utxoType: "STAKE", + utxoType: "TRANSFER", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", @@ -80,7 +80,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -90,7 +90,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -100,7 +100,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -124,7 +124,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listassettransactionsresponse.md b/docs/models/operations/listassettransactionsresponse.md index bc42d6e..ea34b8c 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: "BaseTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -60,7 +60,7 @@ let value: ListAssetTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: @@ -115,15 +115,10 @@ let value: ListAssetTransactionsResponse = { denomination: 9, type: "nft", createdAtTimestamp: 1675444720, - cap: "variable", + cap: "fixed", }, - vertices: [ - { - hash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", - height: 1961, - timestamp: 1600762738, - }, - ], + blockHeight: 1005, + blockHash: "82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S", }, ], chainInfo: { diff --git a/docs/models/operations/listblockchainsresponse.md b/docs/models/operations/listblockchainsresponse.md index 8fc179f..4286c32 100644 --- a/docs/models/operations/listblockchainsresponse.md +++ b/docs/models/operations/listblockchainsresponse.md @@ -9,7 +9,7 @@ let value: ListBlockchainsResponse = { result: { blockchains: [ { - createBlockTimestamp: 8795.21, + createBlockTimestamp: 3481.92, createBlockNumber: "", blockchainId: "", vmId: "", diff --git a/docs/models/operations/listcollectiblebalancesresponse.md b/docs/models/operations/listcollectiblebalancesresponse.md index 2f432a6..6e08508 100644 --- a/docs/models/operations/listcollectiblebalancesresponse.md +++ b/docs/models/operations/listcollectiblebalancesresponse.md @@ -10,16 +10,14 @@ let value: ListCollectibleBalancesResponse = { collectibleBalances: [ { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - name: "Wrapped AVAX", - symbol: "WAVAX", - ercType: "ERC-721", + ercType: "ERC-1155", tokenId: "", - tokenUri: "https://frail-whack.com/", + tokenUri: "https://unwelcome-dulcimer.info", metadata: { - indexStatus: "INVALID_TOKEN_URI_SCHEME", + indexStatus: "UNREACHABLE_TOKEN_URI", }, - ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", + balance: "2000000000000000000", }, ], }, diff --git a/docs/models/operations/listcontractdeploymentsresponse.md b/docs/models/operations/listcontractdeploymentsresponse.md index 4645304..d9305c3 100644 --- a/docs/models/operations/listcontractdeploymentsresponse.md +++ b/docs/models/operations/listcontractdeploymentsresponse.md @@ -15,8 +15,9 @@ let value: ListContractDeploymentsResponse = { txHash: "", deployerAddress: "", }, - ercType: "ERC-1155", + ercType: "ERC-20", symbol: "WAVAX", + decimals: 18, }, ], }, diff --git a/docs/models/operations/listdelegatorsresponse.md b/docs/models/operations/listdelegatorsresponse.md index 88160c9..a92238a 100644 --- a/docs/models/operations/listdelegatorsresponse.md +++ b/docs/models/operations/listdelegatorsresponse.md @@ -16,11 +16,11 @@ let value: ListDelegatorsResponse = { ], amountDelegated: "", delegationFee: "", - startTimestamp: 2436.78, - endTimestamp: 5886.39, + startTimestamp: 6573.19, + endTimestamp: 5173.26, estimatedGrossReward: "", estimatedNetReward: "", - delegationStatus: "pending", + delegationStatus: "active", }, ], }, diff --git a/docs/models/operations/listerc1155balancesresponse.md b/docs/models/operations/listerc1155balancesresponse.md index ffe7ef1..d40ad4c 100644 --- a/docs/models/operations/listerc1155balancesresponse.md +++ b/docs/models/operations/listerc1155balancesresponse.md @@ -12,9 +12,9 @@ let value: ListErc1155BalancesResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://sticky-mantua.info/", + tokenUri: "https://hidden-printer.name/", metadata: { - indexStatus: "INVALID_METADATA", + indexStatus: "UNINDEXED", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/operations/listerc1155transactionsresponse.md b/docs/models/operations/listerc1155transactionsresponse.md index 671e99e..8003192 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: 7005.29, + logIndex: 9926.67, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://wide-sand.org", + tokenUri: "https://warmhearted-developing.info/", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "INVALID_METADATA_JSON", }, }, }, diff --git a/docs/models/operations/listerc20balancesresponse.md b/docs/models/operations/listerc20balancesresponse.md index 19b5498..75f86f6 100644 --- a/docs/models/operations/listerc20balancesresponse.md +++ b/docs/models/operations/listerc20balancesresponse.md @@ -26,7 +26,7 @@ let value: ListErc20BalancesResponse = { currencyCode: "usd", value: 42.42, }, - tokenStatus: "", + tokenReputation: "Benign", }, ], }, diff --git a/docs/models/operations/listerc20transactionsresponse.md b/docs/models/operations/listerc20transactionsresponse.md index d824238..58909f7 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: 8843.60, + logIndex: 5024.53, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/operations/listerc721balancesresponse.md b/docs/models/operations/listerc721balancesresponse.md index 5d6435b..0111454 100644 --- a/docs/models/operations/listerc721balancesresponse.md +++ b/docs/models/operations/listerc721balancesresponse.md @@ -14,9 +14,9 @@ let value: ListErc721BalancesResponse = { symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://meager-scholarship.net", + tokenUri: "https://self-reliant-translation.name/", metadata: { - indexStatus: "INVALID_METADATA_JSON", + indexStatus: "UNREACHABLE_TOKEN_URI", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/operations/listerc721transactionsresponse.md b/docs/models/operations/listerc721transactionsresponse.md index f4895cb..87d6092 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: 7691.56, + logIndex: 1698.20, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://awesome-gripper.biz", + tokenUri: "https://sore-merit.org/", metadata: { - indexStatus: "INDEXED", + indexStatus: "UNINDEXED", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, diff --git a/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md b/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md index 0cef3aa..bb4adf4 100644 --- a/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md +++ b/docs/models/operations/listhistoricalprimarynetworkrewardsresponse.md @@ -15,17 +15,17 @@ let value: ListHistoricalPrimaryNetworkRewardsResponse = { txHash: "", amountStaked: "", nodeId: "", - startTimestamp: 5831.93, - endTimestamp: 20.65, + startTimestamp: 6267.06, + endTimestamp: 7275.44, rewardType: "VALIDATOR", utxoId: "", - outputIndex: 9561.23, + outputIndex: 4301.16, reward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", historicalPrice: { currencyCode: "usd", diff --git a/docs/models/operations/listinternaltransactionsresponse.md b/docs/models/operations/listinternaltransactionsresponse.md index 73efc2a..22107fa 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: "UNKNOWN", + internalTxType: "CALL", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/operations/listl1validatorsresponse.md b/docs/models/operations/listl1validatorsresponse.md index 8f24018..4e1c50d 100644 --- a/docs/models/operations/listl1validatorsresponse.md +++ b/docs/models/operations/listl1validatorsresponse.md @@ -12,21 +12,21 @@ let value: ListL1ValidatorsResponse = { validationId: "", nodeId: "", subnetId: "", - weight: 7532.40, - remainingBalance: 2358.34, - creationTimestamp: 6205.00, + weight: 4849.66, + remainingBalance: 9011.62, + creationTimestamp: 5546.45, blsCredentials: {}, remainingBalanceOwner: { addresses: [ "", ], - threshold: 6396.22, + threshold: 8268.62, }, deactivationOwner: { addresses: [ "", ], - threshold: 9485.40, + threshold: 7255.74, }, }, ], diff --git a/docs/models/operations/listlatestprimarynetworkblocksresponse.md b/docs/models/operations/listlatestprimarynetworkblocksresponse.md index c829d9c..ef895ab 100644 --- a/docs/models/operations/listlatestprimarynetworkblocksresponse.md +++ b/docs/models/operations/listlatestprimarynetworkblocksresponse.md @@ -12,17 +12,17 @@ let value: ListLatestPrimaryNetworkBlocksResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 2991.54, + blockTimestamp: 9673.38, blockType: "", - txCount: 3884.04, + txCount: 8611.23, transactions: [ "", ], - blockSizeBytes: 4862.72, + blockSizeBytes: 6176.57, }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md index b1b98be..502ed9d 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md @@ -9,49 +9,41 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { result: { 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: "nft", - amount: "5001000", - }, - ], - sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", - destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", - txType: "ImportTx", - evmOutputs: [ + txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", + txType: "TransformSubnetTx", + blockTimestamp: 1648672486, + blockNumber: "", + blockHash: "", + 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", + amount: "228.64", + assetId: "", + blockNumber: "", + blockTimestamp: 6771.41, + outputIndex: 5928.80, + txHash: "", + utxoType: "STAKE", }, ], - consumedUtxos: [ + emittedUtxos: [ { addresses: [ "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", @@ -61,7 +53,7 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, consumedOnChainId: @@ -71,26 +63,68 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { 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", + amount: "708.77", + assetId: "", + blockNumber: "", + blockTimestamp: 439.75, + outputIndex: 8795.21, + txHash: "", + utxoType: "TRANSFER", + }, + ], + 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: "nft", + amount: "5001000", + }, + ], + amountL1ValidatorBalanceBurned: [ + { + assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", + name: "Avalanche", + symbol: "AVAX", + denomination: 9, + type: "nft", + amount: "5001000", }, ], + subnetOwnershipInfo: { + locktime: 0, + threshold: 1, + addresses: [ + "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", + ], + }, }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md b/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md index 70f8ff0..8a265ef 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsresponsebody.md @@ -12,7 +12,7 @@ const value: components.ListPChainTransactionsResponse = { transactions: [ { txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP", - txType: "RewardValidatorTx", + txType: "ExportTx", blockTimestamp: 1648672486, blockNumber: "", blockHash: "", @@ -35,13 +35,13 @@ const value: components.ListPChainTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "11.35", + amount: "482.58", assetId: "", blockNumber: "", - blockTimestamp: 5112.22, - outputIndex: 832.91, + blockTimestamp: 7298.28, + outputIndex: 691.83, txHash: "", - utxoType: "STAKE", + utxoType: "TRANSFER", }, ], emittedUtxos: [ @@ -63,11 +63,11 @@ const value: components.ListPChainTransactionsResponse = { createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", - amount: "859.01", + amount: "176.50", assetId: "", blockNumber: "", - blockTimestamp: 1520.27, - outputIndex: 6.64, + blockTimestamp: 9391.61, + outputIndex: 5063.12, txHash: "", utxoType: "TRANSFER", }, @@ -90,7 +90,7 @@ const value: components.ListPChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, ], @@ -100,7 +100,7 @@ const value: components.ListPChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -124,7 +124,7 @@ const value: components.ListPChainTransactionsResponse = { }, ], chainInfo: { - chainName: "p-chain", + chainName: "x-chain", network: "mainnet", }, }; @@ -139,7 +139,7 @@ const value: components.ListXChainTransactionsResponse = { txHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", chainFormat: "non-linear", timestamp: 1600762738, - txType: "ImportTx", + txType: "ExportTx", memo: "0x546865204176616c616e6368652050726f6a656374", consumedUtxos: [ { @@ -186,7 +186,7 @@ const value: components.ListXChainTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -247,7 +247,7 @@ const value: components.ListXChainTransactionsResponse = { }, ], chainInfo: { - chainName: "x-chain", + chainName: "p-chain", network: "mainnet", }, }; @@ -271,7 +271,7 @@ const value: components.ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], @@ -281,34 +281,27 @@ const value: components.ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, ], sourceChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", destinationChain: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", - txType: "ExportTx", - evmInputs: [ + txType: "ImportTx", + evmOutputs: [ { - fromAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", + toAddress: "0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c", asset: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "nft", + type: "secp256k1", amount: "5001000", }, - credentials: [ - { - signature: - "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", - publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI", - }, - ], }, ], - emittedUtxos: [ + consumedUtxos: [ { addresses: [ "avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw", @@ -318,7 +311,7 @@ const value: components.ListCChainAtomicTransactionsResponse = { name: "Avalanche", symbol: "AVAX", denomination: 9, - type: "secp256k1", + type: "nft", amount: "5001000", }, consumedOnChainId: @@ -346,7 +339,7 @@ const value: components.ListCChainAtomicTransactionsResponse = { }, ], chainInfo: { - chainName: "p-chain", + chainName: "c-chain", network: "mainnet", }, }; diff --git a/docs/models/operations/listlatesttransactionsresponse.md b/docs/models/operations/listlatesttransactionsresponse.md index 487a6e4..4471307 100644 --- a/docs/models/operations/listlatesttransactionsresponse.md +++ b/docs/models/operations/listlatesttransactionsresponse.md @@ -39,7 +39,7 @@ let value: ListLatestTransactionsResponse = { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, method: { - callType: "NATIVE_TRANSFER", + callType: "CONTRACT_CALL", methodHash: "0xa9059cbb", methodName: "transfer(address,uint256)", }, diff --git a/docs/models/operations/listlatestxchainverticesresponse.md b/docs/models/operations/listlatestxchainverticesresponse.md index 4414471..b30865f 100644 --- a/docs/models/operations/listlatestxchainverticesresponse.md +++ b/docs/models/operations/listlatestxchainverticesresponse.md @@ -13,18 +13,18 @@ let value: ListLatestXChainVerticesResponse = { parentHashes: [ "", ], - vertexHeight: 9838.54, - vertexIndex: 6973.30, - vertexTimestamp: 3895.49, - txCount: 2637.68, + vertexHeight: 7008.56, + vertexIndex: 9132.84, + vertexTimestamp: 5245.77, + txCount: 3542.25, transactions: [ "", ], - vertexSizeBytes: 9446.26, + vertexSizeBytes: 1202.77, }, ], chainInfo: { - chainName: "p-chain", + chainName: "c-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listnativetransactionsresponse.md b/docs/models/operations/listnativetransactionsresponse.md index d65e6ea..94e8c33 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 e7e48c3..505d159 100644 --- a/docs/models/operations/listpendingprimarynetworkrewardsresponse.md +++ b/docs/models/operations/listpendingprimarynetworkrewardsresponse.md @@ -15,10 +15,10 @@ let value: ListPendingPrimaryNetworkRewardsResponse = { txHash: "", amountStaked: "", nodeId: "", - startTimestamp: 6308.32, - endTimestamp: 9979.94, - rewardType: "VALIDATOR_FEE", - progress: 6033.23, + startTimestamp: 2653.03, + endTimestamp: 1272.94, + rewardType: "DELEGATOR", + progress: 1418.17, estimatedReward: { assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", name: "Avalanche", diff --git a/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md b/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md index c08b8ac..19d3fe4 100644 --- a/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md +++ b/docs/models/operations/listprimarynetworkblocksbynodeidresponse.md @@ -12,17 +12,17 @@ let value: ListPrimaryNetworkBlocksByNodeIdResponse = { blockNumber: "", blockHash: "", parentHash: "", - blockTimestamp: 5905.85, + blockTimestamp: 5206.78, blockType: "", - txCount: 4355.32, + txCount: 3979.19, transactions: [ "", ], - blockSizeBytes: 7986.89, + blockSizeBytes: 7745.01, }, ], chainInfo: { - chainName: "c-chain", + chainName: "p-chain", network: "mainnet", }, }, diff --git a/docs/models/operations/listsubnetsresponse.md b/docs/models/operations/listsubnetsresponse.md index bfc07cb..2c3b5f1 100644 --- a/docs/models/operations/listsubnetsresponse.md +++ b/docs/models/operations/listsubnetsresponse.md @@ -9,14 +9,14 @@ let value: ListSubnetsResponse = { result: { subnets: [ { - createBlockTimestamp: 5200.81, + createBlockTimestamp: 2114.55, createBlockIndex: "", subnetId: "", ownerAddresses: [ "", ], - threshold: 306.61, - locktime: 2244.14, + threshold: 593.83, + locktime: 8760.27, subnetOwnershipInfo: { locktime: 0, threshold: 1, diff --git a/docs/models/operations/listteleportermessagesresponse.md b/docs/models/operations/listteleportermessagesresponse.md index c53a9ba..97eadae 100644 --- a/docs/models/operations/listteleportermessagesresponse.md +++ b/docs/models/operations/listteleportermessagesresponse.md @@ -42,12 +42,12 @@ let value: ListTeleporterMessagesResponse = { }, sourceTransaction: { txHash: "", - timestamp: 9114.51, + timestamp: 9851.09, gasSpent: "", }, destinationTransaction: { txHash: "", - timestamp: 2763.37, + timestamp: 7833.97, gasSpent: "", rewardRedeemer: "", delivererAddress: "", diff --git a/docs/models/operations/listtokensresponse.md b/docs/models/operations/listtokensresponse.md index 103eca8..ed56944 100644 --- a/docs/models/operations/listtokensresponse.md +++ b/docs/models/operations/listtokensresponse.md @@ -10,15 +10,12 @@ let value: ListTokensResponse = { tokens: [ { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", - name: "Wrapped AVAX", - symbol: "WAVAX", - ercType: "ERC-721", + ercType: "ERC-1155", tokenId: "", - tokenUri: "https://affectionate-fedora.biz", + tokenUri: "https://somber-receptor.com/", metadata: { - indexStatus: "THROTTLED_TOKEN_URI", + indexStatus: "INDEXED", }, - ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, ], }, diff --git a/docs/models/operations/listtransactionsresponse.md b/docs/models/operations/listtransactionsresponse.md index 08303fb..a2c2008 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: 3827.64, + logIndex: 3085.28, 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: 247.69, + logIndex: 9421.85, erc721Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", name: "Wrapped AVAX", symbol: "WAVAX", ercType: "ERC-721", tokenId: "", - tokenUri: "https://quiet-circumference.org", + tokenUri: "https://torn-pecan.info", metadata: { - indexStatus: "MISSING_TOKEN", + indexStatus: "METADATA_CONTENT_TOO_LARGE", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, @@ -132,15 +132,15 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 8671.15, + logIndex: 8152.25, value: "10000000000000000000", erc1155Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", ercType: "ERC-1155", tokenId: "", - tokenUri: "https://jam-packed-season.net/", + tokenUri: "https://stiff-apparatus.net/", metadata: { - indexStatus: "UNINDEXED", + indexStatus: "INVALID_METADATA_JSON", }, }, }, @@ -163,7 +163,7 @@ let value: ListTransactionsResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - internalTxType: "CALLCODE", + internalTxType: "UNKNOWN", value: "10000000000000000000", isReverted: false, gasUsed: "", diff --git a/docs/models/operations/listtransfersresponse.md b/docs/models/operations/listtransfersresponse.md index 2455bd3..f9da931 100644 --- a/docs/models/operations/listtransfersresponse.md +++ b/docs/models/operations/listtransfersresponse.md @@ -31,7 +31,7 @@ let value: ListTransfersResponse = { "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg", address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", }, - logIndex: 9468.07, + logIndex: 194.62, value: "10000000000000000000", erc20Token: { address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", diff --git a/docs/models/operations/listvalidatorsresponse.md b/docs/models/operations/listvalidatorsresponse.md index 460a98d..0d1b5a8 100644 --- a/docs/models/operations/listvalidatorsresponse.md +++ b/docs/models/operations/listvalidatorsresponse.md @@ -13,10 +13,10 @@ let value: ListValidatorsResponse = { nodeId: "", subnetId: "", amountStaked: "", - startTimestamp: 5823.20, - endTimestamp: 1074.73, + startTimestamp: 1201.20, + endTimestamp: 3344.74, removeTxHash: "", - removeTimestamp: 2875.45, + removeTimestamp: 1753.72, validationStatus: "removed", }, ], diff --git a/docs/models/operations/listwebhooksresponse.md b/docs/models/operations/listwebhooksresponse.md index 709d26c..d44e17e 100644 --- a/docs/models/operations/listwebhooksresponse.md +++ b/docs/models/operations/listwebhooksresponse.md @@ -19,13 +19,13 @@ let value: ListWebhooksResponse = { "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64", ], }, - url: "https://stiff-apparatus.net/", + url: "https://white-calculus.name", chainId: "", status: "inactive", - createdAt: 510.07, + createdAt: 9878.89, name: "", description: - "whack fooey likewise willfully heavy likewise yippee internal", + "quizzically grandson incidentally whose knowledgeably traditionalism illiterate", }, ], }, diff --git a/docs/models/operations/posttransactionexportjobrequestbody.md b/docs/models/operations/posttransactionexportjobrequestbody.md index 0b65f7a..e82948f 100644 --- a/docs/models/operations/posttransactionexportjobrequestbody.md +++ b/docs/models/operations/posttransactionexportjobrequestbody.md @@ -25,7 +25,7 @@ const value: components.CreateEvmTransactionExportRequest = { ```typescript const value: components.CreatePrimaryNetworkTransactionExportRequest = { - type: "TRANSACTION_EXPORT_PRIMARY_NETWORK", + type: "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE", firstDate: "2023-05-01", lastDate: "2023-05-02", options: { diff --git a/docs/models/operations/requesttype.md b/docs/models/operations/requesttype.md index 785f3c2..20a9bba 100644 --- a/docs/models/operations/requesttype.md +++ b/docs/models/operations/requesttype.md @@ -7,7 +7,7 @@ Filter data by request type. ```typescript import { RequestType } from "@avalabs/avacloud-sdk/models/operations"; -let value: RequestType = "data"; +let value: RequestType = "rpc"; ``` ## Values diff --git a/package-lock.json b/package-lock.json index e894b47..4645ec1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.8.5", + "version": "0.8.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@avalabs/avacloud-sdk", - "version": "0.8.5", + "version": "0.8.6", "license": "SEE LICENSE", "dependencies": { "json-canonicalize": "^1.0.6" diff --git a/package.json b/package.json index 5e46a99..1bc6f7d 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.8.5", + "version": "0.8.6", "author": "AvaCloud", - "license": "SEE LICENSE", "homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started", + "license": "SEE LICENSE", "main": "./index.js", "sideEffects": false, "repository": { diff --git a/src/lib/config.ts b/src/lib/config.ts index 8664fcc..2fa028b 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.8.5", + sdkVersion: "0.8.6", genVersion: "2.481.0", userAgent: - "speakeasy-sdk/typescript 0.8.5 2.481.0 Beta @avalabs/avacloud-sdk", + "speakeasy-sdk/typescript 0.8.6 2.481.0 Beta @avalabs/avacloud-sdk", } as const; diff --git a/src/models/components/erc20tokenbalance.ts b/src/models/components/erc20tokenbalance.ts index cdd4870..7bf1db1 100644 --- a/src/models/components/erc20tokenbalance.ts +++ b/src/models/components/erc20tokenbalance.ts @@ -21,6 +21,18 @@ export type Erc20TokenBalanceErcType = ClosedEnum< typeof Erc20TokenBalanceErcType >; +/** + * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown. + */ +export const TokenReputation = { + Malicious: "Malicious", + Benign: "Benign", +} as const; +/** + * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown. + */ +export type TokenReputation = ClosedEnum; + export type Erc20TokenBalance = { /** * A wallet or contract address in mixed-case checksum encoding. @@ -59,7 +71,10 @@ export type Erc20TokenBalance = { * The monetary value of the balance, if a price is available for the token. */ balanceValue?: Money | undefined; - tokenStatus: string | null; + /** + * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown. + */ + tokenReputation: TokenReputation | null; }; /** @internal */ @@ -83,6 +98,27 @@ export namespace Erc20TokenBalanceErcType$ { export const outboundSchema = Erc20TokenBalanceErcType$outboundSchema; } +/** @internal */ +export const TokenReputation$inboundSchema: z.ZodNativeEnum< + typeof TokenReputation +> = z.nativeEnum(TokenReputation); + +/** @internal */ +export const TokenReputation$outboundSchema: z.ZodNativeEnum< + typeof TokenReputation +> = TokenReputation$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TokenReputation$ { + /** @deprecated use `TokenReputation$inboundSchema` instead. */ + export const inboundSchema = TokenReputation$inboundSchema; + /** @deprecated use `TokenReputation$outboundSchema` instead. */ + export const outboundSchema = TokenReputation$outboundSchema; +} + /** @internal */ export const Erc20TokenBalance$inboundSchema: z.ZodType< Erc20TokenBalance, @@ -99,7 +135,7 @@ export const Erc20TokenBalance$inboundSchema: z.ZodType< chainId: z.string(), balance: z.string(), balanceValue: Money$inboundSchema.optional(), - tokenStatus: z.nullable(z.string()), + tokenReputation: z.nullable(TokenReputation$inboundSchema), }); /** @internal */ @@ -114,7 +150,7 @@ export type Erc20TokenBalance$Outbound = { chainId: string; balance: string; balanceValue?: Money$Outbound | undefined; - tokenStatus: string | null; + tokenReputation: string | null; }; /** @internal */ @@ -133,7 +169,7 @@ export const Erc20TokenBalance$outboundSchema: z.ZodType< chainId: z.string(), balance: z.string(), balanceValue: Money$outboundSchema.optional(), - tokenStatus: z.nullable(z.string()), + tokenReputation: z.nullable(TokenReputation$outboundSchema), }); /**