{"openapi":"3.1.0","paths":{"/v1/health-check":{"get":{"operationId":"data-health-check","x-speakeasy-name-override":"healthCheck","x-speakeasy-group":"data","summary":"Get the health of the service","description":"Check the health of the service. This checks the read and write health of the database and cache.","parameters":[],"responses":{"200":{"description":"The health of the service. This checks the read and write health of the database and cache.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthCheckResultDto"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Health Check"]}},"/v1/live-check":{"get":{"operationId":"live-check","x-speakeasy-name-override":"liveCheck","x-speakeasy-group":"data","summary":"Get the liveliness of the service (reads only)","description":"Check the liveliness of the service (reads only).","parameters":[],"responses":{"200":{"description":"The liveliness of the service (reads only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthCheckResultDto"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Health Check"]}},"/v1/address/{address}/chains":{"get":{"operationId":"listAddressChains","x-speakeasy-group":"data.evm.address.chains","x-speakeasy-name-override":"list","summary":"List all chains associated with a given address","description":"Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.","parameters":[{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAddressChainsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/transactions":{"get":{"operationId":"listLatestTransactionsAllChains","x-speakeasy-group":"data.evm.transactions","x-speakeasy-name-override":"listLatestAllChains","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List the latest transactions across all supported EVM chains","description":"Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"status","required":false,"in":"query","description":"A status filter for listed transactions.","schema":{"$ref":"#/components/schemas/TransactionStatus"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNativeTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/blocks":{"get":{"operationId":"listLatestBlocksAllChains","x-speakeasy-group":"data.evm.blocks","x-speakeasy-name-override":"listLatestAllChains","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List latest blocks across all supported EVM chains","description":"Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEvmBlocksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Blocks"]}},"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex":{"post":{"operationId":"reindexNft","x-execution-weight":"small","x-speakeasy-name-override":"reindex","x-speakeasy-usage-example":{"description":"Specified example for error responses","tags":["errors"]},"x-speakeasy-group":"data.nfts","summary":"Reindex NFT metadata","description":"Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"Contract address on the relevant chain.","example":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","schema":{"type":"string"}},{"name":"tokenId","required":true,"in":"path","description":"TokenId on the contract","example":"145","schema":{"type":"string"}}],"responses":{"201":{"description":"Successful response"},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["NFTs"]}},"/v1/chains/{chainId}/nfts/collections/{address}/tokens":{"get":{"operationId":"listTokens","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.nfts","x-execution-weight":"medium","summary":"List tokens","description":"Lists tokens for an NFT contract.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"Contract address on the relevant chain.","example":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNftTokens"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["NFTs"]}},"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}":{"get":{"operationId":"getTokenDetails","x-speakeasy-name-override":"get","x-speakeasy-group":"data.nfts","x-execution-weight":"medium","summary":"Get token details","description":"Gets token details for a specific token of an NFT contract.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"Contract address on the relevant chain.","example":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","schema":{"type":"string"}},{"name":"tokenId","required":true,"in":"path","description":"TokenId on the contract","example":"145","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Erc721Token"},{"$ref":"#/components/schemas/Erc1155Token"}],"discriminator":{"propertyName":"ercType","mapping":{"ERC-721":"#/components/schemas/Erc721Token","ERC-1155":"#/components/schemas/Erc1155Token"}}}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["NFTs"]}},"/v1/operations/{operationId}":{"get":{"operationId":"getOperationResult","x-speakeasy-name-override":"getResult","x-execution-weight":"small","x-speakeasy-group":"data.operations","summary":"Get operation","description":"Gets operation details for the given operation id.","parameters":[{"name":"operationId","required":true,"in":"path","description":"UUID of given operation","example":"aa22054a-cb7c-4a4e-9b83-59f2ede74138","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationStatusResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Operations"]}},"/v1/operations/transactions:export":{"post":{"operationId":"postTransactionExportJob","x-speakeasy-name-override":"exportTransactions","x-speakeasy-group":"data.operations","x-execution-weight":"medium","summary":"Create transaction export operation","description":"Trigger a transaction export operation with given parameters.\n\nThe transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateEvmTransactionExportRequest"},{"$ref":"#/components/schemas/CreatePrimaryNetworkTransactionExportRequest"}]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationStatusResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Operations"]}},"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}":{"get":{"operationId":"getTxByHash","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.transactions","x-speakeasy-name-override":"get","summary":"Get transaction","description":"Gets the details of a single transaction on one of the Primary Network chains.","parameters":[{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"txHash","required":true,"in":"path","description":"A primary network (P or X chain) transaction hash.","example":"3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PChainTransaction"},{"$ref":"#/components/schemas/XChainNonLinearTransaction"},{"$ref":"#/components/schemas/XChainLinearTransaction"},{"$ref":"#/components/schemas/CChainExportTransaction"},{"$ref":"#/components/schemas/CChainImportTransaction"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Transactions"]}},"/v1/networks/{network}/blockchains/{blockchainId}/transactions":{"get":{"operationId":"listLatestPrimaryNetworkTransactions","x-speakeasy-group":"data.primaryNetwork.transactions","x-speakeasy-name-override":"listLatest","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List latest transactions","description":"Lists the latest transactions on one of the Primary Network chains.\n\nTransactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.\n\nFor P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.\n\nGiven that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\". Also accepts EVM formatted addresses starting with \"0x\" for C-Chain-related atomic transaction lookups.","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"l1ValidationId","required":false,"in":"query","schema":{"type":"string"}},{"name":"txTypes","required":false,"in":"query","example":["AddValidatorTx"],"description":"Query param for filtering items based on transaction types.","schema":{"type":"array","items":{"$ref":"#/components/schemas/PrimaryNetworkTxType"}}},{"name":"startTimestamp","required":false,"in":"query","description":"Query param for retrieving items after a specific timestamp.","example":1689541049,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"Query param for retrieving items before a specific timestamp.","example":1689800249,"schema":{"minimum":0,"type":"integer"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ListPChainTransactionsResponse"},{"$ref":"#/components/schemas/ListXChainTransactionsResponse"},{"$ref":"#/components/schemas/ListCChainAtomicTransactionsResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Transactions"]}},"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking":{"get":{"operationId":"listActivePrimaryNetworkStakingTransactions","x-speakeasy-group":"data.primaryNetwork.transactions","x-speakeasy-name-override":"listActiveStakingTransactions","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List staking transactions","description":"Lists active staking transactions on the P-Chain for the supplied addresses.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\".","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"txTypes","required":false,"in":"query","example":["AddValidatorTx"],"description":"Query param for filtering items based on transaction types.","schema":{"type":"array","items":{"$ref":"#/components/schemas/PrimaryNetworkTxType"}}},{"name":"startTimestamp","required":false,"in":"query","description":"Query param for retrieving items after a specific timestamp.","example":1689541049,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"Query param for retrieving items before a specific timestamp.","example":1689800249,"schema":{"minimum":0,"type":"integer"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/PChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPChainStakingTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Transactions"]}},"/v1/networks/{network}/rewards:listPending":{"get":{"operationId":"listPendingPrimaryNetworkRewards","x-speakeasy-group":"data.primaryNetwork.rewards","x-speakeasy-name-override":"listPendingRewards","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List pending rewards","description":"Lists pending rewards on the Primary Network for the supplied addresses.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\". One of addresses or nodeIds is required.","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeIds","required":false,"in":"query","description":"A comma separated list of node ids to filter by. One of addresses or nodeIds is required.","example":"NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs","schema":{"type":"string"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPendingRewardsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Rewards"]}},"/v1/networks/{network}/rewards":{"get":{"operationId":"listHistoricalPrimaryNetworkRewards","x-speakeasy-group":"data.primaryNetwork.rewards","x-speakeasy-name-override":"listHistoricalRewards","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List historical rewards","description":"Lists historical rewards on the Primary Network for the supplied addresses.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\". Optional, but at least one of addresses or nodeIds is required.","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeIds","required":false,"in":"query","description":"A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.","example":"NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs","schema":{"type":"string"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}},{"name":"currency","required":false,"in":"query","description":"The currency that return values should use. Defaults to USD.","example":"usd","schema":{"$ref":"#/components/schemas/CurrencyCode"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListHistoricalRewardsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Rewards"]}},"/v1/networks/{network}/blockchains/{blockchainId}/utxos":{"get":{"operationId":"getUtxosByAddresses","x-speakeasy-group":"data.primaryNetwork.utxos","x-speakeasy-name-override":"listByAddresses","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List UTXOs","description":"Lists UTXOs on one of the Primary Network chains for the supplied addresses.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\".","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"assetId","required":false,"in":"query","description":"Asset ID for any asset (only applicable X-Chain)","schema":{"type":"string"}},{"name":"minUtxoAmount","required":false,"in":"query","description":"The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.","example":1000,"schema":{"type":"number","minimum":0}},{"name":"includeSpent","required":false,"in":"query","description":"Boolean filter to include spent UTXOs.","schema":{"type":"boolean"}},{"name":"sortBy","required":false,"in":"query","description":"Which property to sort by, in conjunction with sortOrder.","schema":{"$ref":"#/components/schemas/UtxosSortByOption"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ListPChainUtxosResponse"},{"$ref":"#/components/schemas/ListUtxosResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network UTXOs"]},"post":{"operationId":"getUtxosByAddressesV2","x-speakeasy-group":"data.primaryNetwork.utxos","x-speakeasy-name-override":"listByAddressesV2","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List UTXOs v2 - Supports querying for more addresses","description":"Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.","schema":{"type":"integer","default":10,"minimum":1,"maximum":1024},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"assetId","required":false,"in":"query","description":"Asset ID for any asset (only applicable X-Chain)","schema":{"type":"string"}},{"name":"minUtxoAmount","required":false,"in":"query","description":"The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.","example":1000,"schema":{"type":"number","minimum":0}},{"name":"includeSpent","required":false,"in":"query","description":"Boolean filter to include spent UTXOs.","schema":{"type":"boolean"}},{"name":"sortBy","required":false,"in":"query","description":"Which property to sort by, in conjunction with sortOrder.","schema":{"$ref":"#/components/schemas/UtxosSortByOption"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrimaryNetworkAddressesBodyDto"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ListPChainUtxosResponse"},{"$ref":"#/components/schemas/ListUtxosResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network UTXOs"]}},"/v1/networks/{network}/blockchains/{blockchainId}/lastActivityTimestampByAddresses":{"get":{"operationId":"getLastActivityTimestampByAddresses","x-speakeasy-group":"data.primaryNetwork.utxos","x-speakeasy-name-override":"getLastActivityTimestampByAddresses","x-execution-weight":"xl","summary":"Get last activity timestamp by addresses","description":"Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains.","parameters":[{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\".","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/LastActivityTimestamp"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network UTXOs"]},"post":{"operationId":"getLastActivityTimestampByAddressesV2","x-speakeasy-group":"data.primaryNetwork.utxos","x-speakeasy-name-override":"getLastActivityTimestampByAddressesV2","x-execution-weight":"xl","summary":"Get last activity timestamp by addresses v2","description":"Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains. V2 route supports querying for more addresses.","parameters":[{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrimaryNetworkAddressesBodyDto"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/LastActivityTimestamp"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network UTXOs"]}},"/v1/networks/{network}/blockchains/{blockchainId}/balances":{"get":{"operationId":"getBalancesByAddresses","x-speakeasy-group":"data.primaryNetwork.balances","x-speakeasy-name-override":"listByAddresses","x-execution-weight":"xl","summary":"Get balances","description":"Gets primary network balances for one of the Primary Network chains for the supplied addresses.\n\nC-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.","parameters":[{"name":"blockTimestamp","required":false,"in":"query","description":"An epoch timestamp in seconds. Balance will be calculated at this timestamp.","example":"1599696000","schema":{"type":"integer"}},{"name":"addresses","required":false,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\".","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ListPChainBalancesResponse"},{"$ref":"#/components/schemas/ListXChainBalancesResponse"},{"$ref":"#/components/schemas/ListCChainAtomicBalancesResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Balances"]}},"/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}":{"get":{"operationId":"getBlockById","x-speakeasy-group":"data.primaryNetwork.blocks","x-speakeasy-name-override":"get","x-execution-weight":"xl","summary":"Get block","description":"Gets a block by block height or block hash on one of the Primary Network chains.","parameters":[{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"blockId","required":true,"in":"path","description":"A block identifier which is either a block number or the block hash.","example":"5615di9ytxujackzaXNrVuWQy5y8Yrt8chPCscMr5Ku9YxJ1S","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPrimaryNetworkBlockResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Blocks"]}},"/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks":{"get":{"operationId":"listPrimaryNetworkBlocksByNodeId","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.blocks","x-speakeasy-name-override":"listByNodeId","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List blocks proposed by node","description":"Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.","parameters":[{"name":"startTimestamp","required":false,"in":"query","description":"Query param for retrieving items after a specific timestamp.","example":1689541049,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"Query param for retrieving items before a specific timestamp.","example":1689800249,"schema":{"minimum":0,"type":"integer"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeId","required":true,"in":"path","description":"A primary network (P or X chain) nodeId.","example":"NodeID-111111111111111111116DBWJs","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPrimaryNetworkBlocksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Blocks"]}},"/v1/networks/{network}/blockchains/{blockchainId}/blocks":{"get":{"operationId":"listLatestPrimaryNetworkBlocks","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.blocks","x-speakeasy-name-override":"listLatest","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List latest blocks","description":"Lists latest blocks on one of the Primary Network chains.","parameters":[{"name":"startTimestamp","required":false,"in":"query","description":"Query param for retrieving items after a specific timestamp.","example":1689541049,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"Query param for retrieving items before a specific timestamp.","example":1689800249,"schema":{"minimum":0,"type":"integer"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"p-chain","schema":{"$ref":"#/components/schemas/BlockchainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPrimaryNetworkBlocksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Blocks"]}},"/v1/networks/{network}/blockchains/{blockchainId}/vertices":{"get":{"operationId":"listLatestXChainVertices","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.vertices","x-speakeasy-name-override":"listLatest","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List vertices","description":"Lists latest vertices on the X-Chain.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"x-chain","schema":{"$ref":"#/components/schemas/XChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListXChainVerticesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Vertices"]}},"/v1/networks/{network}/blockchains/{blockchainId}/vertices/{vertexHash}":{"get":{"operationId":"getVertexByHash","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.vertices","x-speakeasy-name-override":"getByHash","summary":"Get vertex","description":"Gets a single vertex on the X-Chain.","parameters":[{"name":"vertexHash","required":true,"in":"path","description":"A vertex hash string.","example":"haP1CW56cspZY7aEuqHNrtpvhqCaMTxQaYe6j5u2Mbn4L2Gqr","schema":{"type":"string"}},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"x-chain","schema":{"$ref":"#/components/schemas/XChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XChainVertex"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Vertices"]}},"/v1/networks/{network}/blockchains/{blockchainId}/vertices:listByHeight":{"get":{"operationId":"getVertexByHeight","x-execution-weight":"medium","x-speakeasy-group":"data.primaryNetwork.vertices","x-speakeasy-name-override":"listByHeight","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List vertices by height","description":"Lists vertices at the given vertex height on the X-Chain.","parameters":[{"name":"vertexHeight","required":true,"in":"query","description":"The height of a vertex.","schema":{"type":"integer","minimum":0},"example":123},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"x-chain","schema":{"$ref":"#/components/schemas/XChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListXChainVerticesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Vertices"]}},"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}":{"get":{"operationId":"getAssetDetails","x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"xl","summary":"Get asset details","description":"Gets asset details corresponding to the given asset id on the X-Chain.","parameters":[{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"x-chain","schema":{"$ref":"#/components/schemas/XChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"assetId","required":true,"in":"path","description":"Asset ID for any asset on X-Chain","example":"th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XChainAssetDetails"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions":{"get":{"operationId":"listAssetTransactions","x-speakeasy-group":"data.primaryNetwork.transactions","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"xl","summary":"List asset transactions","description":"Lists asset transactions corresponding to the given asset id on the X-Chain.","parameters":[{"name":"txTypes","required":false,"in":"query","example":["AddValidatorTx"],"description":"Query param for filtering items based on transaction types.","schema":{"type":"array","items":{"$ref":"#/components/schemas/PrimaryNetworkTxType"}}},{"name":"startTimestamp","required":false,"in":"query","description":"Query param for retrieving items after a specific timestamp.","example":1689541049,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"Query param for retrieving items before a specific timestamp.","example":1689800249,"schema":{"minimum":0,"type":"integer"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"blockchainId","required":true,"in":"path","description":"A primary network blockchain id or alias.","example":"x-chain","schema":{"$ref":"#/components/schemas/XChainId"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"assetId","required":true,"in":"path","description":"Asset ID for any asset on X-Chain","example":"th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListXChainTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network Transactions"]}},"/v1/networks/{network}/addresses:listChainIds":{"get":{"operationId":"getChainIdsForAddresses","x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"xl","summary":"Get chain interactions for addresses","description":"Returns Primary Network chains that each address has touched in the form of an address mapped array. If an address has had any on-chain interaction for a chain, that chain's chain id will be returned.","parameters":[{"name":"addresses","required":true,"in":"query","description":"A comma separated list of X-Chain or P-Chain wallet addresses, starting with \"avax\"/\"fuji\", \"P-avax\"/\"P-fuji\" or \"X-avax\"/\"X-fuji\".","example":"avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg","schema":{"type":"string"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChainAddressChainIdMapListResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}":{"get":{"operationId":"getNetworkDetails","x-execution-weight":"xl","x-speakeasy-group":"data.primaryNetwork","summary":"Get network details","description":"Gets network details such as validator and delegator stats.","parameters":[{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNetworkDetailsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/blockchains":{"get":{"operationId":"listBlockchains","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List blockchains","description":"Lists all blockchains registered on the network.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.","schema":{"type":"integer","default":100,"minimum":1,"maximum":10000},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListBlockchainsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/blockchains/{blockchainId}":{"get":{"operationId":"getBlockchainById","x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"Get blockchain details by ID","description":"Get details of the blockchain registered on the network.","parameters":[{"name":"blockchainId","required":true,"in":"path","description":"The blockchain ID of the blockchain to retrieve.","example":"2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5","schema":{"type":"string"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Blockchain"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/subnets":{"get":{"operationId":"listSubnets","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List subnets","description":"Lists all subnets registered on the network.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.","schema":{"type":"integer","default":100,"minimum":1,"maximum":10000},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSubnetsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/subnets/{subnetId}":{"get":{"operationId":"getSubnetById","x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"Get Subnet details by ID","description":"Get details of the Subnet registered on the network.","parameters":[{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"subnetId","required":true,"in":"path","description":"Subnet ID to fetch details for","example":"11111111111111111111111111111111LpoYY","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subnet"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/validators":{"get":{"operationId":"listValidators","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List validators","description":"Lists details for validators. By default, returns details for all validators.  The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeIds","required":false,"in":"query","description":"A comma separated list of node ids to filter by. Supports substring matching.","example":"NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","description":"Which property to sort by, in conjunction with sortOrder.\n\nNote: Delegation fee is only available for mainnet validators. Set `subnetId` to `11111111111111111111111111111111LpoYY`  to use this option.","schema":{"$ref":"#/components/schemas/SortByOption"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}},{"name":"validationStatus","required":false,"in":"query","description":"Validation status of the node.","example":"completed","schema":{"$ref":"#/components/schemas/ValidationStatusType"}},{"name":"minDelegationCapacity","required":false,"in":"query","description":"The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000","example":"0","schema":{"type":"string"}},{"name":"maxDelegationCapacity","required":false,"in":"query","description":"The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.","example":"720000000000000000","schema":{"type":"string"}},{"name":"minTimeRemaining","required":false,"in":"query","description":"The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.","example":0,"schema":{"type":"number","maximum":2147483647,"minimum":0}},{"name":"maxTimeRemaining","required":false,"in":"query","description":"The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.","example":2147483647,"schema":{"type":"number","maximum":2147483647,"minimum":0}},{"name":"minFeePercentage","required":false,"in":"query","description":"The minimum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2.0, as per the Avalanche spec.","example":2,"schema":{"type":"number","maximum":100,"minimum":2}},{"name":"maxFeePercentage","required":false,"in":"query","description":"The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.0.","example":100,"schema":{"type":"number","maximum":100,"minimum":2}},{"name":"minUptimePerformance","required":false,"in":"query","description":"The minimum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned Default is 90.","example":90,"schema":{"type":"number","maximum":100,"minimum":0}},{"name":"maxUptimePerformance","required":false,"in":"query","description":"The maximum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned. Default is 100.","example":100,"schema":{"type":"number","maximum":100,"minimum":0}},{"name":"subnetId","required":false,"in":"query","description":"The subnet ID to filter by. If not provided, then all subnets will be returned.","example":"11111111111111111111111111111111LpoYY","schema":{}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListValidatorDetailsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/validators/{nodeId}":{"get":{"operationId":"getSingleValidatorDetails","x-speakeasy-name-override":"getValidatorDetails","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"Get single validator details","description":"List validator details for a single validator.  Filterable by validation status.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeId","required":true,"in":"path","description":"A primary network (P or X chain) nodeId.","example":"NodeID-111111111111111111116DBWJs","schema":{"type":"string"}},{"name":"validationStatus","required":false,"in":"query","description":"Validation status of the node.","example":"completed","schema":{"$ref":"#/components/schemas/ValidationStatusType"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListValidatorDetailsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/validators/{nodeId}/cycles":{"get":{"operationId":"listAutoRenewedValidatorCycles","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List auto-renewed validator cycles","description":"Lists the settled staking cycles of an auto-renewed (ACP-236) validator, newest first. Each cycle reports the weight bonded for that cycle and the gross / withdrawn / compounded split of its rewards.\n\nIncludes cycles that paid nothing out. A fully-compounding cycle mints no reward UTXO and so does not appear in reward history at all.\n\nThe in-flight cycle is not listed; it is on the validator object. Returns an empty list for a node with no auto-renewed validation.\n\n`cycleIndex` is 1-based per position, so a node that has held more than one auto-renewed position has more than one cycle 1. Group by `stakingTxHash`, or pass `txHash` for a single series.","parameters":[{"name":"txHash","required":false,"in":"query","description":"Restrict results to a single auto-renewed position, given its `AddAutoRenewedValidatorTx` hash. Only needed for a node that has held more than one auto-renewed validation, where `cycleIndex` restarts at 1 per position.","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeId","required":true,"in":"path","description":"A primary network (P or X chain) nodeId.","example":"NodeID-111111111111111111116DBWJs","schema":{"type":"string"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAutoRenewedCyclesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/delegators":{"get":{"operationId":"listDelegators","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List delegators","description":"Lists details for delegators.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"rewardAddresses","required":false,"in":"query","description":"A comma separated list of reward addresses to filter by.","example":"P-avax1679zrp3z9mf7z4an42ddq47qzj36zv6ga20vwl,P-avax1s7kd0kfndlz6mh3l0etrrcmkg5y366k8e0s6cc","schema":{"type":"string"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}},{"name":"delegationStatus","required":false,"in":"query","description":"Delegation status of the node.","example":"completed","schema":{"$ref":"#/components/schemas/DelegationStatusType"}},{"name":"nodeIds","required":false,"in":"query","description":"A comma separated list of node ids to filter by.","example":"NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDelegatorDetailsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/networks/{network}/l1Validators":{"get":{"operationId":"listL1Validators","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.primaryNetwork","x-execution-weight":"medium","summary":"List L1 validators","description":"Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"l1ValidationId","required":false,"in":"query","description":"The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.","example":"BsSpTd1SDvdhaoYAuKJvRj1WnoRyu8mAuMZeuz9g7brGj6KhX","schema":{"type":"string"}},{"name":"includeInactiveL1Validators","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"nodeId","required":false,"in":"query","description":"A valid node ID in format 'NodeID-HASH'.","example":"NodeID-111111111111111111116DBWJs","schema":{"type":"string"}},{"name":"subnetId","required":false,"in":"query","description":"The subnet ID to filter by. If not provided, then all subnets will be returned.","example":"11111111111111111111111111111111LpoYY","schema":{}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListL1ValidatorsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Primary Network"]}},"/v1/teleporter/messages/{messageId}":{"get":{"operationId":"getTeleporterMessage","x-speakeasy-group":"data.teleporter","x-execution-weight":"medium","summary":"","description":"**[Deprecated]** Gets a teleporter message by message ID.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/icm/messages/:messageId endpoint instead** .","deprecated":true,"parameters":[{"name":"messageId","required":true,"in":"path","description":"The message ID of the teleporter message.","example":"acf1c8b06f9aec48e9fcbefbbe576ae8a7ca3b327fcae111396e7cc99956674d","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PendingTeleporterMessage"},{"$ref":"#/components/schemas/DeliveredTeleporterMessage"},{"$ref":"#/components/schemas/DeliveredSourceNotIndexedTeleporterMessage"}],"discriminator":{"propertyName":"status","mapping":{"pending":"#/components/schemas/PendingTeleporterMessage","delivered":"#/components/schemas/DeliveredTeleporterMessage","delivered_source_not_indexed":"#/components/schemas/DeliveredSourceNotIndexedTeleporterMessage"}}}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Teleporter"]}},"/v1/teleporter/messages":{"get":{"operationId":"listTeleporterMessages","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.teleporter","x-execution-weight":"medium","summary":"","description":"**[Deprecated]** Lists teleporter messages. Ordered by timestamp in  descending order.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/icm/messages endpoint instead** .","deprecated":true,"parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"sourceBlockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.","example":"2D8RG4UpSXbPbvPCAWppNJyqTG2i2CAXSkTgmTBBvs7GKNZjsY","schema":{"type":"string"}},{"name":"destinationBlockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.","example":"yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp","schema":{"type":"string"}},{"name":"blockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID of either source or destination chain that one teleporter message interacts with.","schema":{"type":"string"}},{"name":"to","required":false,"in":"query","description":"The address of the recipient of the teleporter message.","example":"0x664A4Be5Af2cFc824F9C0914CbAc4703396Da2DC","schema":{"type":"string"}},{"name":"from","required":false,"in":"query","description":"The address of the sender of the teleporter message.","example":"0x321eDA69247566D662178feE695C7026c604Cd94","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTeleporterMessagesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Teleporter"]}},"/v1/teleporter/addresses/{address}/messages":{"get":{"operationId":"listTeleporterMessagesByAddress","x-speakeasy-group":"data.teleporter","x-execution-weight":"medium","summary":"","description":"**[Deprecated]** Lists teleporter messages by address. Ordered by  timestamp in descending order.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/icm/addresses/:address/messages endpoint instead** .","deprecated":true,"parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"address","required":true,"in":"path","description":"An EVM address.","example":"0x8578AE7723751446B196bD5124e1bF57B40EB7Bc","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTeleporterMessagesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Teleporter"]}},"/v1/icm/messages/{messageId}":{"get":{"operationId":"getIcmMessage","x-speakeasy-name-override":"get","x-speakeasy-group":"data.icm","x-execution-weight":"medium","summary":"Get an ICM message","description":"Gets an ICM message by teleporter message ID.","parameters":[{"name":"messageId","required":true,"in":"path","description":"The teleporter message ID of the ICM message.","example":"acf1c8b06f9aec48e9fcbefbbe576ae8a7ca3b327fcae111396e7cc99956674d","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PendingIcmMessage"},{"$ref":"#/components/schemas/DeliveredIcmMessage"},{"$ref":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}],"discriminator":{"propertyName":"status","mapping":{"pending":"#/components/schemas/PendingIcmMessage","delivered":"#/components/schemas/DeliveredIcmMessage","delivered_source_not_indexed":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}}}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Interchain Messaging"]}},"/v1/icm/messages":{"get":{"operationId":"listIcmMessages","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.icm","x-execution-weight":"medium","summary":"List ICM messages","description":"Lists ICM messages. Ordered by timestamp in descending order.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"sourceBlockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.","example":"2D8RG4UpSXbPbvPCAWppNJyqTG2i2CAXSkTgmTBBvs7GKNZjsY","schema":{"type":"string"}},{"name":"destinationBlockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.","example":"yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp","schema":{"type":"string"}},{"name":"blockchainId","required":false,"in":"query","description":"The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.","schema":{"type":"string"}},{"name":"to","required":false,"in":"query","description":"The address of the recipient of the ICM message.","example":"0x664A4Be5Af2cFc824F9C0914CbAc4703396Da2DC","schema":{"type":"string"}},{"name":"from","required":false,"in":"query","description":"The address of the sender of the ICM message.","example":"0x321eDA69247566D662178feE695C7026c604Cd94","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListIcmMessagesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Interchain Messaging"]}},"/v1/icm/addresses/{address}/messages":{"get":{"operationId":"listIcmMessagesByAddress","x-speakeasy-name-override":"listByAddress","x-speakeasy-group":"data.icm","x-execution-weight":"medium","summary":"List ICM messages by address","description":"Lists ICM messages by address. Ordered by timestamp in descending order.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"address","required":true,"in":"path","description":"An EVM address.","example":"0x8578AE7723751446B196bD5124e1bF57B40EB7Bc","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListIcmMessagesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Interchain Messaging"]}},"/v1/apiUsageMetrics":{"get":{"operationId":"getApiUsageMetrics","x-speakeasy-name-override":"getUsage","x-speakeasy-group":"data.usageMetrics","x-execution-weight":"xxl","summary":"Get usage metrics for the Data API","description":"Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.","parameters":[{"name":"orgId","required":false,"in":"query","description":"Organization ID to fetch usage metrics for","schema":{"type":"string"}},{"name":"startTimestamp","required":false,"in":"query","description":"The start time of the range as a UNIX timestamp. The requested start time  will be rounded down to 0:00 UTC of the day.","example":1739507200,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.","example":1739664000,"schema":{"minimum":0,"type":"integer"}},{"name":"timeInterval","required":false,"in":"query","description":"Time interval granularity for data aggregation","example":"daily","schema":{"$ref":"#/components/schemas/TimeIntervalGranularityExtended"}},{"name":"groupBy","required":false,"in":"query","description":"Query param for the criterion used for grouping metrics","example":"requestPath","schema":{"$ref":"#/components/schemas/UsageMetricsGroupByEnum"}},{"name":"chainId","required":false,"in":"query","description":"Filter data by chain ID.","schema":{"type":"string"}},{"name":"responseCode","required":false,"in":"query","description":"Filter data by response status code.","schema":{"type":"string"}},{"name":"requestType","required":false,"in":"query","description":"Filter data by request type.","schema":{"enum":["data","rpc"],"type":"string"}},{"name":"apiKeyId","required":false,"in":"query","description":"Filter data by API key ID.","schema":{"type":"string"}},{"name":"requestPath","required":false,"in":"query","description":"Filter data by request path.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageMetricsResponseDTO"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Data API Usage Metrics"]}},"/v1/apiLogs":{"get":{"operationId":"getApiLogs","x-speakeasy-name-override":"getLogs","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.usageMetrics","x-execution-weight":"xxl","summary":"Get logs for requests made by client","description":"Gets logs for requests made by client over a specified time interval for a specific organization.","parameters":[{"name":"orgId","required":false,"in":"query","description":"Organization ID to fetch usage metrics for","schema":{"type":"string"}},{"name":"startTimestamp","required":false,"in":"query","description":"The start time of the range as a UNIX timestamp. The requested start time  will be rounded down to 0:00 UTC of the day.","example":1739507200,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.","example":1739664000,"schema":{"minimum":0,"type":"integer"}},{"name":"chainId","required":false,"in":"query","description":"Filter data by chain ID.","schema":{"type":"string"}},{"name":"responseCode","required":false,"in":"query","description":"Filter data by response status code.","schema":{"type":"string"}},{"name":"requestType","required":false,"in":"query","description":"Filter data by request type.","schema":{"enum":["data","rpc"],"type":"string"}},{"name":"apiKeyId","required":false,"in":"query","description":"Filter data by API key ID.","schema":{"type":"string"}},{"name":"requestPath","required":false,"in":"query","description":"Filter data by request path.","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return.","schema":{"minimum":1,"maximum":100,"default":10,"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogsResponseDTO"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Data API Usage Metrics"]}},"/v1/subnetRpcUsageMetrics":{"get":{"operationId":"getSubnetRpcUsageMetrics","x-speakeasy-name-override":"getSubnetRpcUsage","x-speakeasy-group":"data.usageMetrics","x-execution-weight":"xxl","summary":"Get usage metrics for the Subnet RPC","description":"Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.","parameters":[{"name":"timeInterval","required":false,"in":"query","description":"Time interval granularity for data aggregation for subnet\n     rpc metrics","example":"daily","schema":{"$ref":"#/components/schemas/SubnetRpcTimeIntervalGranularity"}},{"name":"startTimestamp","required":false,"in":"query","description":"The start time of the range as a UNIX timestamp. The requested start time  will be rounded down to 0:00 UTC of the day.","example":1739507200,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.","example":1739664000,"schema":{"minimum":0,"type":"integer"}},{"name":"groupBy","required":false,"in":"query","example":"rpcMethod","description":"Query param for the criterion used for grouping metrics","schema":{"$ref":"#/components/schemas/RpcUsageMetricsGroupByEnum"}},{"name":"chainId","required":false,"in":"query","description":"Filter data by chain ID.","schema":{"type":"string"}},{"name":"responseCode","required":false,"in":"query","description":"Filter data by response status code.","schema":{"type":"string"}},{"name":"rpcMethod","required":false,"in":"query","description":"Filter data by RPC method.","schema":{"type":"string"}},{"name":"rlBypassApiToken","required":false,"in":"query","description":"Filter data by Rl Bypass API Token.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetRpcUsageMetricsResponseDTO"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Data API Usage Metrics"]}},"/v1/rpcUsageMetrics":{"get":{"operationId":"getRpcUsageMetrics","x-speakeasy-group":"data.usageMetrics","x-execution-weight":"xxl","summary":"","description":"**[Deprecated]**  Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/subnetRpcUsageMetrics endpoint instead**.","deprecated":true,"parameters":[{"name":"timeInterval","required":false,"in":"query","description":"Time interval granularity for data aggregation for subnet\n     rpc metrics","example":"daily","schema":{"$ref":"#/components/schemas/SubnetRpcTimeIntervalGranularity"}},{"name":"startTimestamp","required":false,"in":"query","description":"The start time of the range as a UNIX timestamp. The requested start time  will be rounded down to 0:00 UTC of the day.","example":1739507200,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.","example":1739664000,"schema":{"minimum":0,"type":"integer"}},{"name":"groupBy","required":false,"in":"query","example":"rpcMethod","description":"Query param for the criterion used for grouping metrics","schema":{"$ref":"#/components/schemas/RpcUsageMetricsGroupByEnum"}},{"name":"chainId","required":false,"in":"query","description":"Filter data by chain ID.","schema":{"type":"string"}},{"name":"responseCode","required":false,"in":"query","description":"Filter data by response status code.","schema":{"type":"string"}},{"name":"rpcMethod","required":false,"in":"query","description":"Filter data by RPC method.","schema":{"type":"string"}},{"name":"rlBypassApiToken","required":false,"in":"query","description":"Filter data by Rl Bypass API Token.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetRpcUsageMetricsResponseDTO"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Data API Usage Metrics"]}},"/v1/primaryNetworkRpcUsageMetrics":{"get":{"operationId":"getPrimaryNetworkRpcUsageMetrics","x-speakeasy-name-override":"getPrimaryNetworkRpcUsage","x-speakeasy-ignore":true,"x-speakeasy-group":"data.usageMetrics","x-execution-weight":"xxl","summary":"Get usage metrics for the Primary Network RPC","description":"Gets metrics for public Primary Network RPC usage over  a specified time interval aggregated at the specified  time-duration granularity.","parameters":[{"name":"timeInterval","required":false,"in":"query","description":"Time interval granularity for data aggregation for subnet\n     rpc metrics","example":"daily","schema":{"$ref":"#/components/schemas/PrimaryNetworkRpcTimeIntervalGranularity"}},{"name":"startTimestamp","required":false,"in":"query","description":"The start time of the range as a UNIX timestamp. The requested start time  will be rounded down to 0:00 UTC of the day.","example":1739507200,"schema":{"minimum":0,"type":"integer"}},{"name":"endTimestamp","required":false,"in":"query","description":"The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.","example":1739664000,"schema":{"minimum":0,"type":"integer"}},{"name":"groupBy","required":false,"in":"query","example":"rpcMethod","description":"Query param for the criterion used for grouping metrics","schema":{"$ref":"#/components/schemas/PrimaryNetworkRpcMetricsGroupByEnum"}},{"name":"responseCode","required":false,"in":"query","description":"Filter data by response status code.","schema":{"type":"string"}},{"name":"requestPath","required":false,"in":"query","description":"Filter data by request path.","schema":{"type":"string"}},{"name":"country","required":false,"in":"query","description":"Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. \"XX\" - Represents clients without country code data. \"T1\" - Represents clients using the Tor network.","schema":{"type":"string"}},{"name":"continent","required":false,"in":"query","description":"Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.","schema":{"type":"string"}},{"name":"userAgent","required":false,"in":"query","description":"Filter data by User Agent.","schema":{"type":"string"}},{"name":"rpcMethod","required":false,"in":"query","description":"Filter data by RPC method.","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrimaryNetworkRpcUsageMetricsResponseDTO"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Data API Usage Metrics"]}},"/v1/webhooks":{"post":{"operationId":"createWebhook","x-speakeasy-group":"webhooks","x-speakeasy-name-override":"create","x-execution-weight":"medium","summary":"Create a webhook","description":"Create a new webhook.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityRequest"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityRequest"},{"$ref":"#/components/schemas/ValidatorActivityRequest"}]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityResponse"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityResponse"},{"$ref":"#/components/schemas/ValidatorActivityResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]},"get":{"operationId":"listWebhooks","x-execution-weight":"small","x-speakeasy-group":"webhooks","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"summary":"List webhooks","description":"Lists webhooks for the user.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"status","required":false,"in":"query","example":"active","description":"Status of the webhook. Use \"active\" to return only active webhooks, \"inactive\" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.","schema":{"$ref":"#/components/schemas/WebhookStatus"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListWebhooksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]}},"/v1/webhooks/{id}":{"get":{"operationId":"getWebhook","x-execution-weight":"small","x-speakeasy-group":"webhooks","x-speakeasy-name-override":"get","summary":"Get a webhook by ID","description":"Retrieves a webhook by ID.","parameters":[{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityResponse"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityResponse"},{"$ref":"#/components/schemas/ValidatorActivityResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]},"delete":{"operationId":"deactivateWebhook","x-speakeasy-group":"webhooks","x-speakeasy-name-override":"deactivate","x-execution-weight":"medium","summary":"Deactivate a webhook","description":"Deactivates a webhook by ID.","parameters":[{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityResponse"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityResponse"},{"$ref":"#/components/schemas/ValidatorActivityResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]},"patch":{"operationId":"updateWebhook","x-speakeasy-group":"webhooks","x-speakeasy-name-override":"update","x-execution-weight":"medium","summary":"Update a webhook","description":"Updates an existing webhook.","parameters":[{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityResponse"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityResponse"},{"$ref":"#/components/schemas/ValidatorActivityResponse"}]}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]}},"/v1/webhooks:generateOrRotateSharedSecret":{"post":{"operationId":"generateOrRotateSharedSecret","x-speakeasy-group":"webhooks","x-execution-weight":"medium","summary":"Generate or rotate a shared secret","description":"Generates a new shared secret or rotate an existing one.","parameters":[],"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedSecretsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]}},"/v1/webhooks:getSharedSecret":{"get":{"operationId":"getSharedSecret","x-speakeasy-group":"webhooks","x-execution-weight":"small","summary":"Get a shared secret","description":"Get a previously generated shared secret.","parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedSecretsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]}},"/v1/webhooks/{id}/addresses":{"patch":{"operationId":"addAddressesToWebhook","x-speakeasy-group":"webhooks.addresses","x-speakeasy-name-override":"add","x-execution-weight":"medium","summary":"Add addresses to EVM activity webhook","description":"Add addresses to webhook. Only valid for EVM activity webhooks.","parameters":[{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressesChangeRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EVMAddressActivityResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]},"delete":{"operationId":"removeAddressesFromWebhook","x-speakeasy-group":"webhooks.addresses","x-speakeasy-name-override":"remove","x-execution-weight":"medium","summary":"Remove addresses from EVM activity  webhook","description":"Remove addresses from webhook. Only valid for EVM activity webhooks.","parameters":[{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressesChangeRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EVMAddressActivityResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]},"get":{"operationId":"getAddressesFromWebhook","x-speakeasy-group":"webhooks.addresses","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List adresses by EVM activity webhooks","description":"List adresses by webhook. Only valid for EVM activity webhooks.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"id","required":true,"in":"path","description":"The webhook identifier.","example":"f33de69c-d13b-4691-908f-870d6e2e6b04","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListWebhookAddressesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Webhooks"]}},"/v1/avax/supply":{"get":{"operationId":"getAvaxSupply","x-execution-weight":"free","summary":"Get AVAX supply information","description":"Get AVAX supply information that includes  total supply, circulating supply, total p burned, total c burned,  total x burned, total staked, total locked, total rewards,  and last updated.","parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvaxSupplyResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["AVAX Supply"]}},"/v1/signatureAggregator/{network}/aggregateSignatures":{"post":{"operationId":"aggregateSignatures","x-speakeasy-name-override":"aggregate","x-speakeasy-group":"data.signatureAggregator","x-execution-weight":"medium","summary":"Aggregate Signatures","description":"Aggregates Signatures for a Warp message from Subnet validators.","parameters":[{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureAggregatorRequest"}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureAggregationResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Signature Aggregator"]}},"/v1/signatureAggregator/{network}/aggregateSignatures/{txHash}":{"get":{"operationId":"getAggregatedSignatures","x-speakeasy-name-override":"get","x-speakeasy-group":"data.signatureAggregator","x-execution-weight":"medium","summary":"Get Aggregated Signatures","description":"Get Aggregated Signatures for a P-Chain L1 related Warp Message.","parameters":[{"name":"network","required":true,"in":"path","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"txHash","required":true,"in":"path","description":"A primary network (P or X chain) transaction hash.","example":"3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP","schema":{"type":"string"}}],"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureAggregationResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["Signature Aggregator"]}},"/v1/chains/{chainId}/addresses/{address}/balances:getNative":{"get":{"operationId":"getNativeBalance","x-speakeasy-group":"data.evm.address.balances","x-speakeasy-name-override":"getNative","x-execution-weight":"medium","summary":"Get native token balance","description":"Gets native token balance of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter.","parameters":[{"name":"blockNumber","required":false,"in":"query","description":"The block number, if not defined the block number will be the latest block.","example":"6479329","schema":{"type":"string"}},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"currency","required":false,"in":"query","description":"The currency that return values should use. Defaults to USD.","example":"usd","schema":{"$ref":"#/components/schemas/CurrencyCode"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNativeBalanceResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Balances"]}},"/v1/chains/{chainId}/addresses/{address}/balances:listErc20":{"get":{"operationId":"listErc20Balances","x-speakeasy-group":"data.evm.address.balances","x-speakeasy-name-override":"listErc20","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-20 balances","description":"Lists ERC-20 token balances of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter.\n\nBalance for specific contracts can be retrieved with the `contractAddresses` parameter.","parameters":[{"name":"blockNumber","required":false,"in":"query","description":"The block number, if not defined the block number will be the latest block.","example":"6479329","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.","schema":{"type":"integer","default":10,"minimum":1,"maximum":500},"example":"10"},{"name":"filterSpamTokens","required":false,"in":"query","description":"whether to filter out spam tokens from the response. Default is true.","schema":{"default":true,"type":"boolean"}},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"contractAddresses","required":false,"in":"query","description":"A comma separated list of contract addresses to filter by.","example":"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7, 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB","schema":{"type":"string"}},{"name":"currency","required":false,"in":"query","description":"The currency that return values should use. Defaults to USD.","example":"usd","schema":{"$ref":"#/components/schemas/CurrencyCode"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc20BalancesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Balances"]}},"/v1/chains/{chainId}/addresses/{address}/balances:listErc721":{"get":{"operationId":"listErc721Balances","x-speakeasy-group":"data.evm.address.balances","x-speakeasy-name-override":"listErc721","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-721 balances","description":"Lists ERC-721 token balances of a wallet address.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.","schema":{"type":"integer","default":10,"minimum":1,"maximum":500},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"contractAddress","required":false,"in":"query","description":"A contract addresses to filter by.","example":"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc721BalancesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Balances"]}},"/v1/chains/{chainId}/addresses/{address}/balances:listErc1155":{"get":{"operationId":"listErc1155Balances","x-speakeasy-group":"data.evm.address.balances","x-speakeasy-name-override":"listErc1155","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-1155 balances","description":"Lists ERC-1155 token balances of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter.","parameters":[{"name":"blockNumber","required":false,"in":"query","description":"The block number, if not defined the block number will be the latest block.","example":"6479329","schema":{"type":"string"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.","schema":{"type":"integer","default":10,"minimum":1,"maximum":500},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"contractAddress","required":false,"in":"query","description":"A contract addresses to filter by.","example":"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc1155BalancesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Balances"]}},"/v1/chains/{chainId}/addresses/{address}/balances:listCollectibles":{"get":{"operationId":"listCollectibleBalances","x-speakeasy-group":"data.evm.address.balances","x-speakeasy-name-override":"listCollectibles","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List collectible (ERC-721/ERC-1155) balances","description":"Lists ERC-721 and ERC-1155 token balances of a wallet address.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.","schema":{"type":"integer","default":10,"minimum":1,"maximum":500},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"contractAddress","required":false,"in":"query","description":"A contract addresses to filter by.","example":"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCollectibleBalancesResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Balances"]}},"/v1/chains/{chainId}/blocks":{"get":{"operationId":"getLatestBlocks","x-speakeasy-name-override":"listLatest","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.evm.blocks","x-execution-weight":"small","summary":"List latest blocks","description":"Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEvmBlocksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Blocks"]}},"/v1/chains/{chainId}/blocks/{blockId}":{"get":{"operationId":"getBlock","x-speakeasy-name-override":"get","x-speakeasy-group":"data.evm.blocks","x-execution-weight":"small","summary":"Get block","description":"Gets the details of an individual block on the EVM-compatible chain.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"blockId","required":true,"in":"path","description":"A block identifier which is either a block number or the block hash.","example":"0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEvmBlockResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Blocks"]}},"/v1/chains/{chainId}/contracts/{address}/transactions:getDeployment":{"get":{"operationId":"getDeploymentTransaction","x-speakeasy-group":"data.evm.contracts","x-execution-weight":"medium","summary":"Get deployment transaction","description":"If the address is a smart contract, returns the transaction in which it was deployed.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"Contract address on the relevant chain.","example":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","schema":{"type":"string"}},{"name":"currency","required":false,"in":"query","description":"The currency that return values should use. Defaults to USD.","example":"usd","schema":{"$ref":"#/components/schemas/CurrencyCode"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTransactionResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/contracts/{address}/deployments":{"get":{"operationId":"listContractDeployments","x-speakeasy-group":"data.evm.address.contracts","x-speakeasy-name-override":"listDeployments","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List deployed contracts","description":"Lists all contracts deployed by the given address.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListContractsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}":{"get":{"operationId":"getContractMetadata","x-speakeasy-name-override":"getMetadata","x-speakeasy-group":"data.evm.contracts","summary":"Get contract metadata","description":"Gets metadata about the contract at the given address.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"Contract address on the relevant chain.","example":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Erc721Contract"},{"$ref":"#/components/schemas/Erc1155Contract"},{"$ref":"#/components/schemas/Erc20Contract"},{"$ref":"#/components/schemas/UnknownContract"}],"discriminator":{"propertyName":"ercType","mapping":{"ERC-721":"#/components/schemas/Erc721Contract","ERC-1155":"#/components/schemas/Erc1155Contract","ERC-20":"#/components/schemas/Erc20Contract","UNKNOWN":"#/components/schemas/UnknownContract"}}}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Contracts"]}},"/v1/chains":{"get":{"operationId":"supportedChains","x-speakeasy-name-override":"list","x-speakeasy-group":"data.evm.chains","x-execution-weight":"free","summary":"List chains","description":"Lists the AvaCloud supported EVM-compatible chains. Filterable by network.","parameters":[{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"feature","required":false,"in":"query","description":"Filter by feature.","example":"nftIndexing","schema":{"$ref":"#/components/schemas/ApiFeature"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListChainsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/chains/{chainId}":{"get":{"operationId":"getChainInfo","x-speakeasy-name-override":"get","x-speakeasy-group":"data.evm.chains","x-execution-weight":"free","summary":"Get chain information","description":"Gets chain information for the EVM-compatible chain if supported by AvaCloud.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChainResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/chains/address/{address}":{"get":{"operationId":"getAddressChains","x-speakeasy-group":"data.evm.chains","x-execution-weight":"free","summary":"","description":"**[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/address/:address/chains endpoint instead** .","deprecated":true,"parameters":[{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAddressChainsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/chains/allTransactions":{"get":{"operationId":"listAllLatestTransactions","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.evm.chains","x-execution-weight":"free","summary":"","description":"**[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/transactions endpoint instead** .","deprecated":true,"parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}},{"name":"status","required":false,"in":"query","description":"A status filter for listed transactions.","schema":{"$ref":"#/components/schemas/TransactionStatus"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNativeTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/chains/allBlocks":{"get":{"operationId":"listAllLatestBlocks","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-speakeasy-group":"data.evm.chains","x-execution-weight":"free","summary":"","description":"**[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.\n\n⚠️ **This operation will be removed in a future release.  Please use /v1/blocks endpoint instead** .","deprecated":true,"parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"network","required":false,"in":"query","description":"Either mainnet or testnet/fuji.","example":"mainnet","schema":{"$ref":"#/components/schemas/Network"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEvmBlocksResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Chains"]}},"/v1/chains/{chainId}/tokens/{address}/transfers":{"get":{"operationId":"listTransfers","x-speakeasy-group":"data.evm.contracts","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC transfers","description":"Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTransfersResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions":{"get":{"operationId":"listTransactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List transactions","description":"Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.\n\nFilterable by block ranges.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTransactionDetailsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v2/chains/{chainId}/addresses/{address}/transactions":{"get":{"operationId":"listTransactionsV2","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"list","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List transactions v2","description":"Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers (with token reputation), ERC-721  transfers, ERC-1155, and internal transactions returned are only those  where the input address had an interaction. Specifically, those lists  only inlcude entries where the input address was the sender  (`from` field) or the receiver (`to` field) for the  sub-transaction. Therefore the transactions returned from this list  may not be complete representations of the on-chain data. For a  complete view of a transaction use the  `/chains/:chainId/transactions/:txHash` endpoint.\n\nFilterable by block ranges.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"filterSpamTokens","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}},{"name":"sortOrder","required":false,"in":"query","example":"asc","description":"The order by which to sort results. Use \"asc\" for ascending order, \"desc\" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.","schema":{"$ref":"#/components/schemas/SortOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTransactionDetailsResponseV2"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions:listNative":{"get":{"operationId":"listNativeTransactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"listNative","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List native transactions","description":"Lists native transactions for an address. Filterable by block range.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNativeTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions:listErc20":{"get":{"operationId":"listErc20Transactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"listErc20","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-20 transfers","description":"Lists ERC-20 transfers for an address. Filterable by block range.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc20TransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions:listErc721":{"get":{"operationId":"listErc721Transactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"listErc721","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-721 transfers","description":"Lists ERC-721 transfers for an address. Filterable by block range.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc721TransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions:listErc1155":{"get":{"operationId":"listErc1155Transactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"listErc1155","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List ERC-1155 transfers","description":"Lists ERC-1155 transfers for an address. Filterable by block range.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListErc1155TransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/addresses/{address}/transactions:listInternals":{"get":{"operationId":"listInternalTransactions","x-speakeasy-group":"data.evm.address.transactions","x-speakeasy-name-override":"listInternal","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List internal transactions","description":"Returns a list of internal transactions for an address and chain. Filterable by block range.\n\nNote that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.","parameters":[{"name":"startBlock","required":false,"in":"query","description":"The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.","example":"6479329","schema":{"type":"number"}},{"name":"endBlock","required":false,"in":"query","description":"The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.","example":"6479330","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"address","required":true,"in":"path","description":"A wallet address.","example":"0x71C7656EC7ab88b098defB751B7401B5f6d8976F","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListInternalTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/transactions/{txHash}":{"get":{"operationId":"getTransaction","x-speakeasy-group":"data.evm.transactions","x-speakeasy-name-override":"get","x-execution-weight":"medium","summary":"Get transaction","description":"Gets the details of a single transaction.","parameters":[{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"txHash","required":true,"in":"path","description":"A transaction hash.","example":"0x8bf584d7b14b92a32a339872a66b134a70ba3ba7c305823f348db6f860253f45","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTransactionResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/blocks/{blockId}/transactions":{"get":{"operationId":"getTransactionsForBlock","x-speakeasy-group":"data.evm.blocks","x-speakeasy-name-override":"listTransactions","x-execution-weight":"medium","summary":"List transactions for a block","description":"Lists the transactions that occured in a given block.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.","schema":{"type":"integer","default":0,"minimum":0,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"blockId","required":true,"in":"path","description":"A block identifier which is either a block number or the block hash.","example":"0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNativeTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}},"/v1/chains/{chainId}/transactions":{"get":{"operationId":"listLatestTransactions","x-speakeasy-group":"data.evm.transactions","x-speakeasy-name-override":"listLatest","x-speakeasy-pagination":{"type":"cursor","inputs":[{"name":"pageToken","in":"parameters","type":"cursor"}],"outputs":{"nextCursor":"$.nextPageToken"}},"x-execution-weight":"medium","summary":"List latest transactions","description":"Lists the latest transactions. Filterable by status.","parameters":[{"name":"pageToken","required":false,"in":"query","description":"A page token, received from a previous list call. Provide this to retrieve the subsequent page.","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","description":"The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.","schema":{"type":"integer","default":10,"minimum":1,"maximum":100},"example":"10"},{"name":"chainId","required":true,"in":"path","description":"A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.","example":"43114","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"A status filter for listed transactions.","schema":{"$ref":"#/components/schemas/TransactionStatus"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNativeTransactionsResponse"}}}},"400":{"description":"Bad requests generally mean the client has passed invalid \n    or malformed parameters. Error messages in the response could help in \n    evaluating the error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}}},"401":{"description":"When a client attempts to access resources that require \n    authorization credentials but the client lacks proper authentication \n    in the request, the server responds with 401.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"403":{"description":"When a client attempts to access resources with valid\n    credentials but doesn't have the privilege to perform that action, \n    the server responds with 403.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"The error is mostly returned when the client requests\n    with either mistyped URL, or the passed resource is moved or deleted, \n    or the resource doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"429":{"description":"This error is returned when the client has sent too many,\n    and has hit the rate limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}},"500":{"description":"The error is a generic server side error that is \n    returned for any uncaught and unexpected issues on the server side. \n    This should be very rare, and you may reach out to us if the problem \n    persists for a longer duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"502":{"description":"This is an internal error indicating invalid response \n      received by the client-facing proxy or gateway from the upstream server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGateway"}}}},"503":{"description":"The error is returned for certain routes on a particular\n    Subnet. This indicates an internal problem with our Subnet node, and may \n    not necessarily mean the Subnet is down or affected.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"tags":["EVM Transactions"]}}},"info":{"title":"Data API","description":"The Data API provides web3 application developers with multi-chain data related to Avalanche's primary network, Avalanche subnets, and Ethereum. With Data API, you can easily build products that leverage real-time and historical transaction and transfer history, native and token balances, and various types of token metadata. The API is in Beta and may be subject to change.</br></br>If you have feedback or feature requests for the API, please submit them <a href=\"https://portal.productboard.com/dndv9ahlkdfye4opdm8ksafi/tabs/4-glacier-api\">here</a>. Bug reports can be submitted <a href=\"https://docs.google.com/forms/d/e/1FAIpQLSeJQrcp7QoNiqozMDKrVJGX5wpU827d3cVTgF8qa7t_J1Pb-g/viewform\">here</a>, and any potential security issues can be reported <a href=\"https://immunefi.com/bounty/avalabs\">here</a>.","version":"1.0.0","contact":{}},"tags":[{"name":"EVM Chains","description":"Find information about indexed EVM-compatible chains, such as the Avalanche C-Chain."},{"name":"EVM Blocks","description":"Find information about blocks on EVM-compatible chains, such as the Avalanche C-Chain."},{"name":"EVM Transactions","description":"Find information about transactions on EVM-compatible chains, such as the Avalanche C-Chain."},{"name":"EVM Balances","description":"Find information about balances on EVM-compatible chains, such as the Avalanche C-Chain."},{"name":"EVM Contracts","description":"Find information about contracts on EVM-compatible chains, such as the Avalanche C-Chain."},{"name":"Primary Network","description":""},{"name":"Primary Network Blocks","description":"Find information about blocks on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain."},{"name":"Primary Network Vertices","description":"Find information about vertices on Avalanche's X-Chain."},{"name":"Primary Network Transactions","description":"Find information about transactions on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain."},{"name":"Primary Network Balances","description":"Find information about balances on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain."},{"name":"Primary Network UTXOs","description":"Find information about utxos on Avalanche's Primary Network Chains - the P-Chain, the X-Chain, and the C-Chain."},{"name":"Primary Network Rewards","description":"Find information about rewards on Avalanche's Primary Network."},{"name":"NFTs","description":""},{"name":"Operations","description":""},{"name":"Health Check","description":""},{"name":"Teleporter","description":"Find information about Teleporter transactions."},{"name":"Interchain Messaging","description":"Find information about Interchain Messaging transactions."},{"name":"Webhooks","description":"Manage webhooks and get notified for various onchain activities."},{"name":"RPC","description":"Interact with chain nodes using JSON-RPC."},{"name":"Data API Usage Metrics","description":"Usage metrics and logs for the Data API."},{"name":"Signature Aggregator","description":"Request signatures for a Warp message from Subnet validators"},{"name":"Notifications","description":"Get notifications for validator status and activity issues."},{"name":"AVAX Supply","description":"Find information about AVAX supply."}],"servers":[{"url":"https://data-api.avax.network"}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-glacier-api-key","description":"Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at  https://build.avax.network/console/utilities/data-api-keys."}},"schemas":{"HealthIndicatorResultDto":{"type":"object","properties":{"status":{"type":"string","enum":["up","down"],"description":"Status of the health indicator."}}},"HealthCheckResultDto":{"type":"object","properties":{"status":{"type":"string","enum":["error","ok","shutting_down"]},"info":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/HealthIndicatorResultDto","additionalProperties":true},"examples":[{"database":{"status":"up"}}]},"error":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/HealthIndicatorResultDto","additionalProperties":true},"examples":[{}]},"details":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/HealthIndicatorResultDto","additionalProperties":true},"examples":[{"database":{"status":"up"}}]}}},"BadRequest":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[400]},"error":{"type":"string","description":"The type of error","examples":["Bad Request"]}},"required":["message","statusCode","error"]},"Unauthorized":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[401]},"error":{"type":"string","description":"The type of error","examples":["Unauthorized"]}},"required":["message","statusCode","error"]},"Forbidden":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[403]},"error":{"type":"string","description":"The type of error","examples":["Forbidden"]}},"required":["message","statusCode","error"]},"NotFound":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[404]},"error":{"type":"string","description":"The type of error","examples":["Not Found"]}},"required":["message","statusCode","error"]},"TooManyRequests":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[429]},"error":{"type":"string","description":"The type of error","examples":["Too Many Requests"]}},"required":["message","statusCode","error"]},"InternalServerError":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[500]},"error":{"type":"string","description":"The type of error","examples":["Internal Server Error"]}},"required":["message","statusCode","error"]},"BadGateway":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[502]},"error":{"type":"string","description":"The type of error","examples":["Bad Gateway"]}},"required":["message","statusCode","error"]},"ServiceUnavailable":{"type":"object","properties":{"message":{"description":"The error message describing the reason for the exception","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"statusCode":{"type":"number","description":"The HTTP status code of the response","examples":[503]},"error":{"type":"string","description":"The type of error","examples":["Service Unavailable"]}},"required":["message","statusCode","error"]},"ChainStatus":{"type":"string","description":"Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.","enum":["OK","UNAVAILABLE"]},"VmName":{"type":"string","enum":["EVM","BITCOIN","ETHEREUM"]},"UtilityAddresses":{"type":"object","properties":{"multicall":{"type":"string"}}},"NetworkToken":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"description":{"type":"string"}},"required":["name","symbol","decimals"]},"ChainInfo":{"type":"object","properties":{"chainId":{"type":"string"},"status":{"$ref":"#/components/schemas/ChainStatus"},"chainName":{"type":"string"},"description":{"type":"string"},"platformChainId":{"type":"string"},"subnetId":{"type":"string"},"vmId":{"type":"string"},"vmName":{"$ref":"#/components/schemas/VmName"},"explorerUrl":{"type":"string"},"rpcUrl":{"type":"string"},"wsUrl":{"type":"string"},"isTestnet":{"type":"boolean"},"utilityAddresses":{"$ref":"#/components/schemas/UtilityAddresses"},"networkToken":{"$ref":"#/components/schemas/NetworkToken"},"chainLogoUri":{"type":"string"},"private":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["nftIndexing","webhooks","teleporter"]}}},"required":["chainId","status","chainName","description","vmName","rpcUrl","isTestnet","networkToken"]},"ListAddressChainsResponse":{"type":"object","properties":{"indexedChains":{"type":"array","items":{"$ref":"#/components/schemas/ChainInfo"}},"unindexedChains":{"type":"array","items":{"type":"string"}}}},"Network":{"type":"string","enum":["mainnet","fuji","testnet"]},"TransactionStatus":{"type":"string","enum":["failed","success"]},"RichAddress":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]}},"required":["address"]},"TransactionMethodType":{"type":"string","description":"The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.","enum":["NATIVE_TRANSFER","CONTRACT_CALL","CONTRACT_CREATION"]},"Method":{"type":"object","properties":{"callType":{"examples":["CONTRACT_CALL"],"$ref":"#/components/schemas/TransactionMethodType"},"methodHash":{"type":"string","description":"The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.","examples":["0xa9059cbb"]},"methodName":{"type":"string","description":"The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.","examples":["transfer(address,uint256)"]}},"required":["callType","methodHash"]},"NativeTransaction":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockMinDelayExcess":{"type":"number","description":"Minimum block delay in milliseconds. Available only after Granite upgrade.","examples":[7477290]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"chainId":{"type":"string","description":"The EVM chain ID on which the transaction occured.","examples":["43114"]},"blockIndex":{"type":"number","description":"The index at which the transaction occured in the block (0-indexed).","examples":[0]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"txStatus":{"type":"string","description":"The transaction status, which is either 0 (failed) or 1 (successful).","examples":["1"]},"txType":{"type":"number","description":"The transaction type.","examples":[1]},"gasLimit":{"type":"string","description":"The gas limit set for the transaction.","examples":["51373"]},"gasUsed":{"type":"string","description":"The amount of gas used.","examples":["51373"]},"gasPrice":{"type":"string","description":"The gas price denominated by the number of decimals of the native token.","examples":["470000000000"]},"nonce":{"type":"string","description":"The nonce used by the sender of the transaction.","examples":["1"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"method":{"$ref":"#/components/schemas/Method"},"value":{"type":"string","examples":["10000000000000000000"]}},"required":["blockNumber","blockTimestamp","blockHash","chainId","blockIndex","txHash","txStatus","txType","gasLimit","gasUsed","gasPrice","nonce","from","to","value"]},"ListNativeTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/NativeTransaction"}}},"required":["transactions"]},"EvmBlock":{"type":"object","properties":{"chainId":{"type":"string","description":"The EVM chain ID on which the block was created.","examples":["43114"]},"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockMinDelayExcess":{"type":"number","description":"Minimum block delay in milliseconds. Available only after Granite upgrade.","examples":[7477290]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txCount":{"type":"number","description":"The number of evm transactions in the block."},"baseFee":{"type":"string","description":"The base gas fee for a transaction to be included in the block."},"gasUsed":{"type":"string","description":"The gas used for transactions in the block."},"gasLimit":{"type":"string","description":"The total gas limit set for transactions in the block."},"gasCost":{"type":"string"},"parentHash":{"type":"string","description":"The hash of the parent block."},"feesSpent":{"type":"string","description":"The amount of fees spent/burned for transactions in the block."},"cumulativeTransactions":{"type":"string","description":"The cumulative number of transactions for the chain including this block."}},"required":["chainId","blockNumber","blockTimestamp","blockHash","txCount","baseFee","gasUsed","gasLimit","gasCost","parentHash","feesSpent","cumulativeTransactions"]},"ListEvmBlocksResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/EvmBlock"}}},"required":["blocks"]},"NftTokenMetadataStatus":{"type":"string","description":"The metadata indexing status of the nft.","enum":["UNKNOWN","MISSING_TOKEN","INVALID_TOKEN_URI","INVALID_TOKEN_URI_SCHEME","UNREACHABLE_TOKEN_URI","THROTTLED_TOKEN_URI","METADATA_CONTENT_TOO_LARGE","INVALID_METADATA","INVALID_METADATA_JSON","INDEXED","UNINDEXED"]},"Erc721TokenMetadata":{"type":"object","properties":{"indexStatus":{"examples":["indexed"],"$ref":"#/components/schemas/NftTokenMetadataStatus"},"metadataLastUpdatedTimestamp":{"type":"number"},"name":{"type":"string"},"symbol":{"type":"string"},"imageUri":{"type":"string"},"description":{"type":"string"},"animationUri":{"type":"string"},"externalUrl":{"type":"string"},"background":{"type":"string"},"attributes":{"type":"string"}},"required":["indexStatus"]},"Erc721Token":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"ercType":{"type":"string","enum":["ERC-721"]},"tokenId":{"type":"string"},"tokenUri":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Erc721TokenMetadata"},"ownerAddress":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]}},"required":["address","name","symbol","ercType","tokenId","tokenUri","metadata"]},"Erc1155TokenMetadata":{"type":"object","properties":{"indexStatus":{"examples":["indexed"],"$ref":"#/components/schemas/NftTokenMetadataStatus"},"metadataLastUpdatedTimestamp":{"type":"number"},"name":{"type":"string"},"symbol":{"type":"string"},"imageUri":{"type":"string"},"description":{"type":"string"},"animationUri":{"type":"string"},"externalUrl":{"type":"string"},"background":{"type":"string"},"decimals":{"type":"number"},"properties":{"type":"string"}},"required":["indexStatus"]},"Erc1155Token":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"ercType":{"type":"string","enum":["ERC-1155"]},"tokenId":{"type":"string"},"tokenUri":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Erc1155TokenMetadata"}},"required":["address","ercType","tokenId","tokenUri","metadata"]},"ListNftTokens":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"tokens":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Erc721Token"},{"$ref":"#/components/schemas/Erc1155Token"}]}}},"required":["tokens"]},"OperationStatusCode":{"type":"string","enum":["ErrInvalidRequest","ErrInternal","WarnTruncatedExport"]},"TransactionExportMetadata":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/OperationStatusCode"},"downloadUrl":{"type":"string","description":"File download URL. Provided only for COMPLETED and COMPLETED_WITH_WARNING operations."},"nextDate":{"type":"string","description":"The next date (YYYY-MM-DD) to use as the firstDate in follow up requests if a request results in a transaction history exceeding the max size and has been reported as `COMPLETED_WITH_WARNING` with the warning 'WarnTruncatedExport'."}}},"OperationType":{"type":"string","enum":["TRANSACTION_EXPORT_PRIMARY_NETWORK","TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING","TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE","TRANSACTION_EXPORT_EVM"]},"OperationStatus":{"type":"string","enum":["RUNNING","COMPLETED","COMPLETED_WITH_WARNING","FAILED"]},"OperationStatusResponse":{"type":"object","properties":{"operationId":{"type":"string"},"operationType":{"$ref":"#/components/schemas/OperationType"},"operationStatus":{"$ref":"#/components/schemas/OperationStatus"},"message":{"type":"string"},"metadata":{"oneOf":[{"$ref":"#/components/schemas/TransactionExportMetadata"}]},"createdAtTimestamp":{"type":"number"},"updatedAtTimestamp":{"type":"number"}},"required":["operationId","operationType","operationStatus","createdAtTimestamp","updatedAtTimestamp"]},"EVMOperationType":{"type":"string","enum":["TRANSACTION_EXPORT_EVM"]},"EvmNetworkOptions":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}},"includeChains":{"examples":[["43114"]],"type":"array","items":{"type":"string"}}},"required":["addresses","includeChains"]},"CreateEvmTransactionExportRequest":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/EVMOperationType"},"firstDate":{"type":"string","examples":["2023-05-01"]},"lastDate":{"type":"string","examples":["2023-05-02"]},"startDate":{"type":"string","examples":["2023-05-01"],"deprecated":true},"endDate":{"type":"string","examples":["2023-05-02"],"deprecated":true},"options":{"$ref":"#/components/schemas/EvmNetworkOptions"}},"required":["type","options"]},"PrimaryNetworkOperationType":{"type":"string","enum":["TRANSACTION_EXPORT_PRIMARY_NETWORK","TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING","TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"]},"PrimaryNetworkOptions":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}},"cChainEvmAddresses":{"type":"array","items":{"type":"string"}},"includeChains":{"type":"array","examples":[["p-chain"]],"items":{"type":"string","enum":["11111111111111111111111111111111LpoYY","2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM","2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm","2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5","yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp","p-chain","x-chain","c-chain"]}}},"required":["includeChains"]},"CreatePrimaryNetworkTransactionExportRequest":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PrimaryNetworkOperationType"},"firstDate":{"type":"string","examples":["2023-05-01"]},"lastDate":{"type":"string","examples":["2023-05-02"]},"startDate":{"type":"string","examples":["2023-05-01"],"deprecated":true},"endDate":{"type":"string","examples":["2023-05-02"],"deprecated":true},"options":{"$ref":"#/components/schemas/PrimaryNetworkOptions"}},"required":["type","options"]},"PChainTransactionType":{"type":"string","enum":["AddValidatorTx","AddSubnetValidatorTx","AddDelegatorTx","CreateChainTx","CreateSubnetTx","ImportTx","ExportTx","AdvanceTimeTx","RewardValidatorTx","RemoveSubnetValidatorTx","TransformSubnetTx","AddPermissionlessValidatorTx","AddPermissionlessDelegatorTx","BaseTx","TransferSubnetOwnershipTx","ConvertSubnetToL1Tx","RegisterL1ValidatorTx","SetL1ValidatorWeightTx","DisableL1ValidatorTx","IncreaseL1ValidatorBalanceTx","AddAutoRenewedValidatorTx","SetAutoRenewedValidatorConfigTx","RewardAutoRenewedValidatorTx","UNKNOWN"]},"PrimaryNetworkAssetType":{"type":"string","description":"Type of asset like SECP256K1 or NFT.","enum":["secp256k1","nft"]},"AssetAmount":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]}},"required":["assetId","name","symbol","denomination","type","amount"]},"RewardType":{"type":"string","enum":["VALIDATOR","DELEGATOR","VALIDATOR_FEE"]},"UtxoType":{"type":"string","description":"Indicates whether the UTXO is staked or transferable","enum":["STAKE","TRANSFER"]},"PChainUtxo":{"type":"object","properties":{"addresses":{"description":"Addresses that are eligible to sign the consumption of this output.","examples":[["avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"]],"type":"array","items":{"type":"string"}},"asset":{"$ref":"#/components/schemas/AssetAmount"},"consumedOnChainId":{"type":"string","description":"Blockchain ID on which this output is consumed on.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"consumingTxHash":{"type":"string","description":"Transaction ID that consumed this output.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"createdOnChainId":{"type":"string","description":"Blockchain ID on which this output is created on.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"utxoId":{"type":"string","description":"UTXO ID for this output.","examples":["68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC"]},"utxoBytes":{"type":"string","description":"The bytes of the UTXO"},"amount":{"type":"string","deprecated":true},"assetId":{"type":"string","deprecated":true},"blockNumber":{"type":"string"},"blockTimestamp":{"type":"number"},"consumingBlockNumber":{"type":"string","description":"Block height in which the transaction consuming this UTXO was included"},"consumingBlockTimestamp":{"type":"number","description":"Timestamp in seconds at which this UTXO is used in a consuming transaction"},"platformLocktime":{"type":"number","description":"Timestamp in seconds after which this UTXO can be consumed"},"outputIndex":{"type":"number","description":"The index of the UTXO in the transaction"},"rewardType":{"$ref":"#/components/schemas/RewardType"},"stakeableLocktime":{"type":"number","description":"Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything"},"staked":{"type":"boolean"},"threshold":{"type":"number","description":"The minimum number of signatures required to spend this UTXO"},"txHash":{"type":"string","description":"The hash of the transaction that created this UTXO"},"utxoEndTimestamp":{"type":"number","description":"Timestamp in seconds after which the staked UTXO will be unlocked. For an auto-renewed (ACP-236) position this is the end of the CURRENT validation cycle, not an unlock date: the principal stays bonded and is returned only when the validator stops, so the value rolls forward each time the position renews. Use autoRenew.state from the validator endpoints to tell a renewing position from an exiting one."},"utxoStartTimestamp":{"type":"number","description":"Timestamp in seconds at which the staked UTXO was locked. For an auto-renewed (ACP-236) position this is the start of the CURRENT validation cycle, not the original bonding time, so it advances each time the position renews."},"utxoType":{"$ref":"#/components/schemas/UtxoType"}},"required":["addresses","asset","consumedOnChainId","createdOnChainId","utxoId","amount","assetId","blockNumber","blockTimestamp","outputIndex","txHash","utxoType"]},"L1ValidatorManagerDetails":{"type":"object","properties":{"blockchainId":{"type":"string"},"contractAddress":{"type":"string"}},"required":["blockchainId","contractAddress"]},"L1ValidatorDetailsTransaction":{"type":"object","properties":{"validationId":{"type":"string","description":"Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed."},"validationIdHex":{"type":"string","description":"Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"weight":{"type":"number","description":"Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid"},"remainingBalance":{"type":"number","description":"Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx"},"balanceChange":{"type":"number","description":"The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative"},"blsCredentials":{"type":"object"}},"required":["validationId","validationIdHex","nodeId","subnetId","weight","remainingBalance"]},"SubnetOwnershipInfo":{"type":"object","properties":{"locktime":{"type":"number","description":"Locktime in seconds after which Subnet owners can control this Subnet.","examples":[0]},"threshold":{"type":"number","description":"Minimum number of signatures required to sign the Subnet update transactions.","examples":[1]},"addresses":{"description":"Addresses that are eligible to sign the Subnet update transactions.","examples":[["avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"]],"type":"array","items":{"type":"string"}}},"required":["locktime","threshold","addresses"]},"BlsCredentials":{"type":"object","properties":{"publicKey":{"type":"string"},"proofOfPossession":{"type":"string"}},"required":["publicKey","proofOfPossession"]},"BlockchainInfo":{"type":"object","properties":{"chainName":{"type":"string"},"vmId":{"type":"string"},"genesisData":{"description":"The genesis data of the blockchain.  Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM","oneOf":[{"$ref":"#/components/schemas/EvmGenesisDto"},{"type":"string","example":"{\"chainId\": 43114}"}],"examples":{"config":{"chainId":43114}}}},"required":["chainName","vmId"]},"BalanceOwner":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}},"threshold":{"type":"number"}},"required":["addresses","threshold"]},"PChainTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"A P-Chain transaction hash.","examples":["3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP"]},"txType":{"examples":["AddDelegatorTx"],"$ref":"#/components/schemas/PChainTransactionType"},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockNumber":{"type":"string","description":"The height of the block in which the transaction was included"},"blockHash":{"type":"string"},"consumedUtxos":{"description":"The consumed UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/PChainUtxo"}},"emittedUtxos":{"description":"The newly created UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/PChainUtxo"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"value":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountBurned":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountStaked":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountL1ValidatorBalanceBurned":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"startTimestamp":{"type":"number","description":"Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx. For AddAutoRenewedValidatorTx this reflects the cycle the validator is currently serving, so it advances on each renewal; use blockTimestamp for when the position was first created."},"endTimestamp":{"type":"number","description":"Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx. For AddAutoRenewedValidatorTx this reflects the cycle the validator is currently serving, so it advances on each renewal."},"delegationFeePercent":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddAutoRenewedValidatorTx"},"nodeId":{"type":"string","description":"The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx"},"subnetId":{"type":"string","description":"Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx"},"l1ValidatorManagerDetails":{"description":"Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1","allOf":[{"$ref":"#/components/schemas/L1ValidatorManagerDetails"}]},"l1ValidatorDetails":{"description":"Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time","type":"array","items":{"$ref":"#/components/schemas/L1ValidatorDetailsTransaction"}},"estimatedReward":{"type":"string","description":"Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx (the cycle the validator is currently serving), and each RewardAutoRenewedValidatorTx (the estimate for the next cycle it starts)."},"rewardTxHash":{"type":"string","description":"Reward transaction hash for the completed validations or delegations"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"memo":{"type":"string"},"stakingTxHash":{"type":"string","description":"Staking transaction corresponding to the RewardValidatorTx, or the originating AddAutoRenewedValidatorTx for a RewardAutoRenewedValidatorTx"},"subnetOwnershipInfo":{"description":"Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx","allOf":[{"$ref":"#/components/schemas/SubnetOwnershipInfo"}]},"blsCredentials":{"description":"Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx, AddAutoRenewedValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"blockchainInfo":{"description":"Details of the blockchain that was created in the CreateChainTx","allOf":[{"$ref":"#/components/schemas/BlockchainInfo"}]},"period":{"type":"number","description":"Length of an auto-renewed validation cycle, in seconds. Present for AddAutoRenewedValidatorTx and SetAutoRenewedValidatorConfigTx. A value of 0 on SetAutoRenewedValidatorConfigTx indicates validation will attempt a graceful exit at the end of the current cycle."},"autoCompoundRewardShares":{"type":"number","description":"Fraction of each cycle’s rewards that is restaked (compounded into validator weight) rather than withdrawn, expressed in millionths (0–1000000). Present for AddAutoRenewedValidatorTx and SetAutoRenewedValidatorConfigTx."},"validatorAuthority":{"description":"Owner (addresses + signature threshold) authorized to reconfigure or exit the auto-renewed validator via SetAutoRenewedValidatorConfigTx. Present for AddAutoRenewedValidatorTx.","allOf":[{"$ref":"#/components/schemas/BalanceOwner"}]}},"required":["txHash","txType","blockTimestamp","blockNumber","blockHash","consumedUtxos","emittedUtxos","value","amountBurned","amountStaked","amountL1ValidatorBalanceBurned"]},"XChainTransactionType":{"type":"string","description":"Type of transaction.","enum":["BaseTx","CreateAssetTx","OperationTx","ImportTx","ExportTx","UNKNOWN"]},"UtxoCredential":{"type":"object","properties":{"signature":{"type":"string","description":"Signature provided to consume the output.","examples":["bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA"]},"publicKey":{"type":"string","description":"Public key associated with the signature.","examples":["AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI"]}}},"Utxo":{"type":"object","properties":{"addresses":{"description":"Addresses that are eligible to sign the consumption of this output.","examples":[["avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"]],"type":"array","items":{"type":"string"}},"asset":{"$ref":"#/components/schemas/AssetAmount"},"consumedOnChainId":{"type":"string","description":"Blockchain ID on which this output is consumed on.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"consumingTxHash":{"type":"string","description":"Transaction ID that consumed this output.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"createdOnChainId":{"type":"string","description":"Blockchain ID on which this output is created on.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"utxoId":{"type":"string","description":"UTXO ID for this output.","examples":["68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC"]},"utxoBytes":{"type":"string","description":"The bytes of the UTXO"},"consumingTxTimestamp":{"type":"number","description":"Unix timestamp in seconds at which this output was consumed.","examples":[1599696000]},"creationTxHash":{"type":"string","description":"Transaction ID that created this output.","examples":["FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z"]},"credentials":{"description":"Credentials that signed the transaction to consume this utxo","type":"array","items":{"$ref":"#/components/schemas/UtxoCredential"}},"groupId":{"type":"number","description":"Index representing the minting set for the NFT mint output."},"locktime":{"type":"number","description":"Locktime in seconds after which this output can be consumed.","examples":[0]},"outputIndex":{"type":"string","description":"Postion of this output in a list of lexiographically sorted outputs of a transaction.","examples":["38"]},"payload":{"type":"string","description":"Hex encoded data for NFT assets."},"threshold":{"type":"number","description":"Minimum number of signatures required to consume this output.","examples":[1]},"timestamp":{"type":"number","description":"Unix timestamp in seconds at which this outptut was created.","examples":[1599696000]},"utxoType":{"type":"string","description":"Type of output.","examples":["mint"]}},"required":["addresses","asset","consumedOnChainId","createdOnChainId","utxoId","creationTxHash","locktime","outputIndex","threshold","timestamp","utxoType"]},"PrimaryNetworkAssetCap":{"type":"string","description":"Cap represents if an asset is a variable or fixed cap asset.","enum":["fixed","variable"]},"XChainAssetDetails":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"createdAtTimestamp":{"type":"number","description":"Timestamp in seconds this asset was created on.","examples":[1675444720]},"cap":{"examples":["fixed"],"$ref":"#/components/schemas/PrimaryNetworkAssetCap"}},"required":["assetId","name","symbol","denomination","type","createdAtTimestamp","cap"]},"TransactionVertexDetail":{"type":"object","properties":{"hash":{"type":"string","description":"Vertex ID of the vertex this transaction belongs to.","examples":["82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S"]},"height":{"type":"number","description":"Vertex height of the vertex this transaction belongs to.","examples":[1961]},"timestamp":{"type":"number","description":"Timestamp in seconds this vertex was accepted.","examples":[1600762738]}},"required":["hash","height","timestamp"]},"XChainNonLinearTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"Unique ID for this transaction.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"chainFormat":{"type":"string","description":"Represents chain format this transaction is included in.","enum":["non-linear","linear"],"examples":["non-linear"]},"timestamp":{"type":"number","description":"Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.","examples":[1600762738]},"txType":{"examples":["BaseTx"],"$ref":"#/components/schemas/XChainTransactionType"},"memo":{"type":"string","description":"Hex encoded memo bytes for this transaction.","examples":["0x546865204176616c616e6368652050726f6a656374"]},"consumedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}},"emittedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}},"amountUnlocked":{"description":"Assets unlocked by inputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountCreated":{"description":"Assets created by outputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"assetCreated":{"description":"AssetAmount details of the asset created in CreateAssetTx","allOf":[{"$ref":"#/components/schemas/XChainAssetDetails"}]},"vertices":{"description":"A transaction on X-Chain can be accepted over multiple vertices.","type":"array","items":{"$ref":"#/components/schemas/TransactionVertexDetail"}}},"required":["txHash","chainFormat","timestamp","txType","memo","consumedUtxos","emittedUtxos","amountUnlocked","amountCreated","vertices"]},"XChainLinearTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"Unique ID for this transaction.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"chainFormat":{"type":"string","description":"Represents chain format this transaction is included in.","enum":["non-linear","linear"],"examples":["non-linear"]},"timestamp":{"type":"number","description":"Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.","examples":[1600762738]},"txType":{"examples":["BaseTx"],"$ref":"#/components/schemas/XChainTransactionType"},"memo":{"type":"string","description":"Hex encoded memo bytes for this transaction.","examples":["0x546865204176616c616e6368652050726f6a656374"]},"consumedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}},"emittedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}},"amountUnlocked":{"description":"Assets unlocked by inputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountCreated":{"description":"Assets created by outputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"assetCreated":{"description":"AssetAmount details of the asset created in CreateAssetTx","allOf":[{"$ref":"#/components/schemas/XChainAssetDetails"}]},"blockHeight":{"type":"number","description":"Height of the block this transaction belongs to.","examples":[1005]},"blockHash":{"type":"string","description":"Hash of the block this transaction belongs to.","examples":["82qPRREHmh8Cfta4PGD6GymY9ZLyvgYugqW6hj9FykpMVRz1S"]}},"required":["txHash","chainFormat","timestamp","txType","memo","consumedUtxos","emittedUtxos","amountUnlocked","amountCreated","blockHeight","blockHash"]},"EVMInput":{"type":"object","properties":{"fromAddress":{"type":"string","description":"EVM address from which the asset is exported in ExportTx.","examples":["0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c"]},"asset":{"description":"AssetAmount details for the asset being transferred.","allOf":[{"$ref":"#/components/schemas/AssetAmount"}]},"credentials":{"description":"Credentials that signed this transaction.","type":"array","items":{"$ref":"#/components/schemas/UtxoCredential"}}},"required":["fromAddress","asset","credentials"]},"CChainExportTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"Unique ID for this transaction.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"blockHeight":{"type":"number","description":"Height of the block this transaction belongs to.","examples":[1005]},"blockHash":{"type":"string","description":"Hash of the block this transaction belongs to.","examples":["0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee"]},"timestamp":{"type":"number","description":"Latest timestamp in seconds this transaction was accepted.","examples":[1600762738]},"memo":{"type":"string","description":"Hex encoded memo bytes for this transaction.","examples":["0x546865204176616c616e6368652050726f6a656374"]},"amountUnlocked":{"description":"Assets unlocked by inputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountCreated":{"description":"Assets created by outputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"txType":{"type":"string","description":"Type of transaction.","enum":["ExportTx"],"examples":["ExportTx"]},"evmInputs":{"type":"array","items":{"$ref":"#/components/schemas/EVMInput"}},"emittedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}}},"required":["txHash","blockHeight","blockHash","timestamp","memo","amountUnlocked","amountCreated","sourceChain","destinationChain","txType","evmInputs","emittedUtxos"]},"EVMOutput":{"type":"object","properties":{"toAddress":{"type":"string","description":"EVM address to which the asset is imported in ImportTx","examples":["0xD0f2898e49d941D6d479B381d3C8F0bd8d983b4c"]},"asset":{"description":"AssetAmount details for the asset being transferred.","allOf":[{"$ref":"#/components/schemas/AssetAmount"}]}},"required":["toAddress","asset"]},"CChainImportTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"Unique ID for this transaction.","examples":["3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c"]},"blockHeight":{"type":"number","description":"Height of the block this transaction belongs to.","examples":[1005]},"blockHash":{"type":"string","description":"Hash of the block this transaction belongs to.","examples":["0x57a5cb7704561d1d59bd563b6421021b7563960c05ba3ae0e36fc36917c742ee"]},"timestamp":{"type":"number","description":"Latest timestamp in seconds this transaction was accepted.","examples":[1600762738]},"memo":{"type":"string","description":"Hex encoded memo bytes for this transaction.","examples":["0x546865204176616c616e6368652050726f6a656374"]},"amountUnlocked":{"description":"Assets unlocked by inputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountCreated":{"description":"Assets created by outputs of this transaction.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"txType":{"type":"string","description":"Type of transaction.","enum":["ImportTx"],"examples":["ImportTx"]},"evmOutputs":{"type":"array","items":{"$ref":"#/components/schemas/EVMOutput"}},"consumedUtxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}}},"required":["txHash","blockHeight","blockHash","timestamp","memo","amountUnlocked","amountCreated","sourceChain","destinationChain","txType","evmOutputs","consumedUtxos"]},"BlockchainId":{"type":"string","enum":["11111111111111111111111111111111LpoYY","2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM","2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm","2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5","yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp","p-chain","x-chain","c-chain"]},"PrimaryNetworkChainName":{"type":"string","enum":["p-chain","x-chain","c-chain"]},"PrimaryNetworkChainInfo":{"type":"object","properties":{"chainName":{"$ref":"#/components/schemas/PrimaryNetworkChainName"},"network":{"$ref":"#/components/schemas/Network"}},"required":["chainName","network"]},"ListPChainTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/PChainTransaction"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["transactions","chainInfo"]},"ListXChainTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/XChainNonLinearTransaction"},{"$ref":"#/components/schemas/XChainLinearTransaction"}]}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["transactions","chainInfo"]},"ListCChainAtomicTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/CChainExportTransaction"},{"$ref":"#/components/schemas/CChainImportTransaction"}]}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["transactions","chainInfo"]},"PrimaryNetworkTxType":{"type":"string","enum":["AddValidatorTx","AddSubnetValidatorTx","AddDelegatorTx","CreateChainTx","CreateSubnetTx","ImportTx","ExportTx","AdvanceTimeTx","RewardValidatorTx","RemoveSubnetValidatorTx","TransformSubnetTx","AddPermissionlessValidatorTx","AddPermissionlessDelegatorTx","BaseTx","TransferSubnetOwnershipTx","ConvertSubnetToL1Tx","RegisterL1ValidatorTx","SetL1ValidatorWeightTx","DisableL1ValidatorTx","IncreaseL1ValidatorBalanceTx","AddAutoRenewedValidatorTx","SetAutoRenewedValidatorConfigTx","RewardAutoRenewedValidatorTx","UNKNOWN","CreateAssetTx","OperationTx"]},"SortOrder":{"type":"string","enum":["asc","desc"]},"PChainId":{"type":"string","enum":["11111111111111111111111111111111LpoYY","p-chain"]},"AutoRenewState":{"type":"string","description":"`renewing` = will roll into another cycle; `exiting` = graceful exit armed, this is the final cycle. Not an outcome - the cycle can still abort on reward eligibility.","enum":["renewing","exiting","exited","aborted"]},"AutoRenewExitReason":{"type":"string","description":"Why the validation ended. `graceful` = exited after being configured to stop renewing; `uptime_not_met` = removed because reward eligibility was not met. Null while still active (`renewing` or `exiting`). `state` carries the same distinction (`exited` vs `aborted`).","enum":["graceful","uptime_not_met"]},"AutoRenewDetails":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/AutoRenewState"},"nextPeriodSeconds":{"type":"number","description":"Length of the next cycle in seconds. `0` = graceful exit armed at the end of the current cycle."},"autoCompoundSharePercent":{"type":"number","description":"Share of each cycle's rewards that is restaked (compounded into validator weight), as a percent from 0 to 100 (not millionths/ppm, e.g. 90 means 90%)."},"compoundedWeight":{"type":"string","description":"Current validator weight in nAVAX: the original stake plus all rewards restaked across prior cycles."},"accruedValidationRewards":{"type":"string","description":"Cumulative validation rewards restaked from prior cycles, in nAVAX."},"accruedDelegateeRewards":{"type":"string","description":"Cumulative delegatee commission restaked from prior cycles, in nAVAX."},"validationRewardAddresses":{"description":"Reward owner addresses (validation).","type":"array","items":{"type":"string"}},"delegationRewardAddresses":{"description":"Reward owner addresses (delegation).","type":"array","items":{"type":"string"}},"exitReason":{"nullable":true,"$ref":"#/components/schemas/AutoRenewExitReason"},"endedAtTimestamp":{"type":["object","null"],"description":"When it exited/aborted; null while still active."}},"required":["state","nextPeriodSeconds","autoCompoundSharePercent","compoundedWeight","accruedValidationRewards","accruedDelegateeRewards","validationRewardAddresses","delegationRewardAddresses","exitReason","endedAtTimestamp"]},"PChainStakingTransaction":{"type":"object","properties":{"txHash":{"type":"string","description":"A P-Chain transaction hash.","examples":["3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP"]},"txType":{"examples":["AddDelegatorTx"],"$ref":"#/components/schemas/PChainTransactionType"},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockNumber":{"type":"string","description":"The height of the block in which the transaction was included"},"blockHash":{"type":"string"},"consumedUtxos":{"description":"The consumed UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/PChainUtxo"}},"emittedUtxos":{"description":"The newly created UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/PChainUtxo"}},"sourceChain":{"type":"string","description":"Source chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"destinationChain":{"type":"string","description":"Destination chain for an atomic transaction.","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"value":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountBurned":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountStaked":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"amountL1ValidatorBalanceBurned":{"description":"A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.","type":"array","items":{"$ref":"#/components/schemas/AssetAmount"}},"startTimestamp":{"type":"number","description":"Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx. For AddAutoRenewedValidatorTx this reflects the cycle the validator is currently serving, so it advances on each renewal; use blockTimestamp for when the position was first created."},"endTimestamp":{"type":"number","description":"Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx. For AddAutoRenewedValidatorTx this reflects the cycle the validator is currently serving, so it advances on each renewal."},"delegationFeePercent":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddAutoRenewedValidatorTx"},"nodeId":{"type":"string","description":"The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx"},"subnetId":{"type":"string","description":"Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx"},"l1ValidatorManagerDetails":{"description":"Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1","allOf":[{"$ref":"#/components/schemas/L1ValidatorManagerDetails"}]},"l1ValidatorDetails":{"description":"Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time","type":"array","items":{"$ref":"#/components/schemas/L1ValidatorDetailsTransaction"}},"estimatedReward":{"type":"string","description":"Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, AddAutoRenewedValidatorTx (the cycle the validator is currently serving), and each RewardAutoRenewedValidatorTx (the estimate for the next cycle it starts)."},"rewardTxHash":{"type":"string","description":"Reward transaction hash for the completed validations or delegations"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"memo":{"type":"string"},"stakingTxHash":{"type":"string","description":"Staking transaction corresponding to the RewardValidatorTx, or the originating AddAutoRenewedValidatorTx for a RewardAutoRenewedValidatorTx"},"subnetOwnershipInfo":{"description":"Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx","allOf":[{"$ref":"#/components/schemas/SubnetOwnershipInfo"}]},"blsCredentials":{"description":"Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx, AddAutoRenewedValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"blockchainInfo":{"description":"Details of the blockchain that was created in the CreateChainTx","allOf":[{"$ref":"#/components/schemas/BlockchainInfo"}]},"period":{"type":"number","description":"Length of an auto-renewed validation cycle, in seconds. Present for AddAutoRenewedValidatorTx and SetAutoRenewedValidatorConfigTx. A value of 0 on SetAutoRenewedValidatorConfigTx indicates validation will attempt a graceful exit at the end of the current cycle."},"autoCompoundRewardShares":{"type":"number","description":"Fraction of each cycle’s rewards that is restaked (compounded into validator weight) rather than withdrawn, expressed in millionths (0–1000000). Present for AddAutoRenewedValidatorTx and SetAutoRenewedValidatorConfigTx."},"validatorAuthority":{"description":"Owner (addresses + signature threshold) authorized to reconfigure or exit the auto-renewed validator via SetAutoRenewedValidatorConfigTx. Present for AddAutoRenewedValidatorTx.","allOf":[{"$ref":"#/components/schemas/BalanceOwner"}]},"autoRenew":{"description":"Present only for an active auto-renewed validator (AddAutoRenewedValidatorTx). The validator's current live auto-renew state and latest/next-cycle config, different from the initial `period`/`autoCompoundRewardShares`.","allOf":[{"$ref":"#/components/schemas/AutoRenewDetails"}]}},"required":["txHash","txType","blockTimestamp","blockNumber","blockHash","consumedUtxos","emittedUtxos","value","amountBurned","amountStaked","amountL1ValidatorBalanceBurned"]},"ListPChainStakingTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/PChainStakingTransaction"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["transactions","chainInfo"]},"StakingType":{"type":"string","description":"Staking kind. `autoRenewed` type validators run in repeating cycles; for these the top-level startTimestamp/endTimestamp/amountStaked reflect the current cycle and compounded weight.","enum":["fixed","autoRenewed"]},"PendingReward":{"type":"object","properties":{"addresses":{"description":"An array of P-Chain wallet addresses.","examples":[["avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg"]],"type":"array","items":{"type":"string"}},"txHash":{"type":"string"},"amountStaked":{"type":"string","description":"Amount staked by the validator this reward comes from. For autoRenewed validators this is the position's compounded weight, so it is the same on every cycle rather than the weight held during that particular cycle — per-cycle weight is not recorded on chain."},"nodeId":{"type":"string"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"rewardType":{"$ref":"#/components/schemas/RewardType"},"stakingType":{"$ref":"#/components/schemas/StakingType"},"progress":{"type":"number"},"estimatedReward":{"description":"An object containing P-chain Asset basic info and the amount of that Asset ID. For `autoRenewed` validators this amount is **net** of compounding: it is only the portion of the cycle's reward that will be paid out to the reward address, already reduced by the auto-compound share. Do **not** apply `autoRenew.autoCompoundSharePercent` to it again — that double-discounts the payout. The gross figure for the same cycle is `potentialRewards.validationRewardAmount` on the validator endpoints.","allOf":[{"$ref":"#/components/schemas/AssetAmount"}]}},"required":["addresses","txHash","amountStaked","nodeId","startTimestamp","endTimestamp","rewardType","stakingType","progress","estimatedReward"]},"ListPendingRewardsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"pendingRewards":{"type":"array","items":{"$ref":"#/components/schemas/PendingReward"}}},"required":["pendingRewards"]},"CurrencyCode":{"type":"string","description":"ISO 4217 currency code.","enum":["usd","eur","aud","cad","chf","clp","cny","czk","dkk","gbp","hkd","huf","jpy","nzd"]},"Money":{"type":"object","properties":{"currencyCode":{"examples":["usd"],"$ref":"#/components/schemas/CurrencyCode"},"value":{"type":"number","description":"Monetary value in base 10 decimals.","examples":["42.42"]}},"required":["currencyCode","value"]},"AssetWithPriceInfo":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]},"historicalPrice":{"description":"The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.","allOf":[{"$ref":"#/components/schemas/Money"}]}},"required":["assetId","name","symbol","denomination","type","amount"]},"HistoricalReward":{"type":"object","properties":{"addresses":{"description":"An array of P-Chain wallet addresses.","examples":[["avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg"]],"type":"array","items":{"type":"string"}},"txHash":{"type":"string"},"amountStaked":{"type":"string","description":"Amount staked by the validator this reward comes from. For autoRenewed validators this is the position's compounded weight, so it is the same on every cycle rather than the weight held during that particular cycle — per-cycle weight is not recorded on chain."},"nodeId":{"type":"string"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"rewardType":{"$ref":"#/components/schemas/RewardType"},"stakingType":{"$ref":"#/components/schemas/StakingType"},"utxoId":{"type":"string"},"outputIndex":{"type":"number"},"reward":{"$ref":"#/components/schemas/AssetWithPriceInfo"},"rewardTxHash":{"type":"string"}},"required":["addresses","txHash","amountStaked","nodeId","startTimestamp","endTimestamp","rewardType","stakingType","utxoId","outputIndex","reward","rewardTxHash"]},"ListHistoricalRewardsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"historicalRewards":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalReward"}}},"required":["historicalRewards"]},"ListPChainUtxosResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"utxos":{"type":"array","items":{"$ref":"#/components/schemas/PChainUtxo"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["utxos","chainInfo"]},"ListUtxosResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"utxos":{"type":"array","items":{"$ref":"#/components/schemas/Utxo"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["utxos","chainInfo"]},"UtxosSortByOption":{"type":"string","enum":["timestamp","amount"]},"PrimaryNetworkAddressesBodyDto":{"type":"object","properties":{"addresses":{"type":"string","description":"Comma-separated list of primary network addresses","example":"P-avax1abc123,X-avax1def456,C-avax1ghi789"}},"required":["addresses"]},"PrimaryNetworkType":{"type":"string","enum":["mainnet","fuji"]},"LastActivityTimestamp":{"type":"object","properties":{"timestamp":{"type":"number","description":"Unix timestamp in seconds at which the last activity occurred."},"blockNumber":{"type":"string","description":"Block height at which the last activity occurred."},"txHash":{"type":"string","description":"Transaction hash of the transaction that created or consumed the address' UTXOs."},"utxoId":{"type":"string","description":"UTXO ID of the UTXO that was created or consumed."},"isConsumed":{"type":"boolean","description":"Whether the last activity was a consumption of an existing UTXO."},"chainName":{"$ref":"#/components/schemas/PrimaryNetworkChainName"},"network":{"$ref":"#/components/schemas/PrimaryNetworkType"}},"required":["timestamp","blockNumber","txHash","utxoId","isConsumed","chainName","network"]},"AggregatedAssetAmount":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]},"utxoCount":{"type":"number","examples":[1]}},"required":["assetId","name","symbol","denomination","type","amount","utxoCount"]},"PChainSharedAsset":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]},"utxoCount":{"type":"number","examples":[1]},"sharedWithChainId":{"type":"string","examples":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"]},"status":{"type":"string"}},"required":["assetId","name","symbol","denomination","type","amount","utxoCount","sharedWithChainId","status"]},"PChainBalance":{"type":"object","properties":{"unlockedUnstaked":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of unstaked Avax that is consumable by any transaction.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"unlockedStaked":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"lockedPlatform":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"lockedStakeable":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"lockedStaked":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of staked Avax that will be locked when the staking period ends.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"pendingStaked":{"description":"A list of objects containing P-chain Asset basic info, amount,  and utxo count of that Asset ID.  Denotes the amount of staked Avax whose staking period has not yet started.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"restakedRewards":{"type":"string","description":"Total AVAX (in nAVAX) restaked into auto-renewed validators via compounding. These rewards are bonded into validator weight and have no UTXO until the validator exits, so they are reported here as a separate amount (always AVAX). Add to unlockedStaked/lockedStaked for an auto-renewed validator's full current staked value.\n\nCurrent-balance queries only. The field is OMITTED for historical queries, i.e. when blockTimestamp is supplied with a value greater than 0, because compounding history is not reconstructable from current-state data. Absence therefore means \"not available for this timestamp\" — it does not mean nothing was compounded. A current-balance query for an address with no auto-renewed position returns \"0\". Note blockTimestamp=0 is treated as \"no timestamp supplied\" and is answered as a current-balance query."},"atomicMemoryUnlocked":{"description":"A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.","type":"array","items":{"$ref":"#/components/schemas/PChainSharedAsset"}},"atomicMemoryLocked":{"description":"A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.","type":"array","items":{"$ref":"#/components/schemas/PChainSharedAsset"}}},"required":["unlockedUnstaked","unlockedStaked","lockedPlatform","lockedStakeable","lockedStaked","pendingStaked","atomicMemoryUnlocked","atomicMemoryLocked"]},"ListPChainBalancesResponse":{"type":"object","properties":{"balances":{"$ref":"#/components/schemas/PChainBalance"},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["balances","chainInfo"]},"XChainSharedAssetBalance":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]},"utxoCount":{"type":"number","examples":[1]},"sharedWithChainId":{"type":"string"}},"required":["assetId","name","symbol","denomination","type","amount","utxoCount","sharedWithChainId"]},"XChainBalances":{"type":"object","properties":{"locked":{"description":"A list of objects containing X-chain Asset balance information.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"unlocked":{"description":"A list of objects containing X-chain Asset balance information.","type":"array","items":{"$ref":"#/components/schemas/AggregatedAssetAmount"}},"atomicMemoryUnlocked":{"type":"array","items":{"$ref":"#/components/schemas/XChainSharedAssetBalance"}},"atomicMemoryLocked":{"type":"array","items":{"$ref":"#/components/schemas/XChainSharedAssetBalance"}}},"required":["locked","unlocked","atomicMemoryUnlocked","atomicMemoryLocked"]},"ListXChainBalancesResponse":{"type":"object","properties":{"balances":{"$ref":"#/components/schemas/XChainBalances"},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["balances","chainInfo"]},"CChainSharedAssetBalance":{"type":"object","properties":{"assetId":{"type":"string","description":"Unique ID for an asset.","examples":["th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof"]},"name":{"type":"string","description":"Name of this asset.","examples":["Avalanche"]},"symbol":{"type":"string","description":"Symbol for this asset (max 4 characters).","examples":["AVAX"]},"denomination":{"type":"number","description":"Denomination of this asset to represent fungibility.","examples":[9]},"type":{"examples":["secp256k1"],"$ref":"#/components/schemas/PrimaryNetworkAssetType"},"amount":{"type":"string","description":"Amount of the asset.","examples":["5001000"]},"utxoCount":{"type":"number","examples":[1]},"sharedWithChainId":{"type":"string"}},"required":["assetId","name","symbol","denomination","type","amount","utxoCount","sharedWithChainId"]},"CChainAtomicBalances":{"type":"object","properties":{"atomicMemoryUnlocked":{"type":"array","items":{"$ref":"#/components/schemas/CChainSharedAssetBalance"}},"atomicMemoryLocked":{"type":"array","items":{"$ref":"#/components/schemas/CChainSharedAssetBalance"}}},"required":["atomicMemoryUnlocked","atomicMemoryLocked"]},"ListCChainAtomicBalancesResponse":{"type":"object","properties":{"balances":{"$ref":"#/components/schemas/CChainAtomicBalances"},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["balances","chainInfo"]},"ProposerDetails":{"type":"object","properties":{"proposerId":{"type":"string"},"proposerParentId":{"type":"string"},"proposerNodeId":{"type":"string"},"proposerPChainHeight":{"type":"number"},"proposerTimestamp":{"type":"number"}}},"GetPrimaryNetworkBlockResponse":{"type":"object","properties":{"blockNumber":{"type":"string"},"blockHash":{"type":"string"},"parentHash":{"type":"string"},"blockTimestamp":{"type":"number"},"blockType":{"type":"string"},"txCount":{"type":"number"},"transactions":{"type":"array","items":{"type":"string"}},"blockSizeBytes":{"type":"number"},"l1ValidatorsAccruedFees":{"type":"number"},"activeL1Validators":{"type":"number"},"currentSupply":{"type":"string"},"proposerDetails":{"$ref":"#/components/schemas/ProposerDetails"}},"required":["blockNumber","blockHash","parentHash","blockTimestamp","blockType","txCount","transactions","blockSizeBytes"]},"PrimaryNetworkBlock":{"type":"object","properties":{"blockNumber":{"type":"string"},"blockHash":{"type":"string"},"parentHash":{"type":"string"},"blockTimestamp":{"type":"number"},"blockType":{"type":"string"},"txCount":{"type":"number"},"transactions":{"type":"array","items":{"type":"string"}},"blockSizeBytes":{"type":"number"},"l1ValidatorsAccruedFees":{"type":"number"},"activeL1Validators":{"type":"number"},"currentSupply":{"type":"string"},"proposerDetails":{"$ref":"#/components/schemas/ProposerDetails"}},"required":["blockNumber","blockHash","parentHash","blockTimestamp","blockType","txCount","transactions","blockSizeBytes"]},"ListPrimaryNetworkBlocksResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/PrimaryNetworkBlock"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["blocks","chainInfo"]},"XChainId":{"type":"string","enum":["2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM","2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm","x-chain"]},"XChainVertex":{"type":"object","properties":{"vertexHash":{"type":"string"},"parentHashes":{"type":"array","items":{"type":"string"}},"vertexHeight":{"type":"number"},"vertexIndex":{"type":"number"},"vertexTimestamp":{"type":"number"},"txCount":{"type":"number"},"transactions":{"type":"array","items":{"type":"string"}},"vertexSizeBytes":{"type":"number"}},"required":["vertexHash","parentHashes","vertexHeight","vertexIndex","vertexTimestamp","txCount","transactions","vertexSizeBytes"]},"ListXChainVerticesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"vertices":{"type":"array","items":{"$ref":"#/components/schemas/XChainVertex"}},"chainInfo":{"$ref":"#/components/schemas/PrimaryNetworkChainInfo"}},"required":["vertices","chainInfo"]},"BlockchainIds":{"type":"string","enum":["11111111111111111111111111111111LpoYY","2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM","2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm","2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5","yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"]},"ChainAddressChainIdMap":{"type":"object","properties":{"address":{"type":"string"},"blockchainIds":{"type":"array","items":{"$ref":"#/components/schemas/BlockchainIds"}}},"required":["address","blockchainIds"]},"ChainAddressChainIdMapListResponse":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/ChainAddressChainIdMap"}}},"required":["addresses"]},"EvmGenesisFeeConfigDto":{"type":"object","properties":{"baseFeeChangeDenominator":{"type":"number","description":"Base fee change denominator","example":36},"blockGasCostStep":{"type":"number","description":"Block gas cost step","example":200000},"gasLimit":{"type":"number","description":"Gas limit","example":12000000},"maxBlockGasCost":{"type":"number","description":"Maximum block gas cost","example":1000000},"minBaseFee":{"type":"number","description":"Minimum base fee","example":25000000000},"minBlockGasCost":{"type":"number","description":"Minimum block gas cost","example":0},"targetBlockRate":{"type":"number","description":"Target block rate","example":2},"targetGas":{"type":"number","description":"Target gas","example":60000000}}},"EvmGenesisWarpConfigDto":{"type":"object","properties":{"blockTimestamp":{"type":"number","description":"Block timestamp","example":1690000000},"quorumNumerator":{"type":"number","description":"Quorum numerator","example":67},"requirePrimaryNetworkSigners":{"type":"boolean","description":"Require primary network signers","example":true}}},"EvmGenesisAllowListConfigDto":{"type":"object","properties":{"blockTimestamp":{"type":"number","description":"Block timestamp","example":0},"adminAddresses":{"description":"Admin addresses","example":["0x1234..."],"type":"array","items":{"type":"string"}},"managerAddresses":{"description":"Manager addresses","example":["0x5678..."],"type":"array","items":{"type":"string"}},"enabledAddresses":{"description":"Enabled addresses","example":["0x9abc..."],"type":"array","items":{"type":"string"}}}},"EvmGenesisConfigDto":{"type":"object","properties":{"berlinBlock":{"type":"number","description":"Berlin block number","example":0},"byzantiumBlock":{"type":"number","description":"Byzantium block number","example":0},"chainId":{"type":"number","description":"Chain ID","example":43114},"constantinopleBlock":{"type":"number","description":"Constantinople block number","example":0},"eip150Block":{"type":"number","description":"EIP-150 block number","example":0},"eip150Hash":{"type":"string","description":"EIP-150 hash","example":"0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"},"eip155Block":{"type":"number","description":"EIP-155 block number","example":0},"eip158Block":{"type":"number","description":"EIP-158 block number","example":0},"feeConfig":{"description":"Fee configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisFeeConfigDto"}]},"homesteadBlock":{"type":"number","description":"Homestead block number","example":0},"istanbulBlock":{"type":"number","description":"Istanbul block number","example":0},"londonBlock":{"type":"number","description":"London block number","example":0},"muirGlacierBlock":{"type":"number","description":"Muir Glacier block number","example":0},"petersburgBlock":{"type":"number","description":"Petersburg block number","example":0},"subnetEVMTimestamp":{"type":"number","description":"Subnet EVM timestamp","example":0},"allowFeeRecipients":{"type":"boolean","description":"Allow fee recipients","example":false},"warpConfig":{"description":"Warp configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisWarpConfigDto"}]},"txAllowListConfig":{"description":"Transaction allow list configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisAllowListConfigDto"}]},"contractDeployerAllowListConfig":{"description":"Contract deployer allow list configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisAllowListConfigDto"}]},"contractNativeMinterConfig":{"description":"Contract native minter configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisAllowListConfigDto"}]},"feeManagerConfig":{"description":"Fee manager configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisAllowListConfigDto"}]},"rewardManagerConfig":{"description":"Reward manager configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisAllowListConfigDto"}]}}},"EvmGenesisDto":{"type":"object","properties":{"airdropAmount":{"type":["number","null"],"description":"Airdrop amount","example":null},"airdropHash":{"type":"string","description":"Airdrop hash","example":"0x0000000000000000000000000000000000000000000000000000000000000000"},"alloc":{"type":"object","description":"Allocation of accounts and balances","additionalProperties":{"$ref":"#/components/schemas/EvmGenesisAllocDto"},"example":{"0xabcdefabcdefabcdefabcdefabcdefabcdefabcd":{"balance":"0x52b7d2dcc80cd2e4000000","code":"0x6080604052...","storage":{"0x0":"0x1"}}}},"baseFeePerGas":{"type":["number","null"],"description":"Base fee per gas","example":null},"blobGasUsed":{"type":["string","null"],"description":"Blob gas used","example":null},"coinbase":{"type":"string","description":"Coinbase address","example":"0x0000000000000000000000000000000000000000"},"config":{"description":"Genesis configuration","allOf":[{"$ref":"#/components/schemas/EvmGenesisConfigDto"}]},"difficulty":{"type":"string","description":"Difficulty","example":"0x0"},"excessBlobGas":{"type":["string","null"],"description":"Excess blob gas","example":null},"extraData":{"type":"string","description":"Extra data","example":"0x"},"gasLimit":{"type":"string","description":"Gas limit","example":"0xb71b00"},"gasUsed":{"type":"string","description":"Gas used","example":"0x0"},"mixHash":{"type":"string","description":"Mix hash","example":"0x0000000000000000000000000000000000000000000000000000000000000000"},"nonce":{"type":"string","description":"Nonce","example":"0x0"},"number":{"type":"string","description":"Block number","example":"0x0"},"parentHash":{"type":"string","description":"Parent hash","example":"0x0000000000000000000000000000000000000000000000000000000000000000"},"timestamp":{"type":"string","description":"Block timestamp","example":"0x64f0a000"}}},"EvmGenesisAllocDto":{"type":"object","properties":{"balance":{"type":"string","description":"Account balance in hex format","example":"0x295BE96E64066972000000"},"code":{"type":"string","description":"Contract bytecode in hex format","example":"0x6080604052..."},"storage":{"type":"object","description":"Contract storage slots","additionalProperties":{"type":"string"}}}},"StakingDistribution":{"type":"object","properties":{"version":{"type":"string","description":"AvalancheGo version for the validator node."},"amountStaked":{"type":"string","description":"The total amount staked by validators using this version."},"validatorCount":{"type":"number","description":"The number of validators using this version."}},"required":["version","amountStaked","validatorCount"]},"ValidatorsDetails":{"type":"object","properties":{"validatorCount":{"type":"number"},"totalAmountStaked":{"type":"string"},"estimatedAnnualStakingReward":{"type":"string","description":"Total potential rewards from currently active validations and delegations."},"stakingDistributionByVersion":{"type":"array","items":{"$ref":"#/components/schemas/StakingDistribution"}},"stakingRatio":{"type":"string","description":"Ratio of total active stake amount to the current supply."}},"required":["validatorCount","totalAmountStaked","estimatedAnnualStakingReward","stakingDistributionByVersion","stakingRatio"]},"DelegatorsDetails":{"type":"object","properties":{"delegatorCount":{"type":"number"},"totalAmountStaked":{"type":"string"}},"required":["delegatorCount","totalAmountStaked"]},"GetNetworkDetailsResponse":{"type":"object","properties":{"validatorDetails":{"$ref":"#/components/schemas/ValidatorsDetails"},"delegatorDetails":{"$ref":"#/components/schemas/DelegatorsDetails"}},"required":["validatorDetails","delegatorDetails"]},"Blockchain":{"type":"object","properties":{"createBlockTimestamp":{"type":"number"},"createBlockNumber":{"type":"string"},"blockchainId":{"type":"string"},"vmId":{"type":"string"},"subnetId":{"type":"string"},"blockchainName":{"type":"string"},"evmChainId":{"type":"number","description":"EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.","example":43114},"genesisData":{"description":"The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.","oneOf":[{"$ref":"#/components/schemas/EvmGenesisDto"},{"type":"string","example":"{\"chainId\": 43114}"}],"examples":{"config":{"chainId":43114}}}},"required":["createBlockTimestamp","createBlockNumber","blockchainId","vmId","subnetId","blockchainName"]},"ListBlockchainsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"blockchains":{"type":"array","items":{"$ref":"#/components/schemas/Blockchain"}}},"required":["blockchains"]},"Subnet":{"type":"object","properties":{"createBlockTimestamp":{"type":"number"},"createBlockIndex":{"type":"string"},"subnetId":{"type":"string"},"ownerAddresses":{"deprecated":true,"description":"This field is deprecated. Use subnetOwnershipInfo instead.","type":"array","items":{"type":"string"}},"threshold":{"type":"number","deprecated":true,"description":"This field is deprecated. Use subnetOwnershipInfo instead."},"locktime":{"type":"number","deprecated":true,"description":"This field is deprecated. Use subnetOwnershipInfo instead."},"subnetOwnershipInfo":{"description":"Latest subnet owner details for this Subnet.","allOf":[{"$ref":"#/components/schemas/SubnetOwnershipInfo"}]},"isL1":{"type":"boolean","description":"Whether the subnet is an L1 or not."},"l1ConversionTransactionHash":{"type":"string","description":"Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1."},"l1ValidatorManagerDetails":{"description":"L1 validator manager details.","allOf":[{"$ref":"#/components/schemas/L1ValidatorManagerDetails"}]},"blockchains":{"type":"array","items":{"$ref":"#/components/schemas/Blockchain"}}},"required":["createBlockTimestamp","createBlockIndex","subnetId","ownerAddresses","threshold","locktime","subnetOwnershipInfo","isL1","blockchains"]},"ListSubnetsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"subnets":{"type":"array","items":{"$ref":"#/components/schemas/Subnet"}}},"required":["subnets"]},"SortByOption":{"type":"string","enum":["blockIndex","delegationCapacity","timeRemaining","delegationFee","uptimePerformance"]},"ValidationStatusType":{"type":"string","enum":["completed","active","pending","removed"]},"Rewards":{"type":"object","properties":{"validationRewardAmount":{"type":"string"},"delegationRewardAmount":{"type":"string"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"rewardTxHash":{"type":"string"}},"required":["validationRewardAmount","delegationRewardAmount"]},"CompletedValidatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"amountStaked":{"type":"string"},"delegationFee":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations."},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"stakingType":{"$ref":"#/components/schemas/StakingType"},"blsCredentials":{"description":"Present for AddPermissionlessValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"delegatorCount":{"type":"number","description":"The number of delegators linked to the validator. For `autoRenewed` validators this reflects the final staking cycle (a single validation period), not a cumulative total across cycles."},"amountDelegated":{"type":"string","description":"The total amount in nAVAX delegated to the validator. For `autoRenewed` validators this reflects the final staking cycle."},"rewards":{"description":"Rewards for the validator. For `autoRenewed` validators the delegation portion covers the final staking cycle.\n\nAs with `potentialRewards` on an active validator, for `autoRenewed` validators these amounts are **gross** — before the restaked share is deducted.","allOf":[{"$ref":"#/components/schemas/Rewards"}]},"validationStatus":{"type":"string","enum":["completed"]},"autoRenew":{"description":"Final-cycle renewal and compounding detail for an auto-renewed validator that has exited/aborted. Present only when stakingType is `autoRenewed`.","allOf":[{"$ref":"#/components/schemas/AutoRenewDetails"}]}},"required":["txHash","nodeId","subnetId","amountStaked","startTimestamp","endTimestamp","stakingType","delegatorCount","rewards","validationStatus"]},"ValidatorHealthDetails":{"type":"object","properties":{"reachabilityPercent":{"type":"number","description":"Percent of requests responded to in last polling."},"benchedPChainRequestsPercent":{"type":"number","description":"Percent of requests benched on the P-Chain in last polling."},"benchedXChainRequestsPercent":{"type":"number","description":"Percentage of requests benched on the X-Chain in last polling."},"benchedCChainRequestsPercent":{"type":"number","description":"Percentage of requests benched on the C-Chain in last polling."}},"required":["reachabilityPercent","benchedPChainRequestsPercent","benchedXChainRequestsPercent","benchedCChainRequestsPercent"]},"Geolocation":{"type":"object","properties":{"city":{"type":"string","description":"The name of the validator node."},"country":{"type":"string","description":"The city of the validator node."},"countryCode":{"type":"string","description":"The country code of the validator node."},"latitude":{"type":"number","description":"The latitude of the validator node."},"longitude":{"type":"number","description":"The longitude of the validator node."}},"required":["city","country","countryCode","latitude","longitude"]},"ActiveValidatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"amountStaked":{"type":"string"},"delegationFee":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations."},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"stakingType":{"$ref":"#/components/schemas/StakingType"},"blsCredentials":{"description":"Present for AddPermissionlessValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"stakePercentage":{"type":"number","description":"The percentage of this validator's stake amount to the total active stake."},"delegatorCount":{"type":"number","description":"The number of delegators linked to the validator. For `autoRenewed` validators this counts the current staking cycle only (a single validation period, like a fixed validator over its one period) — not a cumulative total across cycles."},"amountDelegated":{"type":"string","description":"The total amount in nAVAX delegated to the validator. For `autoRenewed` validators this reflects the current staking cycle only (a single validation period), not a cumulative total across cycles."},"uptimePerformance":{"type":"number","description":"The validator's uptime percentage, as observed by our internal node and measured over time."},"avalancheGoVersion":{"type":"string"},"delegationCapacity":{"type":"string","description":"The amount of stake in nAVAX that can be delegated to this validator."},"potentialRewards":{"description":"Estimated rewards for the validator if the validation is successful. For `autoRenewed` validators the delegation portion (`delegationRewardAmount`) covers the current staking cycle only.\n\nFor `autoRenewed` validators these amounts are **gross** — the whole reward the cycle is expected to earn, before any of it is restaked. The portion that will actually be paid out to the reward address is `gross * (100 - autoRenew.autoCompoundSharePercent) / 100`. Note this differs from `estimatedReward` on `/rewards::listPending`, which reports that withdrawn portion directly.","allOf":[{"$ref":"#/components/schemas/Rewards"}]},"validationStatus":{"type":"string","enum":["active"]},"validatorHealth":{"$ref":"#/components/schemas/ValidatorHealthDetails"},"geolocation":{"nullable":true,"description":"The geographical location of the validator node, if available.","allOf":[{"$ref":"#/components/schemas/Geolocation"}]},"autoRenew":{"description":"Current-cycle renewal and compounding detail. Present only when stakingType is `autoRenewed`.","allOf":[{"$ref":"#/components/schemas/AutoRenewDetails"}]}},"required":["txHash","nodeId","subnetId","amountStaked","startTimestamp","endTimestamp","stakingType","stakePercentage","delegatorCount","uptimePerformance","potentialRewards","validationStatus","validatorHealth","geolocation"]},"PendingValidatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"amountStaked":{"type":"string"},"delegationFee":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations."},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"blsCredentials":{"description":"Present for AddPermissionlessValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"validationStatus":{"type":"string","enum":["pending"]},"stakingType":{"$ref":"#/components/schemas/StakingType"}},"required":["txHash","nodeId","subnetId","amountStaked","startTimestamp","endTimestamp","validationStatus","stakingType"]},"RemovedValidatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"amountStaked":{"type":"string"},"delegationFee":{"type":"string","description":"The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations."},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"stakingType":{"$ref":"#/components/schemas/StakingType"},"blsCredentials":{"description":"Present for AddPermissionlessValidatorTx","allOf":[{"$ref":"#/components/schemas/BlsCredentials"}]},"removeTxHash":{"type":"string","description":"The transaction hash that removed the permissioned subnet validator."},"removeTimestamp":{"type":"number","description":"The timestamp of the transaction that removed the permissioned subnet validator."},"validationStatus":{"type":"string","enum":["removed"]}},"required":["txHash","nodeId","subnetId","amountStaked","startTimestamp","endTimestamp","stakingType","removeTxHash","removeTimestamp","validationStatus"]},"ListValidatorDetailsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"validators":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/CompletedValidatorDetails"},{"$ref":"#/components/schemas/ActiveValidatorDetails"},{"$ref":"#/components/schemas/PendingValidatorDetails"},{"$ref":"#/components/schemas/RemovedValidatorDetails"}],"discriminator":{"propertyName":"validationStatus","mapping":{"active":"#/components/schemas/ActiveValidatorDetails","pending":"#/components/schemas/PendingValidatorDetails","completed":"#/components/schemas/CompletedValidatorDetails","removed":"#/components/schemas/RemovedValidatorDetails"}}},"description":"The list of validator Details."}},"required":["validators"]},"AutoRenewedCycleOutcome":{"type":"string","description":"How this cycle ended. `renewed` = rolled into another cycle; `exited` = final cycle of a graceful exit; `aborted` = reward eligibility not met.","enum":["renewed","exited","aborted"]},"AutoRenewedCycle":{"type":"object","properties":{"cycleIndex":{"type":"number","description":"1-based sequence within this position. A node that has held more than one auto-renewed position has more than one cycle 1, so group by `stakingTxHash` or filter with the `txHash` query param."},"rewardTxHash":{"type":"string","description":"The transaction that settled this cycle. Present even when the cycle paid nothing out, which is what makes a fully-compounding cycle visible."},"stakingTxHash":{"type":"string","description":"The originating AddAutoRenewedValidatorTx. Identifies the position, and is shared by every cycle of it."},"startTimestamp":{"type":"number","description":"This cycle's window start, unix seconds."},"endTimestamp":{"type":"number","description":"This cycle's window end, unix seconds."},"weightAtCycleStart":{"type":"string","description":"Weight bonded for this cycle in nAVAX, before this cycle's own rewards were compounded into it. The denominator for per-cycle yield."},"grossValidationReward":{"type":"string","description":"Validation reward earned this cycle, in nAVAX. `\"0\"` when the cycle was aborted, since the reward is forfeited. Excludes rewards earned in earlier cycles."},"withdrawnValidationReward":{"type":"string","description":"Portion paid out as a reward UTXO, in nAVAX."},"compoundedValidationReward":{"type":"string","description":"Portion restaked into validator weight, in nAVAX. Produces no UTXO. May be below `share x gross` when restaking would exceed the maximum validator stake."},"grossDelegateeReward":{"type":"string","description":"Delegatee commission earned this cycle, in nAVAX. Still paid when the cycle is aborted. `\"0\"` when the validator had no delegators."},"withdrawnDelegateeReward":{"type":"string","description":"Commission paid out, in nAVAX."},"compoundedDelegateeReward":{"type":"string","description":"Commission restaked into weight, in nAVAX."},"autoCompoundSharePercent":{"type":"number","description":"0-100. The share in effect during this cycle, not the current one."},"outcome":{"$ref":"#/components/schemas/AutoRenewedCycleOutcome"},"delegatorCount":{"type":"number","description":"Delegations overlapping this cycle's window. A delegation covering part of the cycle counts the same as one covering all of it."},"amountDelegated":{"type":"string","description":"Total weight of those delegations in nAVAX. Not included in `weightAtCycleStart`."}},"required":["cycleIndex","rewardTxHash","stakingTxHash","startTimestamp","endTimestamp","weightAtCycleStart","grossValidationReward","withdrawnValidationReward","compoundedValidationReward","grossDelegateeReward","withdrawnDelegateeReward","compoundedDelegateeReward","autoCompoundSharePercent","outcome","delegatorCount","amountDelegated"]},"CurrentAutoRenewedCycle":{"type":"object","properties":{"cycleIndex":{"type":"number","description":"1-based sequence within this position. The settled cycles in `cycles` run from 1 to this value minus one."},"stakingTxHash":{"type":"string","description":"The originating AddAutoRenewedValidatorTx for this position."},"startTimestamp":{"type":"number","description":"This cycle's window start, unix seconds."},"endTimestamp":{"type":"number","description":"This cycle's window end, unix seconds. A delegation into this validator must end within it."},"weightAtCycleStart":{"type":"string","description":"Weight bonded for this cycle in nAVAX. Rewards compound into weight only at settlement, so this is stable for the whole cycle."},"projectedValidationReward":{"type":"string","description":"Forecast validation reward for the **whole** cycle in nAVAX, minted at cycle start. Not an amount earned so far, and not comparable to a settled cycle's `grossValidationReward` until this cycle settles. Do not add it to sums over `cycles`."},"accruedDelegateeReward":{"type":"string","description":"Delegatee commission already accrued this cycle, in nAVAX, from delegations that have settled within it. Unlike the validation reward this is realised, not forecast; delegations still running contribute nothing yet."},"autoCompoundSharePercent":{"type":"number","description":"0-100. The share that will apply when this cycle settles. A SetAutoRenewedValidatorConfigTx mid-cycle changes it, so it is not final until settlement."},"state":{"$ref":"#/components/schemas/AutoRenewState"},"delegatorCount":{"type":"number","description":"Delegations overlapping this cycle's window."},"amountDelegated":{"type":"string","description":"Total weight of those delegations in nAVAX. Not included in `weightAtCycleStart`."}},"required":["cycleIndex","stakingTxHash","startTimestamp","endTimestamp","weightAtCycleStart","projectedValidationReward","accruedDelegateeReward","autoCompoundSharePercent","state","delegatorCount","amountDelegated"]},"ListAutoRenewedCyclesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"cycles":{"description":"Settled cycles, newest first by default. Empty for a node with no auto-renewed validation. The in-flight cycle is not included; it is on the validator object.","type":"array","items":{"$ref":"#/components/schemas/AutoRenewedCycle"}},"currentCycle":{"description":"The cycle in flight. Absent when the position has ended, and on any page but the first.","allOf":[{"$ref":"#/components/schemas/CurrentAutoRenewedCycle"}]}},"required":["cycles"]},"DelegationStatusType":{"type":"string","enum":["completed","active","pending"]},"CompletedDelegatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"amountDelegated":{"type":"string"},"delegationFee":{"type":"string"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"grossReward":{"type":"string","description":"Total rewards distributed for the successful delegation."},"netReward":{"type":"string","description":"Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation."},"delegationStatus":{"type":"string","enum":["completed"]}},"required":["txHash","nodeId","rewardAddresses","amountDelegated","delegationFee","startTimestamp","endTimestamp","grossReward","netReward","delegationStatus"]},"ActiveDelegatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"amountDelegated":{"type":"string"},"delegationFee":{"type":"string"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"estimatedGrossReward":{"type":"string"},"estimatedNetReward":{"type":"string"},"delegationStatus":{"type":"string","enum":["active"]}},"required":["txHash","nodeId","rewardAddresses","amountDelegated","delegationFee","startTimestamp","endTimestamp","estimatedGrossReward","estimatedNetReward","delegationStatus"]},"PendingDelegatorDetails":{"type":"object","properties":{"txHash":{"type":"string"},"nodeId":{"type":"string"},"rewardAddresses":{"type":"array","items":{"type":"string"}},"amountDelegated":{"type":"string"},"delegationFee":{"type":"string"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"},"estimatedGrossReward":{"type":"string","description":"Estimated total rewards that will be distributed for the successful delegation."},"estimatedNetReward":{"type":"string","description":"Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation."},"delegationStatus":{"type":"string","enum":["pending"]}},"required":["txHash","nodeId","rewardAddresses","amountDelegated","delegationFee","startTimestamp","endTimestamp","estimatedGrossReward","estimatedNetReward","delegationStatus"]},"ListDelegatorDetailsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"delegators":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/CompletedDelegatorDetails"},{"$ref":"#/components/schemas/ActiveDelegatorDetails"},{"$ref":"#/components/schemas/PendingDelegatorDetails"}],"discriminator":{"propertyName":"delegationStatus","mapping":{"active":"#/components/schemas/ActiveDelegatorDetails","pending":"#/components/schemas/PendingDelegatorDetails","completed":"#/components/schemas/CompletedDelegatorDetails"}}},"description":"The list of Delegator Details."}},"required":["delegators"]},"L1ValidatorDetailsFull":{"type":"object","properties":{"validationId":{"type":"string","description":"Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed."},"validationIdHex":{"type":"string","description":"Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format"},"nodeId":{"type":"string"},"subnetId":{"type":"string"},"weight":{"type":"number","description":"Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid"},"remainingBalance":{"type":"number","description":"Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx"},"creationTimestamp":{"type":"number","description":"The timestamp of the transaction which created this L1 validator"},"blsCredentials":{"type":"object"},"remainingBalanceOwner":{"description":"The L1 validator owner's balance, returned after it's disabled or removed","allOf":[{"$ref":"#/components/schemas/BalanceOwner"}]},"deactivationOwner":{"description":"Owner ddresses details which can disable or remove the L1 validator","allOf":[{"$ref":"#/components/schemas/BalanceOwner"}]}},"required":["validationId","validationIdHex","nodeId","subnetId","weight","remainingBalance","creationTimestamp","blsCredentials","remainingBalanceOwner","deactivationOwner"]},"ListL1ValidatorsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"validators":{"description":"The list of L1 validations for the given Subnet ID, NodeId or validationId","type":"array","items":{"$ref":"#/components/schemas/L1ValidatorDetailsFull"}},"blockHeight":{"type":"string","description":"Block height at which the L1 validator's remaining balance is calculated"}},"required":["validators","blockHeight"]},"TeleporterReceipt":{"type":"object","properties":{"receivedMessageNonce":{"type":"string"},"relayerRewardAddress":{"type":"string"}},"required":["receivedMessageNonce","relayerRewardAddress"]},"TeleporterRewardDetails":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"ercType":{"type":"string","enum":["ERC-20"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"value":{"type":"string"}},"required":["address","name","symbol","decimals","ercType","value"]},"TeleporterSourceTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"timestamp":{"type":"number"},"gasSpent":{"type":"string"}},"required":["txHash","timestamp","gasSpent"]},"PendingTeleporterMessage":{"type":"object","properties":{"messageId":{"type":"string"},"teleporterContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/TeleporterReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/TeleporterRewardDetails"},"sourceTransaction":{"$ref":"#/components/schemas/TeleporterSourceTransaction"},"status":{"type":"string","enum":["pending"]}},"required":["messageId","teleporterContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","sourceTransaction","status"]},"TeleporterDestinationTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"timestamp":{"type":"number"},"gasSpent":{"type":"string"},"rewardRedeemer":{"type":"string"},"delivererAddress":{"type":"string"}},"required":["txHash","timestamp","gasSpent","rewardRedeemer","delivererAddress"]},"DeliveredTeleporterMessage":{"type":"object","properties":{"messageId":{"type":"string"},"teleporterContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/TeleporterReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/TeleporterRewardDetails"},"sourceTransaction":{"$ref":"#/components/schemas/TeleporterSourceTransaction"},"destinationTransaction":{"$ref":"#/components/schemas/TeleporterDestinationTransaction"},"status":{"type":"string","enum":["delivered"]}},"required":["messageId","teleporterContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","sourceTransaction","destinationTransaction","status"]},"DeliveredSourceNotIndexedTeleporterMessage":{"type":"object","properties":{"messageId":{"type":"string"},"teleporterContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/TeleporterReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/TeleporterRewardDetails"},"destinationTransaction":{"$ref":"#/components/schemas/TeleporterDestinationTransaction"},"status":{"type":"string","enum":["delivered_source_not_indexed"]}},"required":["messageId","teleporterContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","destinationTransaction","status"]},"NextPageToken":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."}}},"ListTeleporterMessagesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"messages":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/PendingTeleporterMessage"},{"$ref":"#/components/schemas/DeliveredTeleporterMessage"},{"$ref":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}],"discriminator":{"propertyName":"status","mapping":{"pending":"#/components/schemas/PendingTeleporterMessage","delivered":"#/components/schemas/DeliveredTeleporterMessage","delivered_source_not_indexed":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}}}}},"required":["messages"]},"IcmReceipt":{"type":"object","properties":{"receivedMessageNonce":{"type":"string"},"relayerRewardAddress":{"type":"string"}},"required":["receivedMessageNonce","relayerRewardAddress"]},"IcmRewardDetails":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"ercType":{"type":"string","enum":["ERC-20"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"value":{"type":"string"}},"required":["address","name","symbol","decimals","ercType","value"]},"IcmSourceTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"timestamp":{"type":"number"},"gasSpent":{"type":"string"}},"required":["txHash","timestamp","gasSpent"]},"PendingIcmMessage":{"type":"object","properties":{"messageId":{"type":"string"},"icmContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/IcmReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/IcmRewardDetails"},"sourceTransaction":{"$ref":"#/components/schemas/IcmSourceTransaction"},"status":{"type":"string","enum":["pending"]}},"required":["messageId","icmContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","sourceTransaction","status"]},"IcmDestinationTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"timestamp":{"type":"number"},"gasSpent":{"type":"string"},"rewardRedeemer":{"type":"string"},"delivererAddress":{"type":"string"}},"required":["txHash","timestamp","gasSpent","rewardRedeemer","delivererAddress"]},"DeliveredIcmMessage":{"type":"object","properties":{"messageId":{"type":"string"},"icmContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/IcmReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/IcmRewardDetails"},"sourceTransaction":{"$ref":"#/components/schemas/IcmSourceTransaction"},"destinationTransaction":{"$ref":"#/components/schemas/IcmDestinationTransaction"},"status":{"type":"string","enum":["delivered"]}},"required":["messageId","icmContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","sourceTransaction","destinationTransaction","status"]},"DeliveredSourceNotIndexedIcmMessage":{"type":"object","properties":{"messageId":{"type":"string"},"icmContractAddress":{"type":"string"},"sourceBlockchainId":{"type":"string"},"destinationBlockchainId":{"type":"string"},"sourceEvmChainId":{"type":"string"},"destinationEvmChainId":{"type":"string"},"messageNonce":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"messageExecuted":{"type":"boolean"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/IcmReceipt"}},"receiptDelivered":{"type":"boolean"},"rewardDetails":{"$ref":"#/components/schemas/IcmRewardDetails"},"destinationTransaction":{"$ref":"#/components/schemas/IcmDestinationTransaction"},"status":{"type":"string","enum":["delivered_source_not_indexed"]}},"required":["messageId","icmContractAddress","sourceBlockchainId","destinationBlockchainId","sourceEvmChainId","destinationEvmChainId","messageNonce","from","to","messageExecuted","receipts","receiptDelivered","rewardDetails","destinationTransaction","status"]},"ListIcmMessagesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"messages":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/PendingIcmMessage"},{"$ref":"#/components/schemas/DeliveredIcmMessage"},{"$ref":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}],"discriminator":{"propertyName":"status","mapping":{"pending":"#/components/schemas/PendingIcmMessage","delivered":"#/components/schemas/DeliveredIcmMessage","delivered_source_not_indexed":"#/components/schemas/DeliveredSourceNotIndexedIcmMessage"}}}}},"required":["messages"]},"TimeIntervalGranularityExtended":{"type":"string","enum":["minute","hourly","daily","weekly","monthly"]},"UsageMetricsGroupByEnum":{"type":"string","enum":["requestPath","responseCode","chainId","apiKeyId","requestType"]},"UsageMetricsValueDTO":{"type":"object","properties":{"groupedBy":{"type":"string","description":"Column name used for data aggregation","enum":["requestPath","responseCode","chainId","apiKeyId","requestType","None"]},"groupValue":{"description":"The value of the column used for data aggregation","oneOf":[{"type":"string"},{"type":"number"}]},"totalRequests":{"type":"number","description":"The total number of requests"},"requestsPerSecond":{"type":"number","description":"The number of requests per second"},"successRatePercent":{"type":"number","description":"The success rate percentage"},"medianResponseTimeMsecs":{"type":"number","description":"The median response time in milliseconds"},"invalidRequests":{"type":"number","description":"The number of invalid requests"},"apiCreditsUsed":{"type":"number","description":"The number of API credits used"},"apiCreditsWasted":{"type":"number","description":"The number of API credits wasted on invalid requests"}},"required":["groupedBy","totalRequests","requestsPerSecond","successRatePercent","medianResponseTimeMsecs","invalidRequests","apiCreditsUsed","apiCreditsWasted"]},"Metric":{"type":"object","properties":{"timestamp":{"type":"number","description":"The timestamp of the metrics value"},"values":{"description":"The metrics values for the timestamp","type":"array","items":{"$ref":"#/components/schemas/UsageMetricsValueDTO"}}},"required":["timestamp","values"]},"UsageMetricsResponseDTO":{"type":"object","properties":{"aggregateDuration":{"type":"string","description":"Duration in which the metrics value is aggregated"},"orgId":{"type":"string","description":"Org ID for which the metrics are aggregated"},"metrics":{"description":"Metrics values","type":"array","items":{"$ref":"#/components/schemas/Metric"}}},"required":["aggregateDuration","orgId","metrics"]},"RequestType":{"type":"string","description":"The type of request made by the client.","enum":["data","rpc"]},"LogsFormatMetadata":{"type":"object","properties":{"ipAddress":{"type":"string","description":"The IP address of the client that made the request."},"host":{"type":"string","description":"The host for the request made by the client."},"userAgent":{"type":"string","description":"The user agent of the client that made the request."}},"required":["ipAddress","host","userAgent"]},"LogsFormat":{"type":"object","properties":{"orgId":{"type":"string","description":"The organization id of the request."},"logId":{"type":"string","description":"The unique log id of the request."},"eventTimestamp":{"type":"number","description":"The timestamp of the request."},"apiKeyId":{"type":"string","description":"The apiKey used to make the request."},"apiKeyAlias":{"type":"string","description":"The alias of the apiKey used to make the request."},"hostRegion":{"type":"string","description":"The region of the host for the request made by the client."},"requestType":{"examples":["rpc"],"$ref":"#/components/schemas/RequestType"},"requestPath":{"type":"string","description":"The path of the request made by the client."},"apiCreditsConsumed":{"type":"number","description":"The number of API credits consumed by the request."},"requestDurationMsecs":{"type":"number","description":"The duration of the request in milliseconds."},"responseCode":{"type":"number","description":"The response code of the request."},"chainId":{"type":"string","description":"The chain id of the request."},"rpcMethod":{"type":"string","description":"The rpc method of the request."},"metadata":{"description":"The metadata of the request.","allOf":[{"$ref":"#/components/schemas/LogsFormatMetadata"}]}},"required":["orgId","logId","eventTimestamp","apiKeyId","apiKeyAlias","hostRegion","requestType","requestPath","apiCreditsConsumed","requestDurationMsecs","responseCode","metadata"]},"LogsResponseDTO":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"orgId":{"type":"string","description":"The organization id of the request."},"logs":{"description":"An array of logs representing the requests made by clients.","type":"array","items":{"$ref":"#/components/schemas/LogsFormat"}}},"required":["orgId","logs"]},"SubnetRpcTimeIntervalGranularity":{"type":"string","enum":["hourly","daily","weekly","monthly"]},"RpcUsageMetricsGroupByEnum":{"type":"string","enum":["rpcMethod","responseCode","rlBypassToken"]},"RpcUsageMetricsValueAggregated":{"type":"object","properties":{"totalRequests":{"type":"number","description":"The total number of requests"},"apiCreditsUsed":{"type":"number","description":"The number of API credits used"},"requestsPerSecond":{"type":"number","description":"The number of requests per second"},"successRatePercent":{"type":"number","description":"The success rate percentage"},"medianResponseTimeMsecs":{"type":"number","description":"The median response time in milliseconds"},"invalidRequests":{"type":"number","description":"The number of invalid requests"},"apiCreditsWasted":{"type":"number","description":"The number of API credits wasted on invalid requests"},"groupedBy":{"type":"string","description":"Column name used for data aggregation","enum":["rpcMethod","responseCode","rlBypassToken","requestPath","country","continent","userAgent","None"]},"groupValue":{"description":"The value of the column used for data aggregation","oneOf":[{"type":"string"},{"type":"number"}]}},"required":["totalRequests","apiCreditsUsed","requestsPerSecond","successRatePercent","medianResponseTimeMsecs","invalidRequests","apiCreditsWasted","groupedBy"]},"RpcMetrics":{"type":"object","properties":{"timestamp":{"type":"number","description":"The timestamp of the metrics value"},"values":{"description":"The metrics values for the timestamp","type":"array","items":{"$ref":"#/components/schemas/RpcUsageMetricsValueAggregated"}}},"required":["timestamp","values"]},"SubnetRpcUsageMetricsResponseDTO":{"type":"object","properties":{"aggregateDuration":{"type":"string","description":"Duration in which the metrics value is aggregated"},"metrics":{"description":"Metrics values","type":"array","items":{"$ref":"#/components/schemas/RpcMetrics"}},"chainId":{"type":"string","description":"ChainId for which the metrics are aggregated"}},"required":["aggregateDuration","metrics","chainId"]},"PrimaryNetworkRpcTimeIntervalGranularity":{"type":"string","enum":["hourly","daily","weekly","monthly"]},"PrimaryNetworkRpcMetricsGroupByEnum":{"type":"string","enum":["rpcMethod","requestPath","responseCode","country","continent","userAgent"]},"PrimaryNetworkRpcUsageMetricsResponseDTO":{"type":"object","properties":{"aggregateDuration":{"type":"string","description":"Duration in which the metrics value is aggregated"},"metrics":{"description":"Metrics values","type":"array","items":{"$ref":"#/components/schemas/RpcMetrics"}},"network":{"type":"string","description":"Network type for which the metrics are aggregated","enum":["mainnet","testnet"],"examples":["mainnet"]}},"required":["aggregateDuration","metrics","network"]},"WebhookStatusType":{"type":"string","enum":["active","inactive"]},"AddressActivityEventType":{"type":"string","enum":["address_activity"]},"AddressActivityMetadata":{"type":"object","properties":{"eventSignatures":{"description":"Array of hexadecimal strings of the event signatures.","examples":[["0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"]],"type":"array","items":{"type":"string"}},"addresses":{"description":"Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends  on the Data API plan you are subscribed to.","examples":[["0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"]],"type":"array","items":{"type":"string"}}},"required":["addresses"]},"EVMAddressActivityResponse":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"chainId":{"type":"string"},"status":{"$ref":"#/components/schemas/WebhookStatusType"},"createdAt":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"eventType":{"$ref":"#/components/schemas/AddressActivityEventType"},"metadata":{"$ref":"#/components/schemas/AddressActivityMetadata"},"includeInternalTxs":{"type":"boolean","description":"Whether to include traces in the webhook payload."},"includeLogs":{"type":"boolean","description":"Whether to include logs in the webhook payload."}},"required":["id","url","chainId","status","createdAt","name","description","eventType","metadata"]},"PrimaryNetworkAddressActivityEventType":{"type":"string","enum":["primary_network_address_activity"]},"PlatformAddressActivityKeyType":{"type":"string","description":"The type of key to monitor for the address activity event type.","enum":["addresses"]},"PrimaryNetworkAddressActivitySubEventType":{"type":"string","description":"Array of address activity sub-event types","enum":["balance_change","balance_threshold","reward_distribution"]},"PrimaryNetworkAddressActivitySubEvents":{"type":"object","properties":{"addressActivitySubEvents":{"type":"array","items":{"$ref":"#/components/schemas/PrimaryNetworkAddressActivitySubEventType"}}},"required":["addressActivitySubEvents"]},"CommonBalanceType":{"type":"string","description":"Type of balance to monitor","enum":["unlockedUnstaked","unlockedStaked","lockedPlatform","lockedStakeable","lockedStaked","pendingStaked","unlocked","locked","atomicMemoryUnlocked","atomicMemoryLocked"]},"PrimaryNetworkBalanceThresholdFilter":{"type":"object","properties":{"balanceType":{"$ref":"#/components/schemas/CommonBalanceType"},"balanceThreshold":{"type":"string","description":"Threshold for balance corresponding to balanceType in nAVAX"}},"required":["balanceType","balanceThreshold"]},"PrimaryNetworkAddressActivityMetadata":{"type":"object","properties":{"eventSignatures":{"description":"Array of hexadecimal strings of the event signatures.","examples":[["0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"]],"type":"array","items":{"type":"string"}},"keyType":{"$ref":"#/components/schemas/PlatformAddressActivityKeyType"},"keys":{"description":"Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.","type":"array","items":{"type":"string"}},"subEvents":{"description":"Sub-events to monitor","allOf":[{"$ref":"#/components/schemas/PrimaryNetworkAddressActivitySubEvents"}]},"balanceThresholdFilter":{"description":"Balance threshold filter","allOf":[{"$ref":"#/components/schemas/PrimaryNetworkBalanceThresholdFilter"}]}},"required":["keyType","keys","subEvents"]},"PrimaryNetworkAddressActivityResponse":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"chainId":{"type":"string"},"status":{"$ref":"#/components/schemas/WebhookStatusType"},"createdAt":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"eventType":{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityEventType"},"metadata":{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityMetadata"}},"required":["id","url","chainId","status","createdAt","name","description","eventType","metadata"]},"ValidatorActivityEventType":{"type":"string","enum":["validator_activity"]},"ValidatorActivityKeyType":{"type":"string","description":"The type of key to monitor for the validator activity event type.","enum":["nodeId","subnetId"]},"ValidatorActivitySubEvents":{"type":"object","properties":{"validatorActivitySubEvents":{"type":"array","description":"Array of validator activity sub-event types","items":{"type":"string","enum":["validator_stake","delegator_stake","reward_distribution","l1_validator_balance_increased","l1_validator_disabled","l1_validator_removed","l1_validator_balance_threshold"]}}},"required":["validatorActivitySubEvents"]},"ValidatorActivityMetadata":{"type":"object","properties":{"eventSignatures":{"description":"Array of hexadecimal strings of the event signatures.","examples":[["0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"]],"type":"array","items":{"type":"string"}},"keyType":{"$ref":"#/components/schemas/ValidatorActivityKeyType"},"keys":{"description":"Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key","type":"array","items":{"type":"string"}},"subEvents":{"description":"Sub-events to monitor","allOf":[{"$ref":"#/components/schemas/ValidatorActivitySubEvents"}]},"nodeIds":{"description":"Array of node IDs to filter the events","type":"array","items":{"type":"string"}},"subnetIds":{"description":"Array of subnet IDs to filter the events","type":"array","items":{"type":"string"}},"l1ValidatorFeeBalanceThreshold":{"type":"string","description":"L1 validator fee balance threshold in nAVAX"}},"required":["keyType","keys","subEvents"]},"ValidatorActivityResponse":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"chainId":{"type":"string"},"status":{"$ref":"#/components/schemas/WebhookStatusType"},"createdAt":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"eventType":{"$ref":"#/components/schemas/ValidatorActivityEventType"},"metadata":{"$ref":"#/components/schemas/ValidatorActivityMetadata"}},"required":["id","url","chainId","status","createdAt","name","description","eventType","metadata"]},"EVMAddressActivityRequest":{"type":"object","properties":{"eventType":{"type":"string","enum":["address_activity"]},"url":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"chainId":{"type":"string"},"metadata":{"oneOf":[{"$ref":"#/components/schemas/AddressActivityMetadata"}]},"includeInternalTxs":{"type":"boolean","description":"Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114."},"includeLogs":{"type":"boolean","description":"Whether to include logs in the webhook payload."}},"required":["eventType","url","chainId","metadata"]},"PrimaryNetworkAddressActivityRequest":{"type":"object","properties":{"eventType":{"type":"string","enum":["primary_network_address_activity"]},"url":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"network":{"$ref":"#/components/schemas/PrimaryNetworkType"},"chainId":{"type":"string"},"metadata":{"description":"Metadata for platform address activity event","oneOf":[{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityMetadata"}],"allOf":[{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityMetadata"}]}},"required":["eventType","url","network","chainId","metadata"]},"ValidatorActivityRequest":{"type":"object","properties":{"eventType":{"type":"string","enum":["validator_activity"]},"url":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"network":{"$ref":"#/components/schemas/PrimaryNetworkType"},"metadata":{"description":"Metadata for platform validator activity event","oneOf":[{"$ref":"#/components/schemas/ValidatorActivityMetadata"}],"allOf":[{"$ref":"#/components/schemas/ValidatorActivityMetadata"}]}},"required":["eventType","url","network","metadata"]},"ERCToken":{"type":"object","properties":{"address":{"type":"string","description":"Token contract address","examples":["0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"]},"name":{"type":"string","description":"Token name","examples":["TetherToken"]},"symbol":{"type":"string","description":"Token symbol","examples":["USDt"]},"decimals":{"type":"number","description":"Token decimals","examples":[6]},"valueWithDecimals":{"type":"string","description":"Value including decimals","examples":["3331.009129"]}},"required":["address","name","symbol","decimals","valueWithDecimals"]},"ERCTransfer":{"type":"object","properties":{"transactionHash":{"type":"string","description":"Transaction hash","examples":["0xfd91150d236ec5c3b1ee325781affad5b0b4d7eb0187c84c220ab115eaa563e8"]},"type":{"type":"string","description":"Transfer type","examples":["ERC20"]},"from":{"type":"string","description":"Sender address","examples":["0x737F6b0b8A04e8462d0fC7076451298F0dA9a972"]},"to":{"type":"string","description":"Recipient address","examples":["0x40E832C3Df9562DfaE5A86A4849F27F687A9B46B"]},"value":{"type":"string","description":"Amount transferred","examples":["3331009129"]},"tokenId":{"type":"string","description":"Token Id","examples":["2"]},"blockTimestamp":{"type":"number","description":"Block timestamp","examples":[1640995200]},"logIndex":{"type":"number","description":"Log index","examples":[5]},"erc20Token":{"description":"erc20 Token details","allOf":[{"$ref":"#/components/schemas/ERCToken"}]},"erc721Token":{"description":"erc721 Token details","allOf":[{"$ref":"#/components/schemas/ERCToken"}]},"erc1155Token":{"description":"erc1155 Token details","allOf":[{"$ref":"#/components/schemas/ERCToken"}]}},"required":["transactionHash","type","from","to","value","blockTimestamp","logIndex"]},"WebhookInternalTransaction":{"type":"object","properties":{"from":{"type":"string","description":"Sender address","examples":["0x737F6b0b8A04e8462d0fC7076451298F0dA9a972"]},"to":{"type":"string","description":"Recipient address","examples":["0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"]},"internalTxType":{"type":"string","description":"Internal transaction type","examples":["call"]},"value":{"type":"string","description":"Value transferred","examples":["50000000000000000"]},"gasUsed":{"type":"string","description":"Gas used","examples":["44038"]},"gasLimit":{"type":"string","description":"Gas limit","examples":["50000"]},"transactionHash":{"type":"string","description":"Transaction hash","examples":["0xfd91150d236ec5c3b1ee325781affad5b0b4d7eb0187c84c220ab115eaa563e8"]}},"required":["from","to","internalTxType","value","gasUsed","gasLimit","transactionHash"]},"AccessListData":{"type":"object","properties":{"accessAddresses":{"type":"string","description":"Access Address","examples":["0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"]},"storageKeys":{"description":"Storage keys","type":"array","items":{"type":"string"}}},"required":["accessAddresses","storageKeys"]},"NetworkTokenInfo":{"type":"object","properties":{"tokenName":{"type":"string","description":"Token name","examples":["TetherToken"]},"tokenSymbol":{"type":"string","description":"Token symbol","examples":["USDt"]},"tokenDecimals":{"type":"number","description":"Token decimals","examples":[6]},"valueWithDecimals":{"type":"string","description":"Value including decimals","examples":["3331.009129"]}}},"Transaction":{"type":"object","properties":{"blockHash":{"type":"string","description":"Block hash of the transaction","examples":["0x2a47bebed93db4a21cc8339980f004cc67f17d0dff4a368001e450e7be2edaa0"]},"blockNumber":{"type":"string","description":"Block number of the transaction","examples":["45396106"]},"from":{"type":"string","description":"Sender address","examples":["0x737F6b0b8A04e8462d0fC7076451298F0dA9a972"]},"gas":{"type":"string","description":"Gas limit for the transaction","examples":["80000"]},"gasPrice":{"type":"string","description":"Gas price used","examples":["52000000000"]},"maxFeePerGas":{"type":"string","description":"Maximum fee per gas","examples":["52000000000"]},"maxPriorityFeePerGas":{"type":"string","description":"Maximum priority fee per gas","examples":["2000000000"]},"txHash":{"type":"string","description":"Transaction hash","examples":["0xfd91150d236ec5c3b1ee325781affad5b0b4d7eb0187c84c220ab115eaa563e8"]},"txStatus":{"type":"string","description":"Transaction status","examples":["1"]},"input":{"type":"string","description":"Input data","examples":["0xa9059cbb00000000000000000000000040e832c3df9562dfae5a86a4849f27f687a9b46b00000000000000000000000000000000000000000000000000000000c68b2a69"]},"nonce":{"type":"string","description":"Nonce value","examples":["0"]},"to":{"type":"string","description":"Recipient address","examples":["0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7"]},"transactionIndex":{"type":"number","description":"Transaction index","examples":[1]},"value":{"type":"string","description":"Value transferred in the transaction","examples":["0"]},"type":{"type":"number","description":"Transaction type","examples":[2]},"chainId":{"type":"string","description":"Chain ID of the network","examples":["43114"]},"receiptCumulativeGasUsed":{"type":"string","description":"Cumulative gas used","examples":["668508"]},"receiptGasUsed":{"type":"string","description":"Gas used","examples":["44038"]},"receiptEffectiveGasPrice":{"type":"string","description":"Effective gas price","examples":["27000000000"]},"receiptRoot":{"type":"string","description":"Receipt root","examples":["0xe5b018c29a77c8a92c4ea2f2d7e58820283041a52e14a0620d90d13b881e1ee3"]},"blockTimestamp":{"type":"number","description":"Block timestamp","examples":[1715621840]},"contractAddress":{"type":"string","description":"Contract address (optional)","examples":["0x0000000000000000000000000000000000000000"]},"erc20Transfers":{"description":"ERC20 transfers","type":"array","items":{"$ref":"#/components/schemas/ERCTransfer"}},"erc721Transfers":{"description":"ERC721 transfers","type":"array","items":{"$ref":"#/components/schemas/ERCTransfer"}},"erc1155Transfers":{"description":"ERC1155 transfers","type":"array","items":{"$ref":"#/components/schemas/ERCTransfer"}},"internalTransactions":{"description":"Internal transactions (optional)","type":"array","items":{"$ref":"#/components/schemas/WebhookInternalTransaction"}},"accessList":{"description":"Access list (optional)","type":"array","items":{"$ref":"#/components/schemas/AccessListData"}},"networkToken":{"description":"Network token info (optional)","allOf":[{"$ref":"#/components/schemas/NetworkTokenInfo"}]}},"required":["blockHash","blockNumber","from","gas","gasPrice","maxFeePerGas","maxPriorityFeePerGas","txHash","txStatus","input","nonce","to","transactionIndex","value","type","chainId","receiptCumulativeGasUsed","receiptGasUsed","receiptEffectiveGasPrice","receiptRoot","blockTimestamp","erc20Transfers","erc721Transfers","erc1155Transfers"]},"Log":{"type":"object","properties":{"address":{"type":"string","description":"Contract address","examples":["0x54C800d2331E10467143911aabCa092d68bF4166"]},"topic0":{"type":"string","description":"First topic","examples":["0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"]},"topic1":{"type":"string","description":"Second topic (optional)","examples":["0x0000000000000000000000000000333883f313ad709f583d0a3d2e18a44ef29b"]},"topic2":{"type":"string","description":"Third topic (optional)","examples":["0x0000000000000000000000000000000000000000000000000000000000000000"]},"topic3":{"type":"string","description":"Fourth topic (optional)","examples":["0x0000000000000000000000000000000000000000000000000000000000001350"]},"data":{"type":"string","description":"Event data","examples":["0x"]},"transactionIndex":{"type":"number","description":"Transaction index","examples":[2]},"logIndex":{"type":"number","description":"Log index","examples":[10]},"removed":{"type":"boolean","description":"Indicates if the log was removed","examples":[false]}},"required":["address","topic0","data","transactionIndex","logIndex","removed"]},"TransactionEvent":{"type":"object","properties":{"transaction":{"description":"Transaction details","allOf":[{"$ref":"#/components/schemas/Transaction"}]},"logs":{"description":"Array of log events","type":"array","items":{"$ref":"#/components/schemas/Log"}}},"required":["transaction"]},"WebhookAddressActivityResponse":{"type":"object","properties":{"webhookId":{"type":"string","description":"Webhook ID","examples":["401da7d9-d6d7-46c8-b431-72ff1e1543f4"]},"eventType":{"type":"string","description":"Event type","enum":["address_activity"],"examples":["address_activity"]},"messageId":{"type":"string","description":"Message ID","examples":["bc9732db-2430-4296-afc3-c51267beb14a"]},"event":{"description":"Event details","allOf":[{"$ref":"#/components/schemas/TransactionEvent"}]}},"required":["webhookId","eventType","messageId","event"]},"WebhookStatus":{"type":"string","enum":["active","inactive"]},"ListWebhooksResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"webhooks":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/EVMAddressActivityResponse"},{"$ref":"#/components/schemas/PrimaryNetworkAddressActivityResponse"},{"$ref":"#/components/schemas/ValidatorActivityResponse"}]}}},"required":["webhooks"]},"SharedSecretsResponse":{"type":"object","properties":{"secret":{"type":"string"}},"required":["secret"]},"UpdateWebhookRequest":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"status":{"$ref":"#/components/schemas/WebhookStatusType"},"includeInternalTxs":{"type":"boolean","description":"Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114."},"includeLogs":{"type":"boolean"}}},"AddressesChangeRequest":{"type":"object","properties":{"addresses":{"description":"Ethereum address(es) for the address_activity event type","examples":[["0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"]],"type":"array","items":{"type":"string"}}},"required":["addresses"]},"ListWebhookAddressesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"addresses":{"type":"array","items":{"type":"string"}},"totalAddresses":{"type":"number"}},"required":["addresses","totalAddresses"]},"AvaxSupplyResponse":{"type":"object","properties":{"circulatingSupply":{"type":"string","description":"The circulating supply of AVAX.","example":"454257251.7149865026656081965"},"totalSupply":{"type":"string","description":"The total supply of AVAX.","example":"454257251.7149865026656081965"},"totalPBurned":{"type":"string","description":"Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.","example":"15039.56226661934233308491042"},"totalCBurned":{"type":"string","description":"Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.","example":"4868917.656222642629429578983"},"totalXBurned":{"type":"string","description":"The total X-chain burned fees of AVAX.","example":"45577.89911362119281041174838"},"totalStaked":{"type":"string","description":"The total staked AVAX.","example":"199605247.61112"},"totalLocked":{"type":"string","description":"The total locked AVAX.","example":"36162978.31786130001530843447"},"totalRewards":{"type":"string","description":"The total rewards AVAX.","example":"99186786.83258938583018127214"},"lastUpdated":{"format":"date-time","type":"string","description":"The last updated time of the AVAX supply.","example":"2025-11-05T20:15:15.678Z"},"genesisUnlock":{"type":"string","description":"The genesis unlock amount of the AVAX supply.","example":"360000000"},"l1ValidatorFees":{"type":"string","description":"The total L1 validator fees of AVAX.","example":"6786.673898334"}},"required":["circulatingSupply","totalSupply","totalPBurned","totalCBurned","totalXBurned","totalStaked","totalLocked","totalRewards","lastUpdated","genesisUnlock","l1ValidatorFees"]},"SignatureAggregatorRequest":{"type":"object","properties":{"message":{"type":"string","description":"Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with \"0x\"","examples":["000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000003cc0000000000059f3be606497285d0ffbb5ac9ba24aa60346a9b1812479ed66cb329f394a4b1c7000003a200000000000100000014253b2784c75e510dd0ff1da844684a1ac0aa5fcf00000380000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001150000000000000000000000008578ae7723751446b196bd5124e1bf57b40eb7bc7fc93d85c6d62c5b2ac0b519c87010ea5294012d1e407030d6acd0021cac10d50000000000000000000000009660ed66aef60dfba5467afe865f612edbfb5c710000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000011a00000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011a20000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011b50000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011e80000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011e90000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000000001c07f66981b45056e5024eb6d51f9f30aa0d28fd00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000"]},"justification":{"type":"string","description":"Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with \"0x\"","examples":["0001abcdabcfff"]},"signingSubnetId":{"type":"string","description":"Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.","examples":["7WtoAMPhrmh5KosDUsFL9yTcvw7YSxiKHPpdfs4JsgW47oZT5"]},"quorumPercentage":{"type":"number","description":"Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.","examples":[50]},"quorumPercentageBuffer":{"type":"number","description":"Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing\ta large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.","examples":[50]},"pChainHeight":{"type":"number","description":"Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.","examples":[1155]}}},"SignatureAggregationResponse":{"type":"object","properties":{"signedMessage":{"type":"string","examples":["0000000000059f3be606497285d0ffbb5ac9ba24aa60346a9b1812479ed66cb329f394a4b1c7000003a200000000000100000014253b2784c75e510dd0ff1da844684a1ac0aa5fcf00000380000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001150000000000000000000000008578ae7723751446b196bd5124e1bf57b40eb7bc7fc93d85c6d62c5b2ac0b519c87010ea5294012d1e407030d6acd0021cac10d50000000000000000000000009660ed66aef60dfba5467afe865f612edbfb5c710000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000011a00000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011a20000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011b50000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011e80000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000011e90000000000000000000000007ec2afb0a06a73666adc24983ebdbf2b6f1d708200000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000000001c07f66981b45056e5024eb6d51f9f30aa0d28fd00000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000103807355b21dd497ecc9f560dfbdefc64aeec72b226c70d3793273db01d1a0c0bfd74d095d6a9e0b4db2dc652245fd28ac032c0f1f6b7f761b912ad58c93cde2e337bef4a4e8175af69f226520cd1baedd2dd7db79bb5752cb50a465531e46e8af"]}},"required":["signedMessage"]},"NativeTokenBalance":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"chainId":{"type":"string","description":"The evm chain id.","examples":["43114"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"balance":{"type":"string","description":"The address balance for the token, in units specified by the `decimals` value for the contract.","examples":["2000000000000000000"]},"balanceValue":{"description":"The monetary value of the balance, if a price is available for the token.","allOf":[{"$ref":"#/components/schemas/Money"}]}},"required":["name","symbol","decimals","chainId","balance"]},"GetNativeBalanceResponse":{"type":"object","properties":{"nativeTokenBalance":{"description":"The native token balance for the address.","allOf":[{"$ref":"#/components/schemas/NativeTokenBalance"}]}},"required":["nativeTokenBalance"]},"Erc20TokenBalance":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"ercType":{"type":"string","enum":["ERC-20"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"chainId":{"type":"string","description":"The evm chain id.","examples":["43114"]},"balance":{"type":"string","description":"The address balance for the token, in units specified by the `decimals` value for the contract.","examples":["2000000000000000000"]},"balanceValue":{"description":"The monetary value of the balance, if a price is available for the token.","allOf":[{"$ref":"#/components/schemas/Money"}]},"tokenReputation":{"type":["string","null"],"enum":["Malicious","Benign"],"description":"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.","examples":["Malicious","Benign",null]}},"required":["address","name","symbol","decimals","ercType","chainId","balance","tokenReputation"]},"ListErc20BalancesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"nativeTokenBalance":{"description":"The native token balance for the address.","allOf":[{"$ref":"#/components/schemas/NativeTokenBalance"}]},"erc20TokenBalances":{"description":"The list of ERC-20 token balances for the address.","type":"array","items":{"$ref":"#/components/schemas/Erc20TokenBalance"}}},"required":["nativeTokenBalance","erc20TokenBalances"]},"Erc721TokenBalance":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"ercType":{"type":"string","enum":["ERC-721"]},"tokenId":{"type":"string"},"tokenUri":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Erc721TokenMetadata"},"ownerAddress":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"chainId":{"type":"string","description":"The evm chain id.","examples":["43114"]}},"required":["address","name","symbol","ercType","tokenId","tokenUri","metadata","chainId"]},"ListErc721BalancesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"nativeTokenBalance":{"description":"The native token balance for the address.","allOf":[{"$ref":"#/components/schemas/NativeTokenBalance"}]},"erc721TokenBalances":{"description":"The list of ERC-721 token balances for the address.","type":"array","items":{"$ref":"#/components/schemas/Erc721TokenBalance"}}},"required":["nativeTokenBalance","erc721TokenBalances"]},"Erc1155TokenBalance":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"ercType":{"type":"string","enum":["ERC-1155"]},"tokenId":{"type":"string"},"tokenUri":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Erc1155TokenMetadata"},"chainId":{"type":"string","description":"The evm chain id.","examples":["43114"]},"balance":{"type":"string","description":"The address balance for the token, in units specified by the `decimals` value for the contract.","examples":["2000000000000000000"]}},"required":["address","ercType","tokenId","tokenUri","metadata","chainId","balance"]},"ListErc1155BalancesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"nativeTokenBalance":{"description":"The native token balance for the address.","allOf":[{"$ref":"#/components/schemas/NativeTokenBalance"}]},"erc1155TokenBalances":{"description":"The list of ERC-1155 token balances for the address.","type":"array","items":{"$ref":"#/components/schemas/Erc1155TokenBalance"}}},"required":["nativeTokenBalance","erc1155TokenBalances"]},"ListCollectibleBalancesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"collectibleBalances":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Erc721TokenBalance"},{"$ref":"#/components/schemas/Erc1155TokenBalance"}]},"description":"The list of ERC-721 and ERC-1155 token balances for the address."}},"required":["collectibleBalances"]},"GetEvmBlockResponse":{"type":"object","properties":{"chainId":{"type":"string","description":"The EVM chain ID on which the block was created.","examples":["43114"]},"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockMinDelayExcess":{"type":"number","description":"Minimum block delay in milliseconds. Available only after Granite upgrade.","examples":[7477290]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txCount":{"type":"number","description":"The number of evm transactions in the block."},"baseFee":{"type":"string","description":"The base gas fee for a transaction to be included in the block."},"gasUsed":{"type":"string","description":"The gas used for transactions in the block."},"gasLimit":{"type":"string","description":"The total gas limit set for transactions in the block."},"gasCost":{"type":"string"},"parentHash":{"type":"string","description":"The hash of the parent block."},"feesSpent":{"type":"string","description":"The amount of fees spent/burned for transactions in the block."},"cumulativeTransactions":{"type":"string","description":"The cumulative number of transactions for the chain including this block."}},"required":["chainId","blockNumber","blockTimestamp","blockHash","txCount","baseFee","gasUsed","gasLimit","gasCost","parentHash","feesSpent","cumulativeTransactions"]},"Erc20Token":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"ercType":{"type":"string","enum":["ERC-20"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]}},"required":["address","name","symbol","decimals","ercType"]},"Erc20TransferDetails":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"value":{"type":"string","examples":["10000000000000000000"]},"erc20Token":{"$ref":"#/components/schemas/Erc20Token"}},"required":["from","to","logIndex","value","erc20Token"]},"Erc721TransferDetails":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"erc721Token":{"$ref":"#/components/schemas/Erc721Token"}},"required":["from","to","logIndex","erc721Token"]},"Erc1155TransferDetails":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"value":{"type":"string","examples":["10000000000000000000"]},"erc1155Token":{"$ref":"#/components/schemas/Erc1155Token"}},"required":["from","to","logIndex","value","erc1155Token"]},"InternalTransactionOpCall":{"type":"string","enum":["UNKNOWN","CALL","CREATE","CREATE2","CREATE3","CALLCODE","DELEGATECALL","STATICCALL"]},"InternalTransactionDetails":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"internalTxType":{"$ref":"#/components/schemas/InternalTransactionOpCall"},"value":{"type":"string","examples":["10000000000000000000"]},"isReverted":{"type":"boolean","description":"True if the internal transaction was reverted."},"gasUsed":{"type":"string"},"gasLimit":{"type":"string"}},"required":["from","to","internalTxType","value","isReverted","gasUsed","gasLimit"]},"NetworkTokenDetails":{"type":"object","properties":{"networkToken":{"$ref":"#/components/schemas/NetworkToken"},"currentPrice":{"description":"The current token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"historicalPrice":{"description":"The historical token price at the time the transaction occured, if available. Note, this is only provided if the transaction occured more than 24 hours ago.","allOf":[{"$ref":"#/components/schemas/Money"}]}},"required":["networkToken"]},"FullNativeTransactionDetails":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockMinDelayExcess":{"type":"number","description":"Minimum block delay in milliseconds. Available only after Granite upgrade.","examples":[7477290]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"chainId":{"type":"string","description":"The EVM chain ID on which the transaction occured.","examples":["43114"]},"blockIndex":{"type":"number","description":"The index at which the transaction occured in the block (0-indexed).","examples":[0]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"txStatus":{"type":"string","description":"The transaction status, which is either 0 (failed) or 1 (successful).","examples":["1"]},"txType":{"type":"number","description":"The transaction type.","examples":[1]},"gasLimit":{"type":"string","description":"The gas limit set for the transaction.","examples":["51373"]},"gasUsed":{"type":"string","description":"The amount of gas used.","examples":["51373"]},"gasPrice":{"type":"string","description":"The gas price denominated by the number of decimals of the native token.","examples":["470000000000"]},"nonce":{"type":"string","description":"The nonce used by the sender of the transaction.","examples":["1"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"method":{"$ref":"#/components/schemas/Method"},"value":{"type":"string","examples":["10000000000000000000"]},"input":{"type":"string","description":"The data sent for the transaction."},"baseFeePerGas":{"type":"string"},"maxFeePerGas":{"type":"string"},"maxPriorityFeePerGas":{"type":"string"}},"required":["blockNumber","blockTimestamp","blockHash","chainId","blockIndex","txHash","txStatus","txType","gasLimit","gasUsed","gasPrice","nonce","from","to","value","input","baseFeePerGas"]},"TransactionDirectionType":{"type":"string","enum":["SOURCE_TRANSACTION","DESTINATION_TRANSACTION"]},"TeleporterMessageInfo":{"type":"object","properties":{"teleporterMessageId":{"type":"string"},"direction":{"$ref":"#/components/schemas/TransactionDirectionType"},"sourceChainId":{"type":"string","description":"chain id of the source chain. valid only for destination transactions"},"destinationChainId":{"type":"string","description":"chain id of the destination chain. valid only for source transactions"}},"required":["teleporterMessageId","direction"]},"GetTransactionResponse":{"type":"object","properties":{"erc20Transfers":{"description":"The list of ERC-20 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc20TransferDetails"}},"erc721Transfers":{"description":"The list of ERC-721 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc721TransferDetails"}},"erc1155Transfers":{"description":"The list of ERC-1155 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc1155TransferDetails"}},"internalTransactions":{"description":"The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3  calls. Use a client provider to recieve a full debug trace of the transaction.","type":"array","items":{"$ref":"#/components/schemas/InternalTransactionDetails"}},"networkTokenDetails":{"$ref":"#/components/schemas/NetworkTokenDetails"},"nativeTransaction":{"$ref":"#/components/schemas/FullNativeTransactionDetails"},"teleporterMessageInfo":{"description":"Corresponding teleporter message info if available.","allOf":[{"$ref":"#/components/schemas/TeleporterMessageInfo"}]}},"required":["networkTokenDetails","nativeTransaction"]},"ImageAsset":{"type":"object","properties":{"assetId":{"type":"string"},"imageUri":{"type":"string","description":"OUTPUT ONLY"}}},"ResourceLinkType":{"type":"string","enum":["Blog","CoinGecko","CoinMarketCap","Discord","Documentation","Facebook","Github","Instagram","LinkedIn","Medium","Reddit","Support","Telegram","TikTok","Twitter","Website","Whitepaper","Youtube"]},"ResourceLink":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ResourceLinkType"},"url":{"type":"string"}},"required":["type","url"]},"ContractDeploymentDetails":{"type":"object","properties":{"txHash":{"type":"string"},"deployerAddress":{"type":"string","description":"The address that initiated the transaction which deployed this contract."},"deployerContractAddress":{"type":"string","description":"The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution."}},"required":["txHash","deployerAddress"]},"UnknownContract":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"description":{"type":"string"},"officialSite":{"type":"string"},"email":{"type":"string"},"logoAsset":{"$ref":"#/components/schemas/ImageAsset"},"bannerAsset":{"$ref":"#/components/schemas/ImageAsset"},"color":{"type":"string"},"resourceLinks":{"type":"array","items":{"$ref":"#/components/schemas/ResourceLink"}},"tags":{"type":"array","items":{"type":"string"}},"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"deploymentDetails":{"$ref":"#/components/schemas/ContractDeploymentDetails"},"ercType":{"type":"string","enum":["UNKNOWN"]}},"required":["address","ercType"]},"PricingProviders":{"type":"object","properties":{"coingeckoCoinId":{"type":"string"}}},"Erc20Contract":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"description":{"type":"string"},"officialSite":{"type":"string"},"email":{"type":"string"},"logoAsset":{"$ref":"#/components/schemas/ImageAsset"},"bannerAsset":{"$ref":"#/components/schemas/ImageAsset"},"color":{"type":"string"},"resourceLinks":{"type":"array","items":{"$ref":"#/components/schemas/ResourceLink"}},"tags":{"type":"array","items":{"type":"string"}},"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"deploymentDetails":{"$ref":"#/components/schemas/ContractDeploymentDetails"},"ercType":{"type":"string","enum":["ERC-20"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"pricingProviders":{"$ref":"#/components/schemas/PricingProviders"}},"required":["address","ercType","decimals"]},"Erc721Contract":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"description":{"type":"string"},"officialSite":{"type":"string"},"email":{"type":"string"},"logoAsset":{"$ref":"#/components/schemas/ImageAsset"},"bannerAsset":{"$ref":"#/components/schemas/ImageAsset"},"color":{"type":"string"},"resourceLinks":{"type":"array","items":{"$ref":"#/components/schemas/ResourceLink"}},"tags":{"type":"array","items":{"type":"string"}},"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"deploymentDetails":{"$ref":"#/components/schemas/ContractDeploymentDetails"},"ercType":{"type":"string","enum":["ERC-721"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]}},"required":["address","ercType"]},"Erc1155Contract":{"type":"object","properties":{"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"description":{"type":"string"},"officialSite":{"type":"string"},"email":{"type":"string"},"logoAsset":{"$ref":"#/components/schemas/ImageAsset"},"bannerAsset":{"$ref":"#/components/schemas/ImageAsset"},"color":{"type":"string"},"resourceLinks":{"type":"array","items":{"$ref":"#/components/schemas/ResourceLink"}},"tags":{"type":"array","items":{"type":"string"}},"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"deploymentDetails":{"$ref":"#/components/schemas/ContractDeploymentDetails"},"ercType":{"type":"string","enum":["ERC-1155"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"pricingProviders":{"$ref":"#/components/schemas/PricingProviders"}},"required":["address","ercType"]},"ListContractsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"contracts":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Erc721Contract"},{"$ref":"#/components/schemas/Erc1155Contract"},{"$ref":"#/components/schemas/Erc20Contract"},{"$ref":"#/components/schemas/UnknownContract"}],"discriminator":{"propertyName":"ercType","mapping":{"ERC-721":"#/components/schemas/Erc721Contract","ERC-1155":"#/components/schemas/Erc1155Contract","ERC-20":"#/components/schemas/Erc20Contract","UNKNOWN":"#/components/schemas/UnknownContract"}}}}},"required":["contracts"]},"DataListChainsResponse":{"type":"object","properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/ChainInfo"}}},"required":["chains"]},"ApiFeature":{"type":"string","enum":["nftIndexing","webhooks","teleporter"]},"ListChainsResponse":{"type":"object","properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/ChainInfo"}}},"required":["chains"]},"GetChainResponse":{"type":"object","properties":{"chainId":{"type":"string"},"status":{"$ref":"#/components/schemas/ChainStatus"},"chainName":{"type":"string"},"description":{"type":"string"},"platformChainId":{"type":"string"},"subnetId":{"type":"string"},"vmId":{"type":"string"},"vmName":{"$ref":"#/components/schemas/VmName"},"explorerUrl":{"type":"string"},"rpcUrl":{"type":"string"},"wsUrl":{"type":"string"},"isTestnet":{"type":"boolean"},"utilityAddresses":{"$ref":"#/components/schemas/UtilityAddresses"},"networkToken":{"$ref":"#/components/schemas/NetworkToken"},"chainLogoUri":{"type":"string"},"private":{"type":"boolean"},"enabledFeatures":{"type":"array","items":{"type":"string","enum":["nftIndexing","webhooks","teleporter"]}}},"required":["chainId","status","chainName","description","vmName","rpcUrl","isTestnet","networkToken"]},"Erc20Transfer":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"value":{"type":"string","examples":["10000000000000000000"]},"erc20Token":{"$ref":"#/components/schemas/Erc20Token"}},"required":["blockNumber","blockTimestamp","blockHash","txHash","from","to","logIndex","value","erc20Token"]},"Erc721Transfer":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"erc721Token":{"$ref":"#/components/schemas/Erc721Token"}},"required":["blockNumber","blockTimestamp","blockHash","txHash","from","to","logIndex","erc721Token"]},"Erc1155Transfer":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"value":{"type":"string","examples":["10000000000000000000"]},"erc1155Token":{"$ref":"#/components/schemas/Erc1155Token"}},"required":["blockNumber","blockTimestamp","blockHash","txHash","from","to","logIndex","value","erc1155Token"]},"ListTransfersResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transfers":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Erc20Transfer"},{"$ref":"#/components/schemas/Erc721Transfer"},{"$ref":"#/components/schemas/Erc1155Transfer"}]}}},"required":["transfers"]},"TransactionDetails":{"type":"object","properties":{"nativeTransaction":{"description":"The native (top-level) transaction details.","allOf":[{"$ref":"#/components/schemas/NativeTransaction"}]},"erc20Transfers":{"description":"The list of ERC-20 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc20TransferDetails"}},"erc721Transfers":{"description":"The list of ERC-721 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc721TransferDetails"}},"erc1155Transfers":{"description":"The list of ERC-1155 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc1155TransferDetails"}},"internalTransactions":{"description":"The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3  calls. Use a client provider to recieve a full debug trace of the transaction.","type":"array","items":{"$ref":"#/components/schemas/InternalTransactionDetails"}}},"required":["nativeTransaction"]},"ListTransactionDetailsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/TransactionDetails"}}},"required":["transactions"]},"Erc20TokenV2":{"type":"object","properties":{"address":{"type":"string","description":"A wallet or contract address in mixed-case checksum encoding.","examples":["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]},"name":{"type":"string","description":"The contract name.","examples":["Wrapped AVAX"]},"symbol":{"type":"string","description":"The contract symbol.","examples":["WAVAX"]},"decimals":{"type":"number","description":"The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.","examples":[18]},"logoUri":{"type":"string","description":"The logo uri for the address.","examples":["https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"]},"ercType":{"type":"string","enum":["ERC-20"]},"price":{"description":"The token price, if available.","allOf":[{"$ref":"#/components/schemas/Money"}]},"tokenReputation":{"type":["string","null"],"enum":["Malicious","Benign"],"description":"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.","examples":["Malicious","Benign",null]}},"required":["address","name","symbol","decimals","ercType","tokenReputation"]},"Erc20TransferDetailsV2":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"logIndex":{"type":"number"},"value":{"type":"string","examples":["10000000000000000000"]},"erc20Token":{"$ref":"#/components/schemas/Erc20TokenV2"}},"required":["from","to","logIndex","value","erc20Token"]},"TransactionDetailsV2":{"type":"object","properties":{"nativeTransaction":{"description":"The native (top-level) transaction details.","allOf":[{"$ref":"#/components/schemas/NativeTransaction"}]},"erc20Transfers":{"description":"The list of ERC-20 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc20TransferDetailsV2"}},"erc721Transfers":{"description":"The list of ERC-721 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc721TransferDetails"}},"erc1155Transfers":{"description":"The list of ERC-1155 transfers.","type":"array","items":{"$ref":"#/components/schemas/Erc1155TransferDetails"}},"internalTransactions":{"description":"The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3  calls. Use a client provider to recieve a full debug trace of the transaction.","type":"array","items":{"$ref":"#/components/schemas/InternalTransactionDetails"}}},"required":["nativeTransaction"]},"ListTransactionDetailsResponseV2":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/TransactionDetailsV2"}}},"required":["transactions"]},"ListErc20TransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/Erc20Transfer"}}},"required":["transactions"]},"ListErc721TransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/Erc721Transfer"}}},"required":["transactions"]},"ListErc1155TransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/Erc1155Transfer"}}},"required":["transactions"]},"InternalTransaction":{"type":"object","properties":{"blockNumber":{"type":"string","description":"The block number on the chain.","examples":["339"]},"blockTimestamp":{"type":"number","description":"The block creation (proposal) timestamp in seconds","examples":[1648672486]},"blockTimestampMilliseconds":{"type":"number","description":"The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.","examples":[1648672486000]},"blockHash":{"type":"string","description":"The block hash identifier.","examples":["0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"]},"txHash":{"type":"string","description":"The transaction hash identifier.","examples":["0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"]},"from":{"$ref":"#/components/schemas/RichAddress"},"to":{"$ref":"#/components/schemas/RichAddress"},"internalTxType":{"$ref":"#/components/schemas/InternalTransactionOpCall"},"value":{"type":"string","examples":["10000000000000000000"]},"isReverted":{"type":"boolean","description":"True if the internal transaction was reverted."},"gasUsed":{"type":"string"},"gasLimit":{"type":"string"}},"required":["blockNumber","blockTimestamp","blockHash","txHash","from","to","internalTxType","value","isReverted","gasUsed","gasLimit"]},"ListInternalTransactionsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages."},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/InternalTransaction"}}},"required":["transactions"]}},"parameters":{"GlobalParamChainId":{"name":"chainId","in":"path","required":true,"description":"A supported EVM chain id, chain alias, or blockchain id.","schema":{"type":"string","examples":["43114"]}},"GlobalParamNetwork":{"name":"network","in":"path","required":true,"description":"A supported network type mainnet or testnet/fuji.","schema":{"type":"string","examples":["mainnet"],"enum":["mainnet","fuji","testnet"]}}}},"security":[{"apiKey":[]},{}],"x-speakeasy-retries":{"strategy":"backoff","backoff":{"initialInterval":500,"maxInterval":60000,"maxElapsedTime":120000,"exponent":1.5},"statusCodes":["5XX"],"retryConnectionErrors":true},"x-speakeasy-globals":{"parameters":[{"$ref":"#/components/parameters/GlobalParamChainId"},{"$ref":"#/components/parameters/GlobalParamNetwork"}]},"x-execution-weight-values":{"free":1,"large":50,"medium":20,"none":0,"small":10,"xl":100,"xxl":200},"x-rpc-method-execution-weights":{"eth_accounts":"free","eth_blockNumber":"small","eth_call":"small","eth_coinbase":"small","eth_chainId":"free","eth_gasPrice":"small","eth_getBalance":"small","eth_getBlockByHash":"small","eth_getBlockByNumber":"small","eth_getBlockTransactionCountByNumber":"medium","eth_getCode":"medium","eth_getLogs":"xxl","eth_getStorageAt":"medium","eth_getTransactionByBlockNumberAndIndex":"medium","eth_getTransactionByHash":"small","eth_getTransactionCount":"small","eth_getTransactionReceipt":"small","eth_signTransaction":"medium","eth_sendTransaction":"medium","eth_sign":"medium","eth_sendRawTransaction":"small","eth_syncing":"free","net_listening":"free","net_peerCount":"medium","net_version":"free","web3_clientVersion":"small","web3_sha3":"small","eth_newPendingTransactionFilter":"medium","eth_maxPriorityFeePerGas":"small","eth_baseFee":"small","rpc_modules":"free","eth_getChainConfig":"small","eth_feeConfig":"small","eth_getActivePrecompilesAt":"small"},"x-speakeasy-webhooks":{"security":{"type":"signature","headerName":"x-signature","signatureTextEncoding":"base64","algorithm":"hmac-sha256"}},"webhooks":{"address_activity":{"post":{"description":"Schema representing the webhook payload for address activity, sent to the callback URL.","operationId":"sendAddressActivityWebhook","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookAddressActivityResponse"}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}}}}}}