diff --git a/docs/evm_api/balance.md b/docs/evm_api/balance.md
index f6c445c..42b8ab8 100644
--- a/docs/evm_api/balance.md
+++ b/docs/evm_api/balance.md
@@ -39,7 +39,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address from which the native balance will be checked | Yes | | "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | float | The block number up to which the balances will be checked. | | | 1.2 |
@@ -77,7 +77,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| wallet_addresses | List of str | The addresses to get metadata for | Yes | | [] |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | float | The block number on which the balances should be checked | | | 1.2 |
diff --git a/docs/evm_api/block.md b/docs/evm_api/block.md
index 23de215..3f2b47c 100644
--- a/docs/evm_api/block.md
+++ b/docs/evm_api/block.md
@@ -40,7 +40,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| block_number_or_hash | str | The block number or block hash | Yes | | "15863321" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| include | enum[str]:
- "internal_transactions" | If the result should contain the internal transactions. | | "" | "" |
@@ -77,7 +77,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| block_number_or_hash | str | The block number or hash | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -113,7 +113,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| date | str | Unix date in milliseconds or a datestring (format in seconds or datestring accepted by momentjs) | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
diff --git a/docs/evm_api/defi.md b/docs/evm_api/defi.md
index 4daf8c5..d15b954 100644
--- a/docs/evm_api/defi.md
+++ b/docs/evm_api/defi.md
@@ -47,7 +47,7 @@ print(result)
| exchange | enum[str]:
- "uniswapv2"
- "uniswapv3"
- "sushiswapv2"
- "pancakeswapv2"
- "pancakeswapv1"
- "quickswap" | The factory name or address of the token exchange | Yes | | "uniswapv2" |
| token0_address | str | The token0 address | Yes | | "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39" |
| token1_address | str | The token1 address | Yes | | "0xdac17f958d2ee523a2206206994597c13d831ec7" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | str | The block number to get the reserves from | | | "" |
| to_date | str | Get the reserves up to this date (format in seconds or datestring accepted by momentjs)
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | "" |
@@ -90,7 +90,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| token0_address | str | The token0 address | Yes | | "0xae7ab96520de3a18e5e111b5eaab095312d7fe84" |
| token1_address | str | The token1 address | Yes | | "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | str | The block number to get the reserves from | | | "" |
| to_date | str | Get the price up to this date (format in seconds or datestring accepted by momentjs)
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | "" |
| exchange | str | The factory name or address of the token exchange | | | "" |
@@ -131,7 +131,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| pair_address | str | The liquidity pair address | Yes | | "0xa2107fa5b38d9bbd2c461d6edf11b11a50f6b974" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | str | The block number to get the reserves from | | | "" |
| to_date | str | Get the reserves up to this date (format in seconds or datestring accepted by momentjs)
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | "" |
diff --git a/docs/evm_api/events.md b/docs/evm_api/events.md
index 9eac168..9c2a2fd 100644
--- a/docs/evm_api/events.md
+++ b/docs/evm_api/events.md
@@ -50,7 +50,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the contract | Yes | | "" |
| topic | str | The topic of the event | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the logs
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the logs.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the logs (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -110,7 +110,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
| topic0 | str | topic0 | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| block_number | str | The block number
* Provide the param 'block_numer' or ('from_block' and / or 'to_block')
* If 'block_numer' is provided in combination with 'from_block' and / or 'to_block', 'block_number' will will be used
| | | "" |
| from_block | str | The minimum block number from which to get the logs
* Provide the param 'block_numer' or ('from_block' and / or 'to_block')
* If 'block_numer' is provided in combination with 'from_block' and / or 'to_block', 'block_number' will will be used
| | | "" |
| to_block | str | The maximum block number from which to get the logs
* Provide the param 'block_numer' or ('from_block' and / or 'to_block')
* If 'block_numer' is provided in combination with 'from_block' and / or 'to_block', 'block_number' will will be used
| | | "" |
diff --git a/docs/evm_api/nft.md b/docs/evm_api/nft.md
index 43142bb..87f001d 100644
--- a/docs/evm_api/nft.md
+++ b/docs/evm_api/nft.md
@@ -65,7 +65,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| limit | int | The desired page size of the result. | | | 0 |
| totalRanges | int | The number of subranges to split the results into | | | 0 |
@@ -115,7 +115,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
### Body
@@ -162,7 +162,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
### Body
@@ -204,7 +204,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT collection | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -242,7 +242,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -286,7 +286,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from where to get the transfers
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from where to get the transfers.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The date from where to get the transfers (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -332,7 +332,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| days | int | The number of days to look back to find the lowest price
If not provided 7 days will be the default
| | | 0 |
| marketplace | enum[str]:
- "opensea" | Marketplace from which to get the trades (only OpenSea is supported at the moment) | | "opensea" | "opensea" |
@@ -377,7 +377,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
| token_id | str | The ID of the token | Yes | | "1" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| normalizeMetadata | bool | Should normalized metadata be returned? | | False | True |
| media_items | bool | Should preview media data be returned? | | False | True |
@@ -422,7 +422,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| limit | int | The desired page size of the result. | | | 0 |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
@@ -472,7 +472,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
| token_id | str | The ID of the token | Yes | | "1" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| limit | int | The desired page size of the result. | | | 0 |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
@@ -515,7 +515,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT collection | Yes | | "" |
| token_id | str | The token id of the NFT collection | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -558,7 +558,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transfers
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | str | The block number to get the trades from | | | "" |
| from_date | str | The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -607,7 +607,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
| token_id | str | The ID of the token | Yes | | "1" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| limit | int | The desired page size of the result. | | | 0 |
| order | enum[str]:
- "ASC"
- "DESC" | The order of the result, in ascending (ASC) or descending (DESC) | | "DESC" | "DESC" |
@@ -650,7 +650,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| block_number_or_hash | str | The block number or block hash | Yes | | "15846571" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| limit | int | The desired page size of the result. | | 100 | 0 |
| order | enum[str]:
- "ASC"
- "DESC" | The order of the result, in ascending (ASC) or descending (DESC) | | "DESC" | "DESC" |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
@@ -695,7 +695,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transfers
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transfers.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -743,7 +743,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The wallet address of the owner of NFTs in the collections | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| limit | int | The desired page size of the result. | | | 0 |
| exclude_spam | bool | Should spam NFTs be excluded from the result? | | False | True |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
@@ -792,7 +792,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The wallet address of the sender or recipient of the transfers | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| contract_addresses | List of str | List of contract addresses of transfers | | | [] |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| from_block | int | The minimum block number from which to get the transfers
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
@@ -848,7 +848,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the wallet | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| format | enum[str]:
- "decimal"
- "hex" | The format of the token ID | | "decimal" | "decimal" |
| limit | int | The desired page size of the result. | | | 0 |
| exclude_spam | bool | Should spam NFTs be excluded from the result? | | False | True |
@@ -900,7 +900,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
| token_id | str | The ID of the token | Yes | | "1" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| flag | enum[str]:
- "uri"
- "metadata" | The type of resync to operate | | "uri" | "uri" |
| mode | enum[str]:
- "async"
- "sync" | To define the behaviour of the endpoint | | "async" | "sync" |
@@ -938,7 +938,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the NFT contract | Yes | | "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
diff --git a/docs/evm_api/token.md b/docs/evm_api/token.md
index ff1442e..cf93c9d 100644
--- a/docs/evm_api/token.md
+++ b/docs/evm_api/token.md
@@ -6,6 +6,7 @@
- [get_token_allowance](#get_token_allowance)
- [get_token_metadata](#get_token_metadata)
- [get_token_metadata_by_symbol](#get_token_metadata_by_symbol)
+- [get_token_owners](#get_token_owners)
- [get_token_pair_ohlc](#get_token_pair_ohlc)
- [get_token_price](#get_token_price)
- [get_token_stats](#get_token_stats)
@@ -49,7 +50,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| include | enum[str]:
- "percent_change" | If the result should contain the 24hr percent change | | "" | "" |
@@ -97,7 +98,7 @@ print(result)
| address | str | The address of the token contract | Yes | | "" |
| owner_address | str | The address of the token owner | Yes | | "" |
| spender_address | str | The address of the token spender | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -133,7 +134,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| addresses | List of str | The addresses to get metadata for | Yes | | [] |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -169,7 +170,49 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| symbols | List of str | The symbols to get metadata for | Yes | | [] |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
+
+
+
+---
+## get_token_owners
+
+> `evm_api.token.get_token_owners()`
+
+Identify the major holders of an ERC20 token and understand their ownership percentages
+
+
+### Example
+```python
+from moralis import evm_api
+
+api_key = "YOUR_API_KEY"
+params = {
+ "token_address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0",
+ "chain": "eth",
+ "limit": 0,
+ "cursor": "",
+ "order": "DESC",
+}
+
+result = evm_api.token.get_token_owners(
+ api_key=api_key,
+ params=params,
+)
+
+print(result)
+
+```
+
+### Parameters
+
+| Name | Type | Description | Required | Default | Example |
+|------|------|-------------|----------|---------|---------|
+| token_address | str | The address of the token contract | Yes | | "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
+| limit | int | The desired page size of the result. | | | 0 |
+| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
+| order | enum[str]:
- "ASC"
- "DESC" | The order of the result, in ascending (ASC) or descending (DESC) | | "DESC" | "DESC" |
@@ -219,7 +262,7 @@ print(result)
| price_format | str | The price format of the ohlc candles (usd, native) | Yes | | "" |
| from_date | str | The date from where to get the ohlc candles (format in seconds or datestring accepted by momentjs). | Yes | | "" |
| to_date | str | Get ohlc candles up until this date (format in seconds or datestring accepted by momentjs). | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| limit | int | The maximum number of ohlc candles to return (max 100) | | | 0 |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
@@ -260,7 +303,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the token contract | Yes | | "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| exchange | str | The factory name or address of the token exchange | | | "" |
| to_block | int | The block number from which the token price should be checked | | | 0 |
| include | enum[str]:
- "percent_change" | If the result should contain the 24hr percent change | | "" | "" |
@@ -299,7 +342,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the erc20 token | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -342,7 +385,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the token contract | Yes | | "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transfers
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transfers.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transfers (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -388,7 +431,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address from which token balances will be checked | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | float | The block number up to which the balances will be checked. | | | 1.2 |
| token_addresses | List of str | The addresses to get balances for (optional) | | | [] |
| exclude_spam | bool | Exclude spam tokens from the result | | True | True |
@@ -435,7 +478,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the wallet | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transactions
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transactions.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
diff --git a/docs/evm_api/transaction.md b/docs/evm_api/transaction.md
index 72c40c3..a7b9162 100644
--- a/docs/evm_api/transaction.md
+++ b/docs/evm_api/transaction.md
@@ -41,7 +41,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| transaction_hash | str | The transaction hash | Yes | | "0xdc85cb1b75fd09c2f6d001fea4aba83764193cbd7881a1fa8ccde350a5681109" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -78,7 +78,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| transaction_hash | str | The transaction hash | Yes | | "0xdc85cb1b75fd09c2f6d001fea4aba83764193cbd7881a1fa8ccde350a5681109" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| include | enum[str]:
- "internal_transactions" | If the result should contain the internal transactions. | | "" | "" |
@@ -116,7 +116,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| transaction_hash | str | The transaction hash | Yes | | "0xdc85cb1b75fd09c2f6d001fea4aba83764193cbd7881a1fa8ccde350a5681109" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| include | enum[str]:
- "internal_transactions" | If the result should contain the internal transactions. | | "" | "" |
@@ -161,7 +161,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the wallet | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transactions
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transactions.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
@@ -213,7 +213,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the wallet | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transactions
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transactions.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
diff --git a/docs/evm_api/utils.md b/docs/evm_api/utils.md
index 7f408c1..9b434b0 100644
--- a/docs/evm_api/utils.md
+++ b/docs/evm_api/utils.md
@@ -65,7 +65,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
### Body
@@ -115,7 +115,7 @@ print(result)
|------|------|-------------|----------|---------|---------|
| address | str | The address of the contract | Yes | | "" |
| function_name | str | The function name of the contract | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
### Body
diff --git a/docs/evm_api/wallets.md b/docs/evm_api/wallets.md
index 75f45c2..7e1d457 100644
--- a/docs/evm_api/wallets.md
+++ b/docs/evm_api/wallets.md
@@ -41,7 +41,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | Wallet address | Yes | | "" |
-| chains | List of enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chains to query | | | [] |
+| chains | List of enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chains to query | | | [] |
@@ -65,7 +65,8 @@ params = {
"to_block": 0,
"from_date": "",
"to_date": "",
- "internal_transactions": True,
+ "include_internal_transactions": True,
+ "include_input_data": True,
"nft_metadata": True,
"cursor": "",
"order": "DESC",
@@ -86,12 +87,13 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address of the wallet | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| from_block | int | The minimum block number from which to get the transactions
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | 0 |
| to_block | int | The maximum block number from which to get the transactions.
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | 0 |
| from_date | str | The start date from which to get the transactions (format in seconds or datestring accepted by momentjs)
* Provide the param 'from_block' or 'from_date'
* If 'from_date' and 'from_block' are provided, 'from_block' will be used.
| | | "" |
| to_date | str | Get the transactions up to this date (format in seconds or datestring accepted by momentjs)
* Provide the param 'to_block' or 'to_date'
* If 'to_date' and 'to_block' are provided, 'to_block' will be used.
| | | "" |
-| internal_transactions | bool | If the result should contain the internal transactions. | | | True |
+| include_internal_transactions | bool | If the result should contain the internal transactions. | | | True |
+| include_input_data | bool | Set the input data from the result | | False | True |
| nft_metadata | bool | If the result should contain the nft metadata. | | | True |
| cursor | str | The cursor returned in the previous response (used for getting the next page). | | | "" |
| order | enum[str]:
- "ASC"
- "DESC" | The order of the result, in ascending (ASC) or descending (DESC) | | "DESC" | "DESC" |
@@ -133,7 +135,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The wallet address | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chains | List of enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chains to query | | | [] |
+| chains | List of enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chains to query | | | [] |
| exclude_spam | bool | Exclude spam tokens from the result | | False | True |
| exclude_unverified_contracts | bool | Exclude unverified contracts from the result | | False | True |
@@ -171,7 +173,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | Wallet address | Yes | | "" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
@@ -214,7 +216,7 @@ print(result)
| Name | Type | Description | Required | Default | Example |
|------|------|-------------|----------|---------|---------|
| address | str | The address from which token balances will be checked | Yes | | "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" |
-| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268" | The chain to query | | "eth" | "eth" |
+| chain | enum[str]:
- "eth"
- "0x1"
- "goerli"
- "0x5"
- "sepolia"
- "0xaa36a7"
- "polygon"
- "0x89"
- "mumbai"
- "0x13881"
- "bsc"
- "0x38"
- "bsc testnet"
- "0x61"
- "avalanche"
- "0xa86a"
- "fantom"
- "0xfa"
- "palm"
- "0x2a15c308d"
- "cronos"
- "0x19"
- "arbitrum"
- "0xa4b1"
- "chiliz"
- "0x15b38"
- "chiliz testnet"
- "0x15b32"
- "gnosis"
- "0x64"
- "gnosis testnet"
- "0x27d8"
- "base"
- "0x2105"
- "base testnet"
- "0x14a33"
- "base sepolia"
- "0x14a34"
- "optimism"
- "0xa"
- "holesky"
- "0x4268"
- "polygon amoy"
- "0x13882"
- "linea"
- "0xe708" | The chain to query | | "eth" | "eth" |
| to_block | float | The block number up to which the balances will be checked. | | | 1.2 |
| token_addresses | List of str | The addresses to get balances for (optional) | | | [] |
| exclude_spam | bool | Exclude spam tokens from the result | | False | True |
diff --git a/src/moralis/evm_api/token/get_token_owners.py b/src/moralis/evm_api/token/get_token_owners.py
new file mode 100644
index 0000000..2a476ed
--- /dev/null
+++ b/src/moralis/evm_api/token/get_token_owners.py
@@ -0,0 +1,28 @@
+import json
+import typing
+import typing_extensions
+from .api_instance import get_api_instance
+from openapi_evm_api.paths.erc20_token_address_owners.get import RequestQueryParams, RequestPathParams
+
+
+
+class QueryParams(RequestQueryParams):
+ pass
+
+class Params(QueryParams,RequestPathParams,):
+ pass
+
+def get_token_owners(api_key: str, params: Params):
+ api_instance = get_api_instance(api_key, params)
+ query_params: typing.Any = {k: v for k, v in params.items() if k in RequestQueryParams.__annotations__.keys()}
+ path_params: typing.Any = {k: v for k, v in params.items() if k in RequestPathParams.__annotations__.keys()}
+ api_response = api_instance.get_token_owners(
+ query_params=query_params,
+ path_params=path_params,
+ accept_content_types=(
+ 'application/json; charset=utf-8',
+ ),
+ skip_deserialization=True
+ )
+
+ return json.loads(api_response.response.data)
diff --git a/src/moralis/evm_api/token/token.py b/src/moralis/evm_api/token/token.py
index 6d70f28..f3f4b1b 100644
--- a/src/moralis/evm_api/token/token.py
+++ b/src/moralis/evm_api/token/token.py
@@ -2,6 +2,7 @@
from .get_token_allowance import get_token_allowance
from .get_token_metadata import get_token_metadata
from .get_token_metadata_by_symbol import get_token_metadata_by_symbol
+from .get_token_owners import get_token_owners
from .get_token_pair_ohlc import get_token_pair_ohlc
from .get_token_price import get_token_price
from .get_token_stats import get_token_stats
diff --git a/src/openapi_evm_api/apis/path_to_api.py b/src/openapi_evm_api/apis/path_to_api.py
index b6d910f..88b0da5 100644
--- a/src/openapi_evm_api/apis/path_to_api.py
+++ b/src/openapi_evm_api/apis/path_to_api.py
@@ -21,6 +21,7 @@
from openapi_evm_api.apis.paths.nft_address_lowestprice import NftAddressLowestprice
from openapi_evm_api.apis.paths.erc20_address_price import Erc20AddressPrice
from openapi_evm_api.apis.paths.erc20_prices import Erc20Prices
+from openapi_evm_api.apis.paths.erc20_token_address_owners import Erc20TokenAddressOwners
from openapi_evm_api.apis.paths.address_erc20 import AddressErc20
from openapi_evm_api.apis.paths.address_erc20_transfers import AddressErc20Transfers
from openapi_evm_api.apis.paths.erc20_metadata import Erc20Metadata
@@ -100,6 +101,7 @@
PathValues.NFT_ADDRESS_LOWESTPRICE: NftAddressLowestprice,
PathValues.ERC20_ADDRESS_PRICE: Erc20AddressPrice,
PathValues.ERC20_PRICES: Erc20Prices,
+ PathValues.ERC20_TOKEN_ADDRESS_OWNERS: Erc20TokenAddressOwners,
PathValues.ADDRESS_ERC20: AddressErc20,
PathValues.ADDRESS_ERC20_TRANSFERS: AddressErc20Transfers,
PathValues.ERC20_METADATA: Erc20Metadata,
@@ -180,6 +182,7 @@
PathValues.NFT_ADDRESS_LOWESTPRICE: NftAddressLowestprice,
PathValues.ERC20_ADDRESS_PRICE: Erc20AddressPrice,
PathValues.ERC20_PRICES: Erc20Prices,
+ PathValues.ERC20_TOKEN_ADDRESS_OWNERS: Erc20TokenAddressOwners,
PathValues.ADDRESS_ERC20: AddressErc20,
PathValues.ADDRESS_ERC20_TRANSFERS: AddressErc20Transfers,
PathValues.ERC20_METADATA: Erc20Metadata,
diff --git a/src/openapi_evm_api/apis/paths/erc20_token_address_owners.py b/src/openapi_evm_api/apis/paths/erc20_token_address_owners.py
new file mode 100644
index 0000000..254e534
--- /dev/null
+++ b/src/openapi_evm_api/apis/paths/erc20_token_address_owners.py
@@ -0,0 +1,7 @@
+from openapi_evm_api.paths.erc20_token_address_owners.get import ApiForget
+
+
+class Erc20TokenAddressOwners(
+ ApiForget,
+):
+ pass
diff --git a/src/openapi_evm_api/apis/tags/token_api.py b/src/openapi_evm_api/apis/tags/token_api.py
index d878dbf..68d4936 100644
--- a/src/openapi_evm_api/apis/tags/token_api.py
+++ b/src/openapi_evm_api/apis/tags/token_api.py
@@ -13,6 +13,7 @@
from openapi_evm_api.paths.erc20_address_allowance.get import GetTokenAllowance
from openapi_evm_api.paths.erc20_metadata.get import GetTokenMetadata
from openapi_evm_api.paths.erc20_metadata_symbols.get import GetTokenMetadataBySymbol
+from openapi_evm_api.paths.erc20_token_address_owners.get import GetTokenOwners
from openapi_evm_api.paths.token0_token1_ohlc.get import GetTokenPairOhlc
from openapi_evm_api.paths.erc20_address_price.get import GetTokenPrice
from openapi_evm_api.paths.erc20_address_stats.get import GetTokenStats
@@ -26,6 +27,7 @@ class TokenApi(
GetTokenAllowance,
GetTokenMetadata,
GetTokenMetadataBySymbol,
+ GetTokenOwners,
GetTokenPairOhlc,
GetTokenPrice,
GetTokenStats,
diff --git a/src/openapi_evm_api/model/chain_list.py b/src/openapi_evm_api/model/chain_list.py
index 744881e..4b9172c 100644
--- a/src/openapi_evm_api/model/chain_list.py
+++ b/src/openapi_evm_api/model/chain_list.py
@@ -78,6 +78,10 @@ class MetaOapg:
"0xa": "XA",
"holesky": "HOLESKY",
"0x4268": "X4268",
+ "polygon amoy": "POLYGON_AMOY",
+ "0x13882": "X13882",
+ "linea": "LINEA",
+ "0xe708": "XE708",
}
@schemas.classproperty
@@ -247,3 +251,19 @@ def HOLESKY(cls):
@schemas.classproperty
def X4268(cls):
return cls("0x4268")
+
+ @schemas.classproperty
+ def POLYGON_AMOY(cls):
+ return cls("polygon amoy")
+
+ @schemas.classproperty
+ def X13882(cls):
+ return cls("0x13882")
+
+ @schemas.classproperty
+ def LINEA(cls):
+ return cls("linea")
+
+ @schemas.classproperty
+ def XE708(cls):
+ return cls("0xe708")
diff --git a/src/openapi_evm_api/model/chain_list.pyi b/src/openapi_evm_api/model/chain_list.pyi
index 02d8270..91745c8 100644
--- a/src/openapi_evm_api/model/chain_list.pyi
+++ b/src/openapi_evm_api/model/chain_list.pyi
@@ -200,3 +200,19 @@ class ChainList(
@schemas.classproperty
def X4268(cls):
return cls("0x4268")
+
+ @schemas.classproperty
+ def POLYGON_AMOY(cls):
+ return cls("polygon amoy")
+
+ @schemas.classproperty
+ def X13882(cls):
+ return cls("0x13882")
+
+ @schemas.classproperty
+ def LINEA(cls):
+ return cls("linea")
+
+ @schemas.classproperty
+ def XE708(cls):
+ return cls("0xe708")
diff --git a/src/openapi_evm_api/model/discovery_api_chains_list.py b/src/openapi_evm_api/model/discovery_api_chains_list.py
index e931833..1184306 100644
--- a/src/openapi_evm_api/model/discovery_api_chains_list.py
+++ b/src/openapi_evm_api/model/discovery_api_chains_list.py
@@ -54,6 +54,8 @@ class MetaOapg:
"0xa": "XA",
"pulsechain": "PULSECHAIN",
"0x171": "X171",
+ "base": "BASE",
+ "0x2105": "X2105",
}
@schemas.classproperty
@@ -127,3 +129,11 @@ def PULSECHAIN(cls):
@schemas.classproperty
def X171(cls):
return cls("0x171")
+
+ @schemas.classproperty
+ def BASE(cls):
+ return cls("base")
+
+ @schemas.classproperty
+ def X2105(cls):
+ return cls("0x2105")
diff --git a/src/openapi_evm_api/model/discovery_api_chains_list.pyi b/src/openapi_evm_api/model/discovery_api_chains_list.pyi
index 9ecb278..de113a2 100644
--- a/src/openapi_evm_api/model/discovery_api_chains_list.pyi
+++ b/src/openapi_evm_api/model/discovery_api_chains_list.pyi
@@ -104,3 +104,11 @@ class DiscoveryApiChainsList(
@schemas.classproperty
def X171(cls):
return cls("0x171")
+
+ @schemas.classproperty
+ def BASE(cls):
+ return cls("base")
+
+ @schemas.classproperty
+ def X2105(cls):
+ return cls("0x2105")
diff --git a/src/openapi_evm_api/model/e_transaction_category.py b/src/openapi_evm_api/model/e_transaction_category.py
index 746b465..6a7a192 100644
--- a/src/openapi_evm_api/model/e_transaction_category.py
+++ b/src/openapi_evm_api/model/e_transaction_category.py
@@ -52,6 +52,7 @@ class MetaOapg:
"airdrop": "AIRDROP",
"mint": "MINT",
"burn": "BURN",
+ "borrow": "BORROW",
"contract interaction": "CONTRACT_INTERACTION",
}
@@ -111,6 +112,10 @@ def MINT(cls):
def BURN(cls):
return cls("burn")
+ @schemas.classproperty
+ def BORROW(cls):
+ return cls("borrow")
+
@schemas.classproperty
def CONTRACT_INTERACTION(cls):
return cls("contract interaction")
diff --git a/src/openapi_evm_api/model/e_transaction_category.pyi b/src/openapi_evm_api/model/e_transaction_category.pyi
index 4dcd85c..a11465d 100644
--- a/src/openapi_evm_api/model/e_transaction_category.pyi
+++ b/src/openapi_evm_api/model/e_transaction_category.pyi
@@ -91,6 +91,10 @@ class ETransactionCategory(
def BURN(cls):
return cls("burn")
+ @schemas.classproperty
+ def BORROW(cls):
+ return cls("borrow")
+
@schemas.classproperty
def CONTRACT_INTERACTION(cls):
return cls("contract interaction")
diff --git a/src/openapi_evm_api/model/erc20_token_owner.py b/src/openapi_evm_api/model/erc20_token_owner.py
new file mode 100644
index 0000000..42834fe
--- /dev/null
+++ b/src/openapi_evm_api/model/erc20_token_owner.py
@@ -0,0 +1,156 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class Erc20TokenOwner(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "is_contract",
+ "percentage_relative_to_total_supply",
+ "balance",
+ "balance_formatted",
+ "owner_address",
+ "owner_address_label",
+ "usd_value",
+ }
+
+ class properties:
+ owner_address = schemas.StrSchema
+ owner_address_label = schemas.StrSchema
+ balance = schemas.StrSchema
+ balance_formatted = schemas.StrSchema
+ usd_value = schemas.StrSchema
+ is_contract = schemas.BoolSchema
+ percentage_relative_to_total_supply = schemas.NumberSchema
+ __annotations__ = {
+ "owner_address": owner_address,
+ "owner_address_label": owner_address_label,
+ "balance": balance,
+ "balance_formatted": balance_formatted,
+ "usd_value": usd_value,
+ "is_contract": is_contract,
+ "percentage_relative_to_total_supply": percentage_relative_to_total_supply,
+ }
+
+
+ is_contract: MetaOapg.properties.is_contract
+ percentage_relative_to_total_supply: MetaOapg.properties.percentage_relative_to_total_supply
+ balance: MetaOapg.properties.balance
+ balance_formatted: MetaOapg.properties.balance_formatted
+ owner_address: MetaOapg.properties.owner_address
+ owner_address_label: MetaOapg.properties.owner_address_label
+ usd_value: MetaOapg.properties.usd_value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["owner_address"]) -> MetaOapg.properties.owner_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["owner_address_label"]) -> MetaOapg.properties.owner_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["balance"]) -> MetaOapg.properties.balance: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["balance_formatted"]) -> MetaOapg.properties.balance_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["usd_value"]) -> MetaOapg.properties.usd_value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["is_contract"]) -> MetaOapg.properties.is_contract: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["percentage_relative_to_total_supply"]) -> MetaOapg.properties.percentage_relative_to_total_supply: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["owner_address", "owner_address_label", "balance", "balance_formatted", "usd_value", "is_contract", "percentage_relative_to_total_supply", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["owner_address"]) -> MetaOapg.properties.owner_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["owner_address_label"]) -> MetaOapg.properties.owner_address_label: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["balance"]) -> MetaOapg.properties.balance: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["balance_formatted"]) -> MetaOapg.properties.balance_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["usd_value"]) -> MetaOapg.properties.usd_value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["is_contract"]) -> MetaOapg.properties.is_contract: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["percentage_relative_to_total_supply"]) -> MetaOapg.properties.percentage_relative_to_total_supply: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["owner_address", "owner_address_label", "balance", "balance_formatted", "usd_value", "is_contract", "percentage_relative_to_total_supply", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ is_contract: typing.Union[MetaOapg.properties.is_contract, bool, ],
+ percentage_relative_to_total_supply: typing.Union[MetaOapg.properties.percentage_relative_to_total_supply, decimal.Decimal, int, float, ],
+ balance: typing.Union[MetaOapg.properties.balance, str, ],
+ balance_formatted: typing.Union[MetaOapg.properties.balance_formatted, str, ],
+ owner_address: typing.Union[MetaOapg.properties.owner_address, str, ],
+ owner_address_label: typing.Union[MetaOapg.properties.owner_address_label, str, ],
+ usd_value: typing.Union[MetaOapg.properties.usd_value, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'Erc20TokenOwner':
+ return super().__new__(
+ cls,
+ *args,
+ is_contract=is_contract,
+ percentage_relative_to_total_supply=percentage_relative_to_total_supply,
+ balance=balance,
+ balance_formatted=balance_formatted,
+ owner_address=owner_address,
+ owner_address_label=owner_address_label,
+ usd_value=usd_value,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/erc20_token_owner.pyi b/src/openapi_evm_api/model/erc20_token_owner.pyi
new file mode 100644
index 0000000..42834fe
--- /dev/null
+++ b/src/openapi_evm_api/model/erc20_token_owner.pyi
@@ -0,0 +1,156 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class Erc20TokenOwner(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "is_contract",
+ "percentage_relative_to_total_supply",
+ "balance",
+ "balance_formatted",
+ "owner_address",
+ "owner_address_label",
+ "usd_value",
+ }
+
+ class properties:
+ owner_address = schemas.StrSchema
+ owner_address_label = schemas.StrSchema
+ balance = schemas.StrSchema
+ balance_formatted = schemas.StrSchema
+ usd_value = schemas.StrSchema
+ is_contract = schemas.BoolSchema
+ percentage_relative_to_total_supply = schemas.NumberSchema
+ __annotations__ = {
+ "owner_address": owner_address,
+ "owner_address_label": owner_address_label,
+ "balance": balance,
+ "balance_formatted": balance_formatted,
+ "usd_value": usd_value,
+ "is_contract": is_contract,
+ "percentage_relative_to_total_supply": percentage_relative_to_total_supply,
+ }
+
+
+ is_contract: MetaOapg.properties.is_contract
+ percentage_relative_to_total_supply: MetaOapg.properties.percentage_relative_to_total_supply
+ balance: MetaOapg.properties.balance
+ balance_formatted: MetaOapg.properties.balance_formatted
+ owner_address: MetaOapg.properties.owner_address
+ owner_address_label: MetaOapg.properties.owner_address_label
+ usd_value: MetaOapg.properties.usd_value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["owner_address"]) -> MetaOapg.properties.owner_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["owner_address_label"]) -> MetaOapg.properties.owner_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["balance"]) -> MetaOapg.properties.balance: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["balance_formatted"]) -> MetaOapg.properties.balance_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["usd_value"]) -> MetaOapg.properties.usd_value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["is_contract"]) -> MetaOapg.properties.is_contract: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["percentage_relative_to_total_supply"]) -> MetaOapg.properties.percentage_relative_to_total_supply: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["owner_address", "owner_address_label", "balance", "balance_formatted", "usd_value", "is_contract", "percentage_relative_to_total_supply", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["owner_address"]) -> MetaOapg.properties.owner_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["owner_address_label"]) -> MetaOapg.properties.owner_address_label: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["balance"]) -> MetaOapg.properties.balance: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["balance_formatted"]) -> MetaOapg.properties.balance_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["usd_value"]) -> MetaOapg.properties.usd_value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["is_contract"]) -> MetaOapg.properties.is_contract: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["percentage_relative_to_total_supply"]) -> MetaOapg.properties.percentage_relative_to_total_supply: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["owner_address", "owner_address_label", "balance", "balance_formatted", "usd_value", "is_contract", "percentage_relative_to_total_supply", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ is_contract: typing.Union[MetaOapg.properties.is_contract, bool, ],
+ percentage_relative_to_total_supply: typing.Union[MetaOapg.properties.percentage_relative_to_total_supply, decimal.Decimal, int, float, ],
+ balance: typing.Union[MetaOapg.properties.balance, str, ],
+ balance_formatted: typing.Union[MetaOapg.properties.balance_formatted, str, ],
+ owner_address: typing.Union[MetaOapg.properties.owner_address, str, ],
+ owner_address_label: typing.Union[MetaOapg.properties.owner_address_label, str, ],
+ usd_value: typing.Union[MetaOapg.properties.usd_value, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'Erc20TokenOwner':
+ return super().__new__(
+ cls,
+ *args,
+ is_contract=is_contract,
+ percentage_relative_to_total_supply=percentage_relative_to_total_supply,
+ balance=balance,
+ balance_formatted=balance_formatted,
+ owner_address=owner_address,
+ owner_address_label=owner_address_label,
+ usd_value=usd_value,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/erc20_token_owner_collection.py b/src/openapi_evm_api/model/erc20_token_owner_collection.py
new file mode 100644
index 0000000..be831cc
--- /dev/null
+++ b/src/openapi_evm_api/model/erc20_token_owner_collection.py
@@ -0,0 +1,141 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class Erc20TokenOwnerCollection(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "result",
+ }
+
+ class properties:
+
+
+ class result(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['Erc20TokenOwner']:
+ return Erc20TokenOwner
+
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['Erc20TokenOwner'], typing.List['Erc20TokenOwner']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'result':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'Erc20TokenOwner':
+ return super().__getitem__(i)
+ page = schemas.IntSchema
+ page_size = schemas.IntSchema
+ cursor = schemas.StrSchema
+ __annotations__ = {
+ "result": result,
+ "page": page,
+ "page_size": page_size,
+ "cursor": cursor,
+ }
+
+
+ result: MetaOapg.properties.result
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["result"]) -> MetaOapg.properties.result: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["page"]) -> MetaOapg.properties.page: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["page_size"]) -> MetaOapg.properties.page_size: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["cursor"]) -> MetaOapg.properties.cursor: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["result", "page", "page_size", "cursor", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["result"]) -> MetaOapg.properties.result: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["page"]) -> typing.Union[MetaOapg.properties.page, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["page_size"]) -> typing.Union[MetaOapg.properties.page_size, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["cursor"]) -> typing.Union[MetaOapg.properties.cursor, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["result", "page", "page_size", "cursor", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ result: typing.Union[MetaOapg.properties.result, list, tuple, ],
+ page: typing.Union[MetaOapg.properties.page, decimal.Decimal, int, schemas.Unset] = schemas.unset,
+ page_size: typing.Union[MetaOapg.properties.page_size, decimal.Decimal, int, schemas.Unset] = schemas.unset,
+ cursor: typing.Union[MetaOapg.properties.cursor, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'Erc20TokenOwnerCollection':
+ return super().__new__(
+ cls,
+ *args,
+ result=result,
+ page=page,
+ page_size=page_size,
+ cursor=cursor,
+ _configuration=_configuration,
+ **kwargs,
+ )
+
+from openapi_evm_api.model.erc20_token_owner import Erc20TokenOwner
diff --git a/src/openapi_evm_api/model/erc20_token_owner_collection.pyi b/src/openapi_evm_api/model/erc20_token_owner_collection.pyi
new file mode 100644
index 0000000..be831cc
--- /dev/null
+++ b/src/openapi_evm_api/model/erc20_token_owner_collection.pyi
@@ -0,0 +1,141 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class Erc20TokenOwnerCollection(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "result",
+ }
+
+ class properties:
+
+
+ class result(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['Erc20TokenOwner']:
+ return Erc20TokenOwner
+
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['Erc20TokenOwner'], typing.List['Erc20TokenOwner']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'result':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'Erc20TokenOwner':
+ return super().__getitem__(i)
+ page = schemas.IntSchema
+ page_size = schemas.IntSchema
+ cursor = schemas.StrSchema
+ __annotations__ = {
+ "result": result,
+ "page": page,
+ "page_size": page_size,
+ "cursor": cursor,
+ }
+
+
+ result: MetaOapg.properties.result
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["result"]) -> MetaOapg.properties.result: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["page"]) -> MetaOapg.properties.page: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["page_size"]) -> MetaOapg.properties.page_size: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["cursor"]) -> MetaOapg.properties.cursor: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["result", "page", "page_size", "cursor", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["result"]) -> MetaOapg.properties.result: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["page"]) -> typing.Union[MetaOapg.properties.page, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["page_size"]) -> typing.Union[MetaOapg.properties.page_size, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["cursor"]) -> typing.Union[MetaOapg.properties.cursor, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["result", "page", "page_size", "cursor", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ result: typing.Union[MetaOapg.properties.result, list, tuple, ],
+ page: typing.Union[MetaOapg.properties.page, decimal.Decimal, int, schemas.Unset] = schemas.unset,
+ page_size: typing.Union[MetaOapg.properties.page_size, decimal.Decimal, int, schemas.Unset] = schemas.unset,
+ cursor: typing.Union[MetaOapg.properties.cursor, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'Erc20TokenOwnerCollection':
+ return super().__new__(
+ cls,
+ *args,
+ result=result,
+ page=page,
+ page_size=page_size,
+ cursor=cursor,
+ _configuration=_configuration,
+ **kwargs,
+ )
+
+from openapi_evm_api.model.erc20_token_owner import Erc20TokenOwner
diff --git a/src/openapi_evm_api/model/native_transfer.py b/src/openapi_evm_api/model/native_transfer.py
new file mode 100644
index 0000000..1bc0b28
--- /dev/null
+++ b/src/openapi_evm_api/model/native_transfer.py
@@ -0,0 +1,222 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class NativeTransfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "internal_transaction",
+ "value_formatted",
+ "token_logo",
+ "token_symbol",
+ "from_address",
+ "value",
+ }
+
+ class properties:
+ from_address = schemas.StrSchema
+ value = schemas.StrSchema
+ value_formatted = schemas.StrSchema
+ internal_transaction = schemas.BoolSchema
+ token_symbol = schemas.StrSchema
+ token_logo = schemas.StrSchema
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ to_address = schemas.StrSchema
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ direction = schemas.StrSchema
+ __annotations__ = {
+ "from_address": from_address,
+ "value": value,
+ "value_formatted": value_formatted,
+ "internal_transaction": internal_transaction,
+ "token_symbol": token_symbol,
+ "token_logo": token_logo,
+ "from_address_label": from_address_label,
+ "to_address": to_address,
+ "to_address_label": to_address_label,
+ "direction": direction,
+ }
+
+
+ internal_transaction: MetaOapg.properties.internal_transaction
+ value_formatted: MetaOapg.properties.value_formatted
+ token_logo: MetaOapg.properties.token_logo
+ token_symbol: MetaOapg.properties.token_symbol
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["internal_transaction"]) -> MetaOapg.properties.internal_transaction: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["from_address", "value", "value_formatted", "internal_transaction", "token_symbol", "token_logo", "from_address_label", "to_address", "to_address_label", "direction", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["internal_transaction"]) -> MetaOapg.properties.internal_transaction: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> typing.Union[MetaOapg.properties.to_address, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> typing.Union[MetaOapg.properties.direction, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["from_address", "value", "value_formatted", "internal_transaction", "token_symbol", "token_logo", "from_address_label", "to_address", "to_address_label", "direction", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ internal_transaction: typing.Union[MetaOapg.properties.internal_transaction, bool, ],
+ value_formatted: typing.Union[MetaOapg.properties.value_formatted, str, ],
+ token_logo: typing.Union[MetaOapg.properties.token_logo, str, ],
+ token_symbol: typing.Union[MetaOapg.properties.token_symbol, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address: typing.Union[MetaOapg.properties.to_address, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ direction: typing.Union[MetaOapg.properties.direction, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'NativeTransfer':
+ return super().__new__(
+ cls,
+ *args,
+ internal_transaction=internal_transaction,
+ value_formatted=value_formatted,
+ token_logo=token_logo,
+ token_symbol=token_symbol,
+ from_address=from_address,
+ value=value,
+ from_address_label=from_address_label,
+ to_address=to_address,
+ to_address_label=to_address_label,
+ direction=direction,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/native_transfer.pyi b/src/openapi_evm_api/model/native_transfer.pyi
new file mode 100644
index 0000000..1bc0b28
--- /dev/null
+++ b/src/openapi_evm_api/model/native_transfer.pyi
@@ -0,0 +1,222 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class NativeTransfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "internal_transaction",
+ "value_formatted",
+ "token_logo",
+ "token_symbol",
+ "from_address",
+ "value",
+ }
+
+ class properties:
+ from_address = schemas.StrSchema
+ value = schemas.StrSchema
+ value_formatted = schemas.StrSchema
+ internal_transaction = schemas.BoolSchema
+ token_symbol = schemas.StrSchema
+ token_logo = schemas.StrSchema
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ to_address = schemas.StrSchema
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ direction = schemas.StrSchema
+ __annotations__ = {
+ "from_address": from_address,
+ "value": value,
+ "value_formatted": value_formatted,
+ "internal_transaction": internal_transaction,
+ "token_symbol": token_symbol,
+ "token_logo": token_logo,
+ "from_address_label": from_address_label,
+ "to_address": to_address,
+ "to_address_label": to_address_label,
+ "direction": direction,
+ }
+
+
+ internal_transaction: MetaOapg.properties.internal_transaction
+ value_formatted: MetaOapg.properties.value_formatted
+ token_logo: MetaOapg.properties.token_logo
+ token_symbol: MetaOapg.properties.token_symbol
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["internal_transaction"]) -> MetaOapg.properties.internal_transaction: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["from_address", "value", "value_formatted", "internal_transaction", "token_symbol", "token_logo", "from_address_label", "to_address", "to_address_label", "direction", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["internal_transaction"]) -> MetaOapg.properties.internal_transaction: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> typing.Union[MetaOapg.properties.to_address, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> typing.Union[MetaOapg.properties.direction, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["from_address", "value", "value_formatted", "internal_transaction", "token_symbol", "token_logo", "from_address_label", "to_address", "to_address_label", "direction", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ internal_transaction: typing.Union[MetaOapg.properties.internal_transaction, bool, ],
+ value_formatted: typing.Union[MetaOapg.properties.value_formatted, str, ],
+ token_logo: typing.Union[MetaOapg.properties.token_logo, str, ],
+ token_symbol: typing.Union[MetaOapg.properties.token_symbol, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address: typing.Union[MetaOapg.properties.to_address, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ direction: typing.Union[MetaOapg.properties.direction, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'NativeTransfer':
+ return super().__new__(
+ cls,
+ *args,
+ internal_transaction=internal_transaction,
+ value_formatted=value_formatted,
+ token_logo=token_logo,
+ token_symbol=token_symbol,
+ from_address=from_address,
+ value=value,
+ from_address_label=from_address_label,
+ to_address=to_address,
+ to_address_label=to_address_label,
+ direction=direction,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/wallet_history_erc20_transfer.py b/src/openapi_evm_api/model/wallet_history_erc20_transfer.py
new file mode 100644
index 0000000..422676f
--- /dev/null
+++ b/src/openapi_evm_api/model/wallet_history_erc20_transfer.py
@@ -0,0 +1,288 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class WalletHistoryErc20Transfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "address",
+ "to_address",
+ "transaction_index",
+ "log_index",
+ "possible_spam",
+ "verified_contract",
+ "value_formatted",
+ "token_logo",
+ "token_name",
+ "token_decimals",
+ "token_symbol",
+ "from_address",
+ "value",
+ }
+
+ class properties:
+ token_name = schemas.StrSchema
+ token_symbol = schemas.StrSchema
+ token_logo = schemas.StrSchema
+ token_decimals = schemas.StrSchema
+ address = schemas.StrSchema
+ to_address = schemas.StrSchema
+ from_address = schemas.StrSchema
+ value = schemas.StrSchema
+ value_formatted = schemas.StrSchema
+ log_index = schemas.IntSchema
+ possible_spam = schemas.BoolSchema
+ verified_contract = schemas.BoolSchema
+ block_timestamp = schemas.StrSchema
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ __annotations__ = {
+ "token_name": token_name,
+ "token_symbol": token_symbol,
+ "token_logo": token_logo,
+ "token_decimals": token_decimals,
+ "address": address,
+ "to_address": to_address,
+ "from_address": from_address,
+ "value": value,
+ "value_formatted": value_formatted,
+ "log_index": log_index,
+ "possible_spam": possible_spam,
+ "verified_contract": verified_contract,
+ "block_timestamp": block_timestamp,
+ "to_address_label": to_address_label,
+ "from_address_label": from_address_label,
+ }
+
+
+ address: MetaOapg.properties.address
+ to_address: MetaOapg.properties.to_address
+ transaction_index: schemas.AnyTypeSchema
+ log_index: MetaOapg.properties.log_index
+ possible_spam: MetaOapg.properties.possible_spam
+ verified_contract: MetaOapg.properties.verified_contract
+ value_formatted: MetaOapg.properties.value_formatted
+ token_logo: MetaOapg.properties.token_logo
+ token_name: MetaOapg.properties.token_name
+ token_decimals: MetaOapg.properties.token_decimals
+ token_symbol: MetaOapg.properties.token_symbol
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_name"]) -> MetaOapg.properties.token_name: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_decimals"]) -> MetaOapg.properties.token_decimals: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["address"]) -> MetaOapg.properties.address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["verified_contract"]) -> MetaOapg.properties.verified_contract: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["token_name", "token_symbol", "token_logo", "token_decimals", "address", "to_address", "from_address", "value", "value_formatted", "log_index", "possible_spam", "verified_contract", "block_timestamp", "to_address_label", "from_address_label", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_name"]) -> MetaOapg.properties.token_name: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_decimals"]) -> MetaOapg.properties.token_decimals: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["address"]) -> MetaOapg.properties.address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["verified_contract"]) -> MetaOapg.properties.verified_contract: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_timestamp"]) -> typing.Union[MetaOapg.properties.block_timestamp, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["token_name", "token_symbol", "token_logo", "token_decimals", "address", "to_address", "from_address", "value", "value_formatted", "log_index", "possible_spam", "verified_contract", "block_timestamp", "to_address_label", "from_address_label", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ address: typing.Union[MetaOapg.properties.address, str, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, str, ],
+ transaction_index: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ log_index: typing.Union[MetaOapg.properties.log_index, decimal.Decimal, int, ],
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, ],
+ verified_contract: typing.Union[MetaOapg.properties.verified_contract, bool, ],
+ value_formatted: typing.Union[MetaOapg.properties.value_formatted, str, ],
+ token_logo: typing.Union[MetaOapg.properties.token_logo, str, ],
+ token_name: typing.Union[MetaOapg.properties.token_name, str, ],
+ token_decimals: typing.Union[MetaOapg.properties.token_decimals, str, ],
+ token_symbol: typing.Union[MetaOapg.properties.token_symbol, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ block_timestamp: typing.Union[MetaOapg.properties.block_timestamp, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'WalletHistoryErc20Transfer':
+ return super().__new__(
+ cls,
+ *args,
+ address=address,
+ to_address=to_address,
+ transaction_index=transaction_index,
+ log_index=log_index,
+ possible_spam=possible_spam,
+ verified_contract=verified_contract,
+ value_formatted=value_formatted,
+ token_logo=token_logo,
+ token_name=token_name,
+ token_decimals=token_decimals,
+ token_symbol=token_symbol,
+ from_address=from_address,
+ value=value,
+ block_timestamp=block_timestamp,
+ to_address_label=to_address_label,
+ from_address_label=from_address_label,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/wallet_history_erc20_transfer.pyi b/src/openapi_evm_api/model/wallet_history_erc20_transfer.pyi
new file mode 100644
index 0000000..422676f
--- /dev/null
+++ b/src/openapi_evm_api/model/wallet_history_erc20_transfer.pyi
@@ -0,0 +1,288 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class WalletHistoryErc20Transfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "address",
+ "to_address",
+ "transaction_index",
+ "log_index",
+ "possible_spam",
+ "verified_contract",
+ "value_formatted",
+ "token_logo",
+ "token_name",
+ "token_decimals",
+ "token_symbol",
+ "from_address",
+ "value",
+ }
+
+ class properties:
+ token_name = schemas.StrSchema
+ token_symbol = schemas.StrSchema
+ token_logo = schemas.StrSchema
+ token_decimals = schemas.StrSchema
+ address = schemas.StrSchema
+ to_address = schemas.StrSchema
+ from_address = schemas.StrSchema
+ value = schemas.StrSchema
+ value_formatted = schemas.StrSchema
+ log_index = schemas.IntSchema
+ possible_spam = schemas.BoolSchema
+ verified_contract = schemas.BoolSchema
+ block_timestamp = schemas.StrSchema
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ __annotations__ = {
+ "token_name": token_name,
+ "token_symbol": token_symbol,
+ "token_logo": token_logo,
+ "token_decimals": token_decimals,
+ "address": address,
+ "to_address": to_address,
+ "from_address": from_address,
+ "value": value,
+ "value_formatted": value_formatted,
+ "log_index": log_index,
+ "possible_spam": possible_spam,
+ "verified_contract": verified_contract,
+ "block_timestamp": block_timestamp,
+ "to_address_label": to_address_label,
+ "from_address_label": from_address_label,
+ }
+
+
+ address: MetaOapg.properties.address
+ to_address: MetaOapg.properties.to_address
+ transaction_index: schemas.AnyTypeSchema
+ log_index: MetaOapg.properties.log_index
+ possible_spam: MetaOapg.properties.possible_spam
+ verified_contract: MetaOapg.properties.verified_contract
+ value_formatted: MetaOapg.properties.value_formatted
+ token_logo: MetaOapg.properties.token_logo
+ token_name: MetaOapg.properties.token_name
+ token_decimals: MetaOapg.properties.token_decimals
+ token_symbol: MetaOapg.properties.token_symbol
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_name"]) -> MetaOapg.properties.token_name: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_decimals"]) -> MetaOapg.properties.token_decimals: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["address"]) -> MetaOapg.properties.address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["verified_contract"]) -> MetaOapg.properties.verified_contract: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["token_name", "token_symbol", "token_logo", "token_decimals", "address", "to_address", "from_address", "value", "value_formatted", "log_index", "possible_spam", "verified_contract", "block_timestamp", "to_address_label", "from_address_label", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_name"]) -> MetaOapg.properties.token_name: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_symbol"]) -> MetaOapg.properties.token_symbol: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_logo"]) -> MetaOapg.properties.token_logo: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_decimals"]) -> MetaOapg.properties.token_decimals: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["address"]) -> MetaOapg.properties.address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value_formatted"]) -> MetaOapg.properties.value_formatted: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["verified_contract"]) -> MetaOapg.properties.verified_contract: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_timestamp"]) -> typing.Union[MetaOapg.properties.block_timestamp, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["token_name", "token_symbol", "token_logo", "token_decimals", "address", "to_address", "from_address", "value", "value_formatted", "log_index", "possible_spam", "verified_contract", "block_timestamp", "to_address_label", "from_address_label", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ address: typing.Union[MetaOapg.properties.address, str, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, str, ],
+ transaction_index: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ log_index: typing.Union[MetaOapg.properties.log_index, decimal.Decimal, int, ],
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, ],
+ verified_contract: typing.Union[MetaOapg.properties.verified_contract, bool, ],
+ value_formatted: typing.Union[MetaOapg.properties.value_formatted, str, ],
+ token_logo: typing.Union[MetaOapg.properties.token_logo, str, ],
+ token_name: typing.Union[MetaOapg.properties.token_name, str, ],
+ token_decimals: typing.Union[MetaOapg.properties.token_decimals, str, ],
+ token_symbol: typing.Union[MetaOapg.properties.token_symbol, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ block_timestamp: typing.Union[MetaOapg.properties.block_timestamp, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'WalletHistoryErc20Transfer':
+ return super().__new__(
+ cls,
+ *args,
+ address=address,
+ to_address=to_address,
+ transaction_index=transaction_index,
+ log_index=log_index,
+ possible_spam=possible_spam,
+ verified_contract=verified_contract,
+ value_formatted=value_formatted,
+ token_logo=token_logo,
+ token_name=token_name,
+ token_decimals=token_decimals,
+ token_symbol=token_symbol,
+ from_address=from_address,
+ value=value,
+ block_timestamp=block_timestamp,
+ to_address_label=to_address_label,
+ from_address_label=from_address_label,
+ _configuration=_configuration,
+ **kwargs,
+ )
diff --git a/src/openapi_evm_api/model/wallet_history_nft_transfer.py b/src/openapi_evm_api/model/wallet_history_nft_transfer.py
new file mode 100644
index 0000000..f806fcc
--- /dev/null
+++ b/src/openapi_evm_api/model/wallet_history_nft_transfer.py
@@ -0,0 +1,321 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class WalletHistoryNftTransfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "contract_type",
+ "amount",
+ "possible_spam",
+ "token_id",
+ "verified",
+ "to_address",
+ "token_address",
+ "transaction_type",
+ "from_address",
+ "log_index",
+ "value",
+ "direction",
+ }
+
+ class properties:
+ token_address = schemas.StrSchema
+ token_id = schemas.StrSchema
+ from_address = schemas.StrSchema
+ to_address = schemas.StrSchema
+ value = schemas.StrSchema
+ amount = schemas.StrSchema
+ contract_type = schemas.StrSchema
+ transaction_type = schemas.StrSchema
+ log_index = schemas.IntSchema
+ possible_spam = schemas.BoolSchema
+ direction = schemas.StrSchema
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ operator = schemas.StrSchema
+ verified_collection = schemas.BoolSchema
+ collection_logo = schemas.StrSchema
+ collection_banner_image = schemas.StrSchema
+
+ @staticmethod
+ def normalized_metadata() -> typing.Type['NormalizedMetadata']:
+ return NormalizedMetadata
+ __annotations__ = {
+ "token_address": token_address,
+ "token_id": token_id,
+ "from_address": from_address,
+ "to_address": to_address,
+ "value": value,
+ "amount": amount,
+ "contract_type": contract_type,
+ "transaction_type": transaction_type,
+ "log_index": log_index,
+ "possible_spam": possible_spam,
+ "direction": direction,
+ "from_address_label": from_address_label,
+ "to_address_label": to_address_label,
+ "operator": operator,
+ "verified_collection": verified_collection,
+ "collection_logo": collection_logo,
+ "collection_banner_image": collection_banner_image,
+ "normalized_metadata": normalized_metadata,
+ }
+
+
+ contract_type: MetaOapg.properties.contract_type
+ amount: MetaOapg.properties.amount
+ possible_spam: MetaOapg.properties.possible_spam
+ token_id: MetaOapg.properties.token_id
+ verified: schemas.AnyTypeSchema
+ to_address: MetaOapg.properties.to_address
+ token_address: MetaOapg.properties.token_address
+ transaction_type: MetaOapg.properties.transaction_type
+ from_address: MetaOapg.properties.from_address
+ log_index: MetaOapg.properties.log_index
+ value: MetaOapg.properties.value
+ direction: MetaOapg.properties.direction
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_address"]) -> MetaOapg.properties.token_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_id"]) -> MetaOapg.properties.token_id: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["contract_type"]) -> MetaOapg.properties.contract_type: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["transaction_type"]) -> MetaOapg.properties.transaction_type: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["verified_collection"]) -> MetaOapg.properties.verified_collection: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["collection_logo"]) -> MetaOapg.properties.collection_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["collection_banner_image"]) -> MetaOapg.properties.collection_banner_image: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["normalized_metadata"]) -> 'NormalizedMetadata': ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["token_address", "token_id", "from_address", "to_address", "value", "amount", "contract_type", "transaction_type", "log_index", "possible_spam", "direction", "from_address_label", "to_address_label", "operator", "verified_collection", "collection_logo", "collection_banner_image", "normalized_metadata", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_address"]) -> MetaOapg.properties.token_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_id"]) -> MetaOapg.properties.token_id: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["contract_type"]) -> MetaOapg.properties.contract_type: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["transaction_type"]) -> MetaOapg.properties.transaction_type: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> typing.Union[MetaOapg.properties.operator, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["verified_collection"]) -> typing.Union[MetaOapg.properties.verified_collection, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["collection_logo"]) -> typing.Union[MetaOapg.properties.collection_logo, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["collection_banner_image"]) -> typing.Union[MetaOapg.properties.collection_banner_image, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["normalized_metadata"]) -> typing.Union['NormalizedMetadata', schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["token_address", "token_id", "from_address", "to_address", "value", "amount", "contract_type", "transaction_type", "log_index", "possible_spam", "direction", "from_address_label", "to_address_label", "operator", "verified_collection", "collection_logo", "collection_banner_image", "normalized_metadata", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ contract_type: typing.Union[MetaOapg.properties.contract_type, str, ],
+ amount: typing.Union[MetaOapg.properties.amount, str, ],
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, ],
+ token_id: typing.Union[MetaOapg.properties.token_id, str, ],
+ verified: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, str, ],
+ token_address: typing.Union[MetaOapg.properties.token_address, str, ],
+ transaction_type: typing.Union[MetaOapg.properties.transaction_type, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ log_index: typing.Union[MetaOapg.properties.log_index, decimal.Decimal, int, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ direction: typing.Union[MetaOapg.properties.direction, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ operator: typing.Union[MetaOapg.properties.operator, str, schemas.Unset] = schemas.unset,
+ verified_collection: typing.Union[MetaOapg.properties.verified_collection, bool, schemas.Unset] = schemas.unset,
+ collection_logo: typing.Union[MetaOapg.properties.collection_logo, str, schemas.Unset] = schemas.unset,
+ collection_banner_image: typing.Union[MetaOapg.properties.collection_banner_image, str, schemas.Unset] = schemas.unset,
+ normalized_metadata: typing.Union['NormalizedMetadata', schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'WalletHistoryNftTransfer':
+ return super().__new__(
+ cls,
+ *args,
+ contract_type=contract_type,
+ amount=amount,
+ possible_spam=possible_spam,
+ token_id=token_id,
+ verified=verified,
+ to_address=to_address,
+ token_address=token_address,
+ transaction_type=transaction_type,
+ from_address=from_address,
+ log_index=log_index,
+ value=value,
+ direction=direction,
+ from_address_label=from_address_label,
+ to_address_label=to_address_label,
+ operator=operator,
+ verified_collection=verified_collection,
+ collection_logo=collection_logo,
+ collection_banner_image=collection_banner_image,
+ normalized_metadata=normalized_metadata,
+ _configuration=_configuration,
+ **kwargs,
+ )
+
+from openapi_evm_api.model.normalized_metadata import NormalizedMetadata
diff --git a/src/openapi_evm_api/model/wallet_history_nft_transfer.pyi b/src/openapi_evm_api/model/wallet_history_nft_transfer.pyi
new file mode 100644
index 0000000..f806fcc
--- /dev/null
+++ b/src/openapi_evm_api/model/wallet_history_nft_transfer.pyi
@@ -0,0 +1,321 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+
+class WalletHistoryNftTransfer(
+ schemas.AnyTypeSchema,
+):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+ """
+
+
+ class MetaOapg:
+ required = {
+ "contract_type",
+ "amount",
+ "possible_spam",
+ "token_id",
+ "verified",
+ "to_address",
+ "token_address",
+ "transaction_type",
+ "from_address",
+ "log_index",
+ "value",
+ "direction",
+ }
+
+ class properties:
+ token_address = schemas.StrSchema
+ token_id = schemas.StrSchema
+ from_address = schemas.StrSchema
+ to_address = schemas.StrSchema
+ value = schemas.StrSchema
+ amount = schemas.StrSchema
+ contract_type = schemas.StrSchema
+ transaction_type = schemas.StrSchema
+ log_index = schemas.IntSchema
+ possible_spam = schemas.BoolSchema
+ direction = schemas.StrSchema
+
+
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+
+
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ operator = schemas.StrSchema
+ verified_collection = schemas.BoolSchema
+ collection_logo = schemas.StrSchema
+ collection_banner_image = schemas.StrSchema
+
+ @staticmethod
+ def normalized_metadata() -> typing.Type['NormalizedMetadata']:
+ return NormalizedMetadata
+ __annotations__ = {
+ "token_address": token_address,
+ "token_id": token_id,
+ "from_address": from_address,
+ "to_address": to_address,
+ "value": value,
+ "amount": amount,
+ "contract_type": contract_type,
+ "transaction_type": transaction_type,
+ "log_index": log_index,
+ "possible_spam": possible_spam,
+ "direction": direction,
+ "from_address_label": from_address_label,
+ "to_address_label": to_address_label,
+ "operator": operator,
+ "verified_collection": verified_collection,
+ "collection_logo": collection_logo,
+ "collection_banner_image": collection_banner_image,
+ "normalized_metadata": normalized_metadata,
+ }
+
+
+ contract_type: MetaOapg.properties.contract_type
+ amount: MetaOapg.properties.amount
+ possible_spam: MetaOapg.properties.possible_spam
+ token_id: MetaOapg.properties.token_id
+ verified: schemas.AnyTypeSchema
+ to_address: MetaOapg.properties.to_address
+ token_address: MetaOapg.properties.token_address
+ transaction_type: MetaOapg.properties.transaction_type
+ from_address: MetaOapg.properties.from_address
+ log_index: MetaOapg.properties.log_index
+ value: MetaOapg.properties.value
+ direction: MetaOapg.properties.direction
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_address"]) -> MetaOapg.properties.token_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["token_id"]) -> MetaOapg.properties.token_id: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["contract_type"]) -> MetaOapg.properties.contract_type: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["transaction_type"]) -> MetaOapg.properties.transaction_type: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["verified_collection"]) -> MetaOapg.properties.verified_collection: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["collection_logo"]) -> MetaOapg.properties.collection_logo: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["collection_banner_image"]) -> MetaOapg.properties.collection_banner_image: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["normalized_metadata"]) -> 'NormalizedMetadata': ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["token_address", "token_id", "from_address", "to_address", "value", "amount", "contract_type", "transaction_type", "log_index", "possible_spam", "direction", "from_address_label", "to_address_label", "operator", "verified_collection", "collection_logo", "collection_banner_image", "normalized_metadata", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_address"]) -> MetaOapg.properties.token_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["token_id"]) -> MetaOapg.properties.token_id: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["contract_type"]) -> MetaOapg.properties.contract_type: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["transaction_type"]) -> MetaOapg.properties.transaction_type: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["log_index"]) -> MetaOapg.properties.log_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> typing.Union[MetaOapg.properties.operator, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["verified_collection"]) -> typing.Union[MetaOapg.properties.verified_collection, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["collection_logo"]) -> typing.Union[MetaOapg.properties.collection_logo, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["collection_banner_image"]) -> typing.Union[MetaOapg.properties.collection_banner_image, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["normalized_metadata"]) -> typing.Union['NormalizedMetadata', schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["token_address", "token_id", "from_address", "to_address", "value", "amount", "contract_type", "transaction_type", "log_index", "possible_spam", "direction", "from_address_label", "to_address_label", "operator", "verified_collection", "collection_logo", "collection_banner_image", "normalized_metadata", ], str]):
+ return super().get_item_oapg(name)
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ contract_type: typing.Union[MetaOapg.properties.contract_type, str, ],
+ amount: typing.Union[MetaOapg.properties.amount, str, ],
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, ],
+ token_id: typing.Union[MetaOapg.properties.token_id, str, ],
+ verified: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, str, ],
+ token_address: typing.Union[MetaOapg.properties.token_address, str, ],
+ transaction_type: typing.Union[MetaOapg.properties.transaction_type, str, ],
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ log_index: typing.Union[MetaOapg.properties.log_index, decimal.Decimal, int, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ direction: typing.Union[MetaOapg.properties.direction, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ operator: typing.Union[MetaOapg.properties.operator, str, schemas.Unset] = schemas.unset,
+ verified_collection: typing.Union[MetaOapg.properties.verified_collection, bool, schemas.Unset] = schemas.unset,
+ collection_logo: typing.Union[MetaOapg.properties.collection_logo, str, schemas.Unset] = schemas.unset,
+ collection_banner_image: typing.Union[MetaOapg.properties.collection_banner_image, str, schemas.Unset] = schemas.unset,
+ normalized_metadata: typing.Union['NormalizedMetadata', schemas.Unset] = schemas.unset,
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
+ ) -> 'WalletHistoryNftTransfer':
+ return super().__new__(
+ cls,
+ *args,
+ contract_type=contract_type,
+ amount=amount,
+ possible_spam=possible_spam,
+ token_id=token_id,
+ verified=verified,
+ to_address=to_address,
+ token_address=token_address,
+ transaction_type=transaction_type,
+ from_address=from_address,
+ log_index=log_index,
+ value=value,
+ direction=direction,
+ from_address_label=from_address_label,
+ to_address_label=to_address_label,
+ operator=operator,
+ verified_collection=verified_collection,
+ collection_logo=collection_logo,
+ collection_banner_image=collection_banner_image,
+ normalized_metadata=normalized_metadata,
+ _configuration=_configuration,
+ **kwargs,
+ )
+
+from openapi_evm_api.model.normalized_metadata import NormalizedMetadata
diff --git a/src/openapi_evm_api/model/wallet_history_transaction.py b/src/openapi_evm_api/model/wallet_history_transaction.py
index acf015a..cd0421e 100644
--- a/src/openapi_evm_api/model/wallet_history_transaction.py
+++ b/src/openapi_evm_api/model/wallet_history_transaction.py
@@ -24,7 +24,7 @@
class WalletHistoryTransaction(
- schemas.ComposedSchema,
+ schemas.DictSchema
):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
@@ -34,204 +34,490 @@ class WalletHistoryTransaction(
class MetaOapg:
+ required = {
+ "gas_price",
+ "summary",
+ "receipt_status",
+ "receipt_cumulative_gas_used",
+ "block_hash",
+ "block_number",
+ "native_transfers",
+ "to_address",
+ "transaction_index",
+ "nonce",
+ "erc20_transfers",
+ "nft_transfers",
+ "receipt_gas_used",
+ "block_timestamp",
+ "category",
+ "from_address",
+ "value",
+ "hash",
+ }
+ class properties:
+ hash = schemas.StrSchema
+ nonce = schemas.StrSchema
+ transaction_index = schemas.StrSchema
+ from_address = schemas.StrSchema
+
+
+ class to_address(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ value = schemas.StrSchema
+ gas_price = schemas.StrSchema
+ receipt_cumulative_gas_used = schemas.StrSchema
+ receipt_gas_used = schemas.StrSchema
+ receipt_status = schemas.StrSchema
+ block_timestamp = schemas.StrSchema
+ block_number = schemas.StrSchema
+ block_hash = schemas.StrSchema
- class all_of_1(
- schemas.AnyTypeSchema,
- ):
-
-
- class MetaOapg:
- required = {
- "summary",
- "nft_transfers",
- "category",
- "erc20_transfers",
- }
-
- class properties:
-
- @staticmethod
- def category() -> typing.Type['ETransactionCategory']:
- return ETransactionCategory
- possible_spam = schemas.BoolSchema
- method_label = schemas.StrSchema
- summary = schemas.StrSchema
-
-
- class nft_transfers(
- schemas.ListSchema
- ):
-
-
- class MetaOapg:
-
- @staticmethod
- def items() -> typing.Type['NftTransfer']:
- return NftTransfer
-
- def __new__(
- cls,
- arg: typing.Union[typing.Tuple['NftTransfer'], typing.List['NftTransfer']],
- _configuration: typing.Optional[schemas.Configuration] = None,
- ) -> 'nft_transfers':
- return super().__new__(
- cls,
- arg,
- _configuration=_configuration,
- )
-
- def __getitem__(self, i: int) -> 'NftTransfer':
- return super().__getitem__(i)
-
-
- class erc20_transfer(
- schemas.ListSchema
- ):
-
-
- class MetaOapg:
-
- @staticmethod
- def items() -> typing.Type['Erc20Transaction']:
- return Erc20Transaction
+ @staticmethod
+ def category() -> typing.Type['ETransactionCategory']:
+ return ETransactionCategory
+ summary = schemas.StrSchema
+
+
+ class nft_transfers(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
- def __new__(
- cls,
- arg: typing.Union[typing.Tuple['Erc20Transaction'], typing.List['Erc20Transaction']],
- _configuration: typing.Optional[schemas.Configuration] = None,
- ) -> 'erc20_transfer':
- return super().__new__(
- cls,
- arg,
- _configuration=_configuration,
- )
+ @staticmethod
+ def items() -> typing.Type['WalletHistoryNftTransfer']:
+ return WalletHistoryNftTransfer
+
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['WalletHistoryNftTransfer'], typing.List['WalletHistoryNftTransfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'nft_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'WalletHistoryNftTransfer':
+ return super().__getitem__(i)
+
+
+ class erc20_transfers(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
- def __getitem__(self, i: int) -> 'Erc20Transaction':
- return super().__getitem__(i)
- __annotations__ = {
- "category": category,
- "possible_spam": possible_spam,
- "method_label": method_label,
- "summary": summary,
- "nft_transfers": nft_transfers,
- "erc20_transfer": erc20_transfer,
- }
-
+ @staticmethod
+ def items() -> typing.Type['WalletHistoryErc20Transfer']:
+ return WalletHistoryErc20Transfer
- summary: MetaOapg.properties.summary
- nft_transfers: MetaOapg.properties.nft_transfers
- category: 'ETransactionCategory'
- erc20_transfers: schemas.AnyTypeSchema
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['WalletHistoryErc20Transfer'], typing.List['WalletHistoryErc20Transfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'erc20_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+ def __getitem__(self, i: int) -> 'WalletHistoryErc20Transfer':
+ return super().__getitem__(i)
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["method_label"]) -> MetaOapg.properties.method_label: ...
+ class native_transfers(
+ schemas.ListSchema
+ ):
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['NativeTransfer']:
+ return NativeTransfer
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["erc20_transfer"]) -> MetaOapg.properties.erc20_transfer: ...
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['NativeTransfer'], typing.List['NativeTransfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'native_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'NativeTransfer':
+ return super().__getitem__(i)
- @typing.overload
- def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
- def __getitem__(self, name: typing.Union[typing_extensions.Literal["category", "possible_spam", "method_label", "summary", "nft_transfers", "erc20_transfer", ], str]):
- # dict_instance[name] accessor
- return super().__getitem__(name)
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> typing.Union[MetaOapg.properties.possible_spam, schemas.Unset]: ...
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["method_label"]) -> typing.Union[MetaOapg.properties.method_label, schemas.Unset]: ...
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ gas = schemas.StrSchema
+ input = schemas.StrSchema
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["erc20_transfer"]) -> typing.Union[MetaOapg.properties.erc20_transfer, schemas.Unset]: ...
- @typing.overload
- def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+ class internal_transactions(
+ schemas.ListSchema
+ ):
- def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["category", "possible_spam", "method_label", "summary", "nft_transfers", "erc20_transfer", ], str]):
- return super().get_item_oapg(name)
-
- def __new__(
- cls,
- *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
- summary: typing.Union[MetaOapg.properties.summary, str, ],
- nft_transfers: typing.Union[MetaOapg.properties.nft_transfers, list, tuple, ],
- category: 'ETransactionCategory',
- erc20_transfers: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
- possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, schemas.Unset] = schemas.unset,
- method_label: typing.Union[MetaOapg.properties.method_label, str, schemas.Unset] = schemas.unset,
- erc20_transfer: typing.Union[MetaOapg.properties.erc20_transfer, list, tuple, schemas.Unset] = schemas.unset,
- _configuration: typing.Optional[schemas.Configuration] = None,
- **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
- ) -> 'all_of_1':
- return super().__new__(
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['InternalTransaction']:
+ return InternalTransaction
+
+ def __new__(
cls,
- *args,
- summary=summary,
- nft_transfers=nft_transfers,
- category=category,
- erc20_transfers=erc20_transfers,
- possible_spam=possible_spam,
- method_label=method_label,
- erc20_transfer=erc20_transfer,
- _configuration=_configuration,
- **kwargs,
- )
-
- @classmethod
- @functools.lru_cache()
- def all_of(cls):
- # we need this here to make our import statements work
- # we must store _composed_schemas in here so the code is only run
- # when we invoke this method. If we kept this at the class
- # level we would get an error because the class level
- # code would be run when this module is imported, and these composed
- # classes don't exist yet because their module has not finished
- # loading
- return [
- BlockTransaction,
- cls.all_of_1,
- ]
-
+ arg: typing.Union[typing.Tuple['InternalTransaction'], typing.List['InternalTransaction']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'internal_transactions':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'InternalTransaction':
+ return super().__getitem__(i)
+ possible_spam = schemas.BoolSchema
+ method_label = schemas.StrSchema
+ __annotations__ = {
+ "hash": hash,
+ "nonce": nonce,
+ "transaction_index": transaction_index,
+ "from_address": from_address,
+ "to_address": to_address,
+ "value": value,
+ "gas_price": gas_price,
+ "receipt_cumulative_gas_used": receipt_cumulative_gas_used,
+ "receipt_gas_used": receipt_gas_used,
+ "receipt_status": receipt_status,
+ "block_timestamp": block_timestamp,
+ "block_number": block_number,
+ "block_hash": block_hash,
+ "category": category,
+ "summary": summary,
+ "nft_transfers": nft_transfers,
+ "erc20_transfers": erc20_transfers,
+ "native_transfers": native_transfers,
+ "from_address_label": from_address_label,
+ "to_address_label": to_address_label,
+ "gas": gas,
+ "input": input,
+ "internal_transactions": internal_transactions,
+ "possible_spam": possible_spam,
+ "method_label": method_label,
+ }
+
+ gas_price: MetaOapg.properties.gas_price
+ summary: MetaOapg.properties.summary
+ receipt_status: MetaOapg.properties.receipt_status
+ receipt_cumulative_gas_used: MetaOapg.properties.receipt_cumulative_gas_used
+ block_hash: MetaOapg.properties.block_hash
+ block_number: MetaOapg.properties.block_number
+ native_transfers: MetaOapg.properties.native_transfers
+ to_address: MetaOapg.properties.to_address
+ transaction_index: MetaOapg.properties.transaction_index
+ nonce: MetaOapg.properties.nonce
+ erc20_transfers: MetaOapg.properties.erc20_transfers
+ nft_transfers: MetaOapg.properties.nft_transfers
+ receipt_gas_used: MetaOapg.properties.receipt_gas_used
+ block_timestamp: MetaOapg.properties.block_timestamp
+ category: 'ETransactionCategory'
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+ hash: MetaOapg.properties.hash
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["hash"]) -> MetaOapg.properties.hash: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["nonce"]) -> MetaOapg.properties.nonce: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["transaction_index"]) -> MetaOapg.properties.transaction_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["gas_price"]) -> MetaOapg.properties.gas_price: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_cumulative_gas_used"]) -> MetaOapg.properties.receipt_cumulative_gas_used: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_gas_used"]) -> MetaOapg.properties.receipt_gas_used: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_status"]) -> MetaOapg.properties.receipt_status: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_number"]) -> MetaOapg.properties.block_number: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_hash"]) -> MetaOapg.properties.block_hash: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["erc20_transfers"]) -> MetaOapg.properties.erc20_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["native_transfers"]) -> MetaOapg.properties.native_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["gas"]) -> MetaOapg.properties.gas: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["input"]) -> MetaOapg.properties.input: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["internal_transactions"]) -> MetaOapg.properties.internal_transactions: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["method_label"]) -> MetaOapg.properties.method_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["hash", "nonce", "transaction_index", "from_address", "to_address", "value", "gas_price", "receipt_cumulative_gas_used", "receipt_gas_used", "receipt_status", "block_timestamp", "block_number", "block_hash", "category", "summary", "nft_transfers", "erc20_transfers", "native_transfers", "from_address_label", "to_address_label", "gas", "input", "internal_transactions", "possible_spam", "method_label", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["hash"]) -> MetaOapg.properties.hash: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["nonce"]) -> MetaOapg.properties.nonce: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["transaction_index"]) -> MetaOapg.properties.transaction_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["gas_price"]) -> MetaOapg.properties.gas_price: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_cumulative_gas_used"]) -> MetaOapg.properties.receipt_cumulative_gas_used: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_gas_used"]) -> MetaOapg.properties.receipt_gas_used: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_status"]) -> MetaOapg.properties.receipt_status: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_number"]) -> MetaOapg.properties.block_number: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_hash"]) -> MetaOapg.properties.block_hash: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["erc20_transfers"]) -> MetaOapg.properties.erc20_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["native_transfers"]) -> MetaOapg.properties.native_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["gas"]) -> typing.Union[MetaOapg.properties.gas, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["input"]) -> typing.Union[MetaOapg.properties.input, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["internal_transactions"]) -> typing.Union[MetaOapg.properties.internal_transactions, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> typing.Union[MetaOapg.properties.possible_spam, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["method_label"]) -> typing.Union[MetaOapg.properties.method_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["hash", "nonce", "transaction_index", "from_address", "to_address", "value", "gas_price", "receipt_cumulative_gas_used", "receipt_gas_used", "receipt_status", "block_timestamp", "block_number", "block_hash", "category", "summary", "nft_transfers", "erc20_transfers", "native_transfers", "from_address_label", "to_address_label", "gas", "input", "internal_transactions", "possible_spam", "method_label", ], str]):
+ return super().get_item_oapg(name)
+
def __new__(
cls,
- *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ *args: typing.Union[dict, frozendict.frozendict, ],
+ gas_price: typing.Union[MetaOapg.properties.gas_price, str, ],
+ summary: typing.Union[MetaOapg.properties.summary, str, ],
+ receipt_status: typing.Union[MetaOapg.properties.receipt_status, str, ],
+ receipt_cumulative_gas_used: typing.Union[MetaOapg.properties.receipt_cumulative_gas_used, str, ],
+ block_hash: typing.Union[MetaOapg.properties.block_hash, str, ],
+ block_number: typing.Union[MetaOapg.properties.block_number, str, ],
+ native_transfers: typing.Union[MetaOapg.properties.native_transfers, list, tuple, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, None, str, ],
+ transaction_index: typing.Union[MetaOapg.properties.transaction_index, str, ],
+ nonce: typing.Union[MetaOapg.properties.nonce, str, ],
+ erc20_transfers: typing.Union[MetaOapg.properties.erc20_transfers, list, tuple, ],
+ nft_transfers: typing.Union[MetaOapg.properties.nft_transfers, list, tuple, ],
+ receipt_gas_used: typing.Union[MetaOapg.properties.receipt_gas_used, str, ],
+ block_timestamp: typing.Union[MetaOapg.properties.block_timestamp, str, ],
+ category: 'ETransactionCategory',
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ hash: typing.Union[MetaOapg.properties.hash, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ gas: typing.Union[MetaOapg.properties.gas, str, schemas.Unset] = schemas.unset,
+ input: typing.Union[MetaOapg.properties.input, str, schemas.Unset] = schemas.unset,
+ internal_transactions: typing.Union[MetaOapg.properties.internal_transactions, list, tuple, schemas.Unset] = schemas.unset,
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, schemas.Unset] = schemas.unset,
+ method_label: typing.Union[MetaOapg.properties.method_label, str, schemas.Unset] = schemas.unset,
_configuration: typing.Optional[schemas.Configuration] = None,
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
) -> 'WalletHistoryTransaction':
return super().__new__(
cls,
*args,
+ gas_price=gas_price,
+ summary=summary,
+ receipt_status=receipt_status,
+ receipt_cumulative_gas_used=receipt_cumulative_gas_used,
+ block_hash=block_hash,
+ block_number=block_number,
+ native_transfers=native_transfers,
+ to_address=to_address,
+ transaction_index=transaction_index,
+ nonce=nonce,
+ erc20_transfers=erc20_transfers,
+ nft_transfers=nft_transfers,
+ receipt_gas_used=receipt_gas_used,
+ block_timestamp=block_timestamp,
+ category=category,
+ from_address=from_address,
+ value=value,
+ hash=hash,
+ from_address_label=from_address_label,
+ to_address_label=to_address_label,
+ gas=gas,
+ input=input,
+ internal_transactions=internal_transactions,
+ possible_spam=possible_spam,
+ method_label=method_label,
_configuration=_configuration,
**kwargs,
)
-from openapi_evm_api.model.block_transaction import BlockTransaction
from openapi_evm_api.model.e_transaction_category import ETransactionCategory
-from openapi_evm_api.model.erc20_transaction import Erc20Transaction
-from openapi_evm_api.model.nft_transfer import NftTransfer
+from openapi_evm_api.model.internal_transaction import InternalTransaction
+from openapi_evm_api.model.native_transfer import NativeTransfer
+from openapi_evm_api.model.wallet_history_erc20_transfer import WalletHistoryErc20Transfer
+from openapi_evm_api.model.wallet_history_nft_transfer import WalletHistoryNftTransfer
diff --git a/src/openapi_evm_api/model/wallet_history_transaction.pyi b/src/openapi_evm_api/model/wallet_history_transaction.pyi
index acf015a..cd0421e 100644
--- a/src/openapi_evm_api/model/wallet_history_transaction.pyi
+++ b/src/openapi_evm_api/model/wallet_history_transaction.pyi
@@ -24,7 +24,7 @@ from openapi_evm_api import schemas # noqa: F401
class WalletHistoryTransaction(
- schemas.ComposedSchema,
+ schemas.DictSchema
):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
@@ -34,204 +34,490 @@ class WalletHistoryTransaction(
class MetaOapg:
+ required = {
+ "gas_price",
+ "summary",
+ "receipt_status",
+ "receipt_cumulative_gas_used",
+ "block_hash",
+ "block_number",
+ "native_transfers",
+ "to_address",
+ "transaction_index",
+ "nonce",
+ "erc20_transfers",
+ "nft_transfers",
+ "receipt_gas_used",
+ "block_timestamp",
+ "category",
+ "from_address",
+ "value",
+ "hash",
+ }
+ class properties:
+ hash = schemas.StrSchema
+ nonce = schemas.StrSchema
+ transaction_index = schemas.StrSchema
+ from_address = schemas.StrSchema
+
+
+ class to_address(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
+
+
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ value = schemas.StrSchema
+ gas_price = schemas.StrSchema
+ receipt_cumulative_gas_used = schemas.StrSchema
+ receipt_gas_used = schemas.StrSchema
+ receipt_status = schemas.StrSchema
+ block_timestamp = schemas.StrSchema
+ block_number = schemas.StrSchema
+ block_hash = schemas.StrSchema
- class all_of_1(
- schemas.AnyTypeSchema,
- ):
-
-
- class MetaOapg:
- required = {
- "summary",
- "nft_transfers",
- "category",
- "erc20_transfers",
- }
-
- class properties:
-
- @staticmethod
- def category() -> typing.Type['ETransactionCategory']:
- return ETransactionCategory
- possible_spam = schemas.BoolSchema
- method_label = schemas.StrSchema
- summary = schemas.StrSchema
-
-
- class nft_transfers(
- schemas.ListSchema
- ):
-
-
- class MetaOapg:
-
- @staticmethod
- def items() -> typing.Type['NftTransfer']:
- return NftTransfer
-
- def __new__(
- cls,
- arg: typing.Union[typing.Tuple['NftTransfer'], typing.List['NftTransfer']],
- _configuration: typing.Optional[schemas.Configuration] = None,
- ) -> 'nft_transfers':
- return super().__new__(
- cls,
- arg,
- _configuration=_configuration,
- )
-
- def __getitem__(self, i: int) -> 'NftTransfer':
- return super().__getitem__(i)
-
-
- class erc20_transfer(
- schemas.ListSchema
- ):
-
-
- class MetaOapg:
-
- @staticmethod
- def items() -> typing.Type['Erc20Transaction']:
- return Erc20Transaction
+ @staticmethod
+ def category() -> typing.Type['ETransactionCategory']:
+ return ETransactionCategory
+ summary = schemas.StrSchema
+
+
+ class nft_transfers(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
- def __new__(
- cls,
- arg: typing.Union[typing.Tuple['Erc20Transaction'], typing.List['Erc20Transaction']],
- _configuration: typing.Optional[schemas.Configuration] = None,
- ) -> 'erc20_transfer':
- return super().__new__(
- cls,
- arg,
- _configuration=_configuration,
- )
+ @staticmethod
+ def items() -> typing.Type['WalletHistoryNftTransfer']:
+ return WalletHistoryNftTransfer
+
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['WalletHistoryNftTransfer'], typing.List['WalletHistoryNftTransfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'nft_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'WalletHistoryNftTransfer':
+ return super().__getitem__(i)
+
+
+ class erc20_transfers(
+ schemas.ListSchema
+ ):
+
+
+ class MetaOapg:
- def __getitem__(self, i: int) -> 'Erc20Transaction':
- return super().__getitem__(i)
- __annotations__ = {
- "category": category,
- "possible_spam": possible_spam,
- "method_label": method_label,
- "summary": summary,
- "nft_transfers": nft_transfers,
- "erc20_transfer": erc20_transfer,
- }
-
+ @staticmethod
+ def items() -> typing.Type['WalletHistoryErc20Transfer']:
+ return WalletHistoryErc20Transfer
- summary: MetaOapg.properties.summary
- nft_transfers: MetaOapg.properties.nft_transfers
- category: 'ETransactionCategory'
- erc20_transfers: schemas.AnyTypeSchema
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['WalletHistoryErc20Transfer'], typing.List['WalletHistoryErc20Transfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'erc20_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+ def __getitem__(self, i: int) -> 'WalletHistoryErc20Transfer':
+ return super().__getitem__(i)
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["method_label"]) -> MetaOapg.properties.method_label: ...
+ class native_transfers(
+ schemas.ListSchema
+ ):
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['NativeTransfer']:
+ return NativeTransfer
- @typing.overload
- def __getitem__(self, name: typing_extensions.Literal["erc20_transfer"]) -> MetaOapg.properties.erc20_transfer: ...
+ def __new__(
+ cls,
+ arg: typing.Union[typing.Tuple['NativeTransfer'], typing.List['NativeTransfer']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'native_transfers':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'NativeTransfer':
+ return super().__getitem__(i)
- @typing.overload
- def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
- def __getitem__(self, name: typing.Union[typing_extensions.Literal["category", "possible_spam", "method_label", "summary", "nft_transfers", "erc20_transfer", ], str]):
- # dict_instance[name] accessor
- return super().__getitem__(name)
+ class from_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'from_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> typing.Union[MetaOapg.properties.possible_spam, schemas.Unset]: ...
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["method_label"]) -> typing.Union[MetaOapg.properties.method_label, schemas.Unset]: ...
+ class to_address_label(
+ schemas.StrBase,
+ schemas.NoneBase,
+ schemas.Schema,
+ schemas.NoneStrMixin
+ ):
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+ def __new__(
+ cls,
+ *args: typing.Union[None, str, ],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'to_address_label':
+ return super().__new__(
+ cls,
+ *args,
+ _configuration=_configuration,
+ )
+ gas = schemas.StrSchema
+ input = schemas.StrSchema
- @typing.overload
- def get_item_oapg(self, name: typing_extensions.Literal["erc20_transfer"]) -> typing.Union[MetaOapg.properties.erc20_transfer, schemas.Unset]: ...
- @typing.overload
- def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+ class internal_transactions(
+ schemas.ListSchema
+ ):
- def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["category", "possible_spam", "method_label", "summary", "nft_transfers", "erc20_transfer", ], str]):
- return super().get_item_oapg(name)
-
- def __new__(
- cls,
- *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
- summary: typing.Union[MetaOapg.properties.summary, str, ],
- nft_transfers: typing.Union[MetaOapg.properties.nft_transfers, list, tuple, ],
- category: 'ETransactionCategory',
- erc20_transfers: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
- possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, schemas.Unset] = schemas.unset,
- method_label: typing.Union[MetaOapg.properties.method_label, str, schemas.Unset] = schemas.unset,
- erc20_transfer: typing.Union[MetaOapg.properties.erc20_transfer, list, tuple, schemas.Unset] = schemas.unset,
- _configuration: typing.Optional[schemas.Configuration] = None,
- **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
- ) -> 'all_of_1':
- return super().__new__(
+ class MetaOapg:
+
+ @staticmethod
+ def items() -> typing.Type['InternalTransaction']:
+ return InternalTransaction
+
+ def __new__(
cls,
- *args,
- summary=summary,
- nft_transfers=nft_transfers,
- category=category,
- erc20_transfers=erc20_transfers,
- possible_spam=possible_spam,
- method_label=method_label,
- erc20_transfer=erc20_transfer,
- _configuration=_configuration,
- **kwargs,
- )
-
- @classmethod
- @functools.lru_cache()
- def all_of(cls):
- # we need this here to make our import statements work
- # we must store _composed_schemas in here so the code is only run
- # when we invoke this method. If we kept this at the class
- # level we would get an error because the class level
- # code would be run when this module is imported, and these composed
- # classes don't exist yet because their module has not finished
- # loading
- return [
- BlockTransaction,
- cls.all_of_1,
- ]
-
+ arg: typing.Union[typing.Tuple['InternalTransaction'], typing.List['InternalTransaction']],
+ _configuration: typing.Optional[schemas.Configuration] = None,
+ ) -> 'internal_transactions':
+ return super().__new__(
+ cls,
+ arg,
+ _configuration=_configuration,
+ )
+
+ def __getitem__(self, i: int) -> 'InternalTransaction':
+ return super().__getitem__(i)
+ possible_spam = schemas.BoolSchema
+ method_label = schemas.StrSchema
+ __annotations__ = {
+ "hash": hash,
+ "nonce": nonce,
+ "transaction_index": transaction_index,
+ "from_address": from_address,
+ "to_address": to_address,
+ "value": value,
+ "gas_price": gas_price,
+ "receipt_cumulative_gas_used": receipt_cumulative_gas_used,
+ "receipt_gas_used": receipt_gas_used,
+ "receipt_status": receipt_status,
+ "block_timestamp": block_timestamp,
+ "block_number": block_number,
+ "block_hash": block_hash,
+ "category": category,
+ "summary": summary,
+ "nft_transfers": nft_transfers,
+ "erc20_transfers": erc20_transfers,
+ "native_transfers": native_transfers,
+ "from_address_label": from_address_label,
+ "to_address_label": to_address_label,
+ "gas": gas,
+ "input": input,
+ "internal_transactions": internal_transactions,
+ "possible_spam": possible_spam,
+ "method_label": method_label,
+ }
+
+ gas_price: MetaOapg.properties.gas_price
+ summary: MetaOapg.properties.summary
+ receipt_status: MetaOapg.properties.receipt_status
+ receipt_cumulative_gas_used: MetaOapg.properties.receipt_cumulative_gas_used
+ block_hash: MetaOapg.properties.block_hash
+ block_number: MetaOapg.properties.block_number
+ native_transfers: MetaOapg.properties.native_transfers
+ to_address: MetaOapg.properties.to_address
+ transaction_index: MetaOapg.properties.transaction_index
+ nonce: MetaOapg.properties.nonce
+ erc20_transfers: MetaOapg.properties.erc20_transfers
+ nft_transfers: MetaOapg.properties.nft_transfers
+ receipt_gas_used: MetaOapg.properties.receipt_gas_used
+ block_timestamp: MetaOapg.properties.block_timestamp
+ category: 'ETransactionCategory'
+ from_address: MetaOapg.properties.from_address
+ value: MetaOapg.properties.value
+ hash: MetaOapg.properties.hash
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["hash"]) -> MetaOapg.properties.hash: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["nonce"]) -> MetaOapg.properties.nonce: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["transaction_index"]) -> MetaOapg.properties.transaction_index: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["gas_price"]) -> MetaOapg.properties.gas_price: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_cumulative_gas_used"]) -> MetaOapg.properties.receipt_cumulative_gas_used: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_gas_used"]) -> MetaOapg.properties.receipt_gas_used: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["receipt_status"]) -> MetaOapg.properties.receipt_status: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_number"]) -> MetaOapg.properties.block_number: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["block_hash"]) -> MetaOapg.properties.block_hash: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["erc20_transfers"]) -> MetaOapg.properties.erc20_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["native_transfers"]) -> MetaOapg.properties.native_transfers: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["from_address_label"]) -> MetaOapg.properties.from_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["to_address_label"]) -> MetaOapg.properties.to_address_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["gas"]) -> MetaOapg.properties.gas: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["input"]) -> MetaOapg.properties.input: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["internal_transactions"]) -> MetaOapg.properties.internal_transactions: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["possible_spam"]) -> MetaOapg.properties.possible_spam: ...
+
+ @typing.overload
+ def __getitem__(self, name: typing_extensions.Literal["method_label"]) -> MetaOapg.properties.method_label: ...
+
+ @typing.overload
+ def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
+
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["hash", "nonce", "transaction_index", "from_address", "to_address", "value", "gas_price", "receipt_cumulative_gas_used", "receipt_gas_used", "receipt_status", "block_timestamp", "block_number", "block_hash", "category", "summary", "nft_transfers", "erc20_transfers", "native_transfers", "from_address_label", "to_address_label", "gas", "input", "internal_transactions", "possible_spam", "method_label", ], str]):
+ # dict_instance[name] accessor
+ return super().__getitem__(name)
+
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["hash"]) -> MetaOapg.properties.hash: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["nonce"]) -> MetaOapg.properties.nonce: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["transaction_index"]) -> MetaOapg.properties.transaction_index: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address"]) -> MetaOapg.properties.from_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address"]) -> MetaOapg.properties.to_address: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["gas_price"]) -> MetaOapg.properties.gas_price: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_cumulative_gas_used"]) -> MetaOapg.properties.receipt_cumulative_gas_used: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_gas_used"]) -> MetaOapg.properties.receipt_gas_used: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["receipt_status"]) -> MetaOapg.properties.receipt_status: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_timestamp"]) -> MetaOapg.properties.block_timestamp: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_number"]) -> MetaOapg.properties.block_number: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["block_hash"]) -> MetaOapg.properties.block_hash: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> 'ETransactionCategory': ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["summary"]) -> MetaOapg.properties.summary: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["nft_transfers"]) -> MetaOapg.properties.nft_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["erc20_transfers"]) -> MetaOapg.properties.erc20_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["native_transfers"]) -> MetaOapg.properties.native_transfers: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["from_address_label"]) -> typing.Union[MetaOapg.properties.from_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["to_address_label"]) -> typing.Union[MetaOapg.properties.to_address_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["gas"]) -> typing.Union[MetaOapg.properties.gas, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["input"]) -> typing.Union[MetaOapg.properties.input, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["internal_transactions"]) -> typing.Union[MetaOapg.properties.internal_transactions, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["possible_spam"]) -> typing.Union[MetaOapg.properties.possible_spam, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: typing_extensions.Literal["method_label"]) -> typing.Union[MetaOapg.properties.method_label, schemas.Unset]: ...
+
+ @typing.overload
+ def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
+
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["hash", "nonce", "transaction_index", "from_address", "to_address", "value", "gas_price", "receipt_cumulative_gas_used", "receipt_gas_used", "receipt_status", "block_timestamp", "block_number", "block_hash", "category", "summary", "nft_transfers", "erc20_transfers", "native_transfers", "from_address_label", "to_address_label", "gas", "input", "internal_transactions", "possible_spam", "method_label", ], str]):
+ return super().get_item_oapg(name)
+
def __new__(
cls,
- *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
+ *args: typing.Union[dict, frozendict.frozendict, ],
+ gas_price: typing.Union[MetaOapg.properties.gas_price, str, ],
+ summary: typing.Union[MetaOapg.properties.summary, str, ],
+ receipt_status: typing.Union[MetaOapg.properties.receipt_status, str, ],
+ receipt_cumulative_gas_used: typing.Union[MetaOapg.properties.receipt_cumulative_gas_used, str, ],
+ block_hash: typing.Union[MetaOapg.properties.block_hash, str, ],
+ block_number: typing.Union[MetaOapg.properties.block_number, str, ],
+ native_transfers: typing.Union[MetaOapg.properties.native_transfers, list, tuple, ],
+ to_address: typing.Union[MetaOapg.properties.to_address, None, str, ],
+ transaction_index: typing.Union[MetaOapg.properties.transaction_index, str, ],
+ nonce: typing.Union[MetaOapg.properties.nonce, str, ],
+ erc20_transfers: typing.Union[MetaOapg.properties.erc20_transfers, list, tuple, ],
+ nft_transfers: typing.Union[MetaOapg.properties.nft_transfers, list, tuple, ],
+ receipt_gas_used: typing.Union[MetaOapg.properties.receipt_gas_used, str, ],
+ block_timestamp: typing.Union[MetaOapg.properties.block_timestamp, str, ],
+ category: 'ETransactionCategory',
+ from_address: typing.Union[MetaOapg.properties.from_address, str, ],
+ value: typing.Union[MetaOapg.properties.value, str, ],
+ hash: typing.Union[MetaOapg.properties.hash, str, ],
+ from_address_label: typing.Union[MetaOapg.properties.from_address_label, None, str, schemas.Unset] = schemas.unset,
+ to_address_label: typing.Union[MetaOapg.properties.to_address_label, None, str, schemas.Unset] = schemas.unset,
+ gas: typing.Union[MetaOapg.properties.gas, str, schemas.Unset] = schemas.unset,
+ input: typing.Union[MetaOapg.properties.input, str, schemas.Unset] = schemas.unset,
+ internal_transactions: typing.Union[MetaOapg.properties.internal_transactions, list, tuple, schemas.Unset] = schemas.unset,
+ possible_spam: typing.Union[MetaOapg.properties.possible_spam, bool, schemas.Unset] = schemas.unset,
+ method_label: typing.Union[MetaOapg.properties.method_label, str, schemas.Unset] = schemas.unset,
_configuration: typing.Optional[schemas.Configuration] = None,
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
) -> 'WalletHistoryTransaction':
return super().__new__(
cls,
*args,
+ gas_price=gas_price,
+ summary=summary,
+ receipt_status=receipt_status,
+ receipt_cumulative_gas_used=receipt_cumulative_gas_used,
+ block_hash=block_hash,
+ block_number=block_number,
+ native_transfers=native_transfers,
+ to_address=to_address,
+ transaction_index=transaction_index,
+ nonce=nonce,
+ erc20_transfers=erc20_transfers,
+ nft_transfers=nft_transfers,
+ receipt_gas_used=receipt_gas_used,
+ block_timestamp=block_timestamp,
+ category=category,
+ from_address=from_address,
+ value=value,
+ hash=hash,
+ from_address_label=from_address_label,
+ to_address_label=to_address_label,
+ gas=gas,
+ input=input,
+ internal_transactions=internal_transactions,
+ possible_spam=possible_spam,
+ method_label=method_label,
_configuration=_configuration,
**kwargs,
)
-from openapi_evm_api.model.block_transaction import BlockTransaction
from openapi_evm_api.model.e_transaction_category import ETransactionCategory
-from openapi_evm_api.model.erc20_transaction import Erc20Transaction
-from openapi_evm_api.model.nft_transfer import NftTransfer
+from openapi_evm_api.model.internal_transaction import InternalTransaction
+from openapi_evm_api.model.native_transfer import NativeTransfer
+from openapi_evm_api.model.wallet_history_erc20_transfer import WalletHistoryErc20Transfer
+from openapi_evm_api.model.wallet_history_nft_transfer import WalletHistoryNftTransfer
diff --git a/src/openapi_evm_api/models/__init__.py b/src/openapi_evm_api/models/__init__.py
index a3e7380..75fa834 100644
--- a/src/openapi_evm_api/models/__init__.py
+++ b/src/openapi_evm_api/models/__init__.py
@@ -37,6 +37,8 @@
from openapi_evm_api.model.erc20_token_balance import Erc20TokenBalance
from openapi_evm_api.model.erc20_token_balance_with_price import Erc20TokenBalanceWithPrice
from openapi_evm_api.model.erc20_token_balance_with_price_result import Erc20TokenBalanceWithPriceResult
+from openapi_evm_api.model.erc20_token_owner import Erc20TokenOwner
+from openapi_evm_api.model.erc20_token_owner_collection import Erc20TokenOwnerCollection
from openapi_evm_api.model.erc20_token_stat import Erc20TokenStat
from openapi_evm_api.model.erc20_transaction import Erc20Transaction
from openapi_evm_api.model.erc20_transaction_collection import Erc20TransactionCollection
@@ -66,6 +68,7 @@
from openapi_evm_api.model.native_balance import NativeBalance
from openapi_evm_api.model.native_balances import NativeBalances
from openapi_evm_api.model.native_erc20_price import NativeErc20Price
+from openapi_evm_api.model.native_transfer import NativeTransfer
from openapi_evm_api.model.net_worth_result import NetWorthResult
from openapi_evm_api.model.nft import Nft
from openapi_evm_api.model.nft_collection import NftCollection
@@ -103,6 +106,8 @@
from openapi_evm_api.model.wallet_active_chain import WalletActiveChain
from openapi_evm_api.model.wallet_active_chains import WalletActiveChains
from openapi_evm_api.model.wallet_history import WalletHistory
+from openapi_evm_api.model.wallet_history_erc20_transfer import WalletHistoryErc20Transfer
+from openapi_evm_api.model.wallet_history_nft_transfer import WalletHistoryNftTransfer
from openapi_evm_api.model.wallet_history_transaction import WalletHistoryTransaction
from openapi_evm_api.model.wallet_stat import WalletStat
from openapi_evm_api.model.web3version import Web3version
diff --git a/src/openapi_evm_api/paths/__init__.py b/src/openapi_evm_api/paths/__init__.py
index 75b5fb0..aeabcf1 100644
--- a/src/openapi_evm_api/paths/__init__.py
+++ b/src/openapi_evm_api/paths/__init__.py
@@ -26,6 +26,7 @@ class PathValues(str, enum.Enum):
NFT_ADDRESS_LOWESTPRICE = "/nft/{address}/lowestprice"
ERC20_ADDRESS_PRICE = "/erc20/{address}/price"
ERC20_PRICES = "/erc20/prices"
+ ERC20_TOKEN_ADDRESS_OWNERS = "/erc20/{token_address}/owners"
ADDRESS_ERC20 = "/{address}/erc20"
ADDRESS_ERC20_TRANSFERS = "/{address}/erc20/transfers"
ERC20_METADATA = "/erc20/metadata"
diff --git a/src/openapi_evm_api/paths/erc20_token_address_owners/__init__.py b/src/openapi_evm_api/paths/erc20_token_address_owners/__init__.py
new file mode 100644
index 0000000..a20129f
--- /dev/null
+++ b/src/openapi_evm_api/paths/erc20_token_address_owners/__init__.py
@@ -0,0 +1,7 @@
+# do not import all endpoints into this module because that uses a lot of memory and stack frames
+# if you need the ability to import all endpoints from this module, import them with
+# from openapi_evm_api.paths.erc20_token_address_owners import Api
+
+from openapi_evm_api.paths import PathValues
+
+path = PathValues.ERC20_TOKEN_ADDRESS_OWNERS
\ No newline at end of file
diff --git a/src/openapi_evm_api/paths/erc20_token_address_owners/get.py b/src/openapi_evm_api/paths/erc20_token_address_owners/get.py
new file mode 100644
index 0000000..74125bd
--- /dev/null
+++ b/src/openapi_evm_api/paths/erc20_token_address_owners/get.py
@@ -0,0 +1,384 @@
+# coding: utf-8
+
+"""
+
+
+ Generated by: https://openapi-generator.tech
+"""
+
+from dataclasses import dataclass
+import typing_extensions
+import urllib3
+from urllib3._collections import HTTPHeaderDict
+
+from openapi_evm_api import api_client, exceptions
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+from openapi_evm_api.model.erc20_token_owner_collection import Erc20TokenOwnerCollection
+from openapi_evm_api.model.chain_list import ChainList
+from openapi_evm_api.model.order_list import OrderList
+
+from . import path
+
+# Query params
+ChainSchema = ChainList
+
+
+class LimitSchema(
+ schemas.IntSchema
+):
+
+
+ class MetaOapg:
+ inclusive_minimum = 0
+CursorSchema = schemas.StrSchema
+OrderSchema = OrderList
+RequestRequiredQueryParams = typing_extensions.TypedDict(
+ 'RequestRequiredQueryParams',
+ {
+ }
+)
+RequestOptionalQueryParams = typing_extensions.TypedDict(
+ 'RequestOptionalQueryParams',
+ {
+ 'chain': typing.Union[ChainSchema, ],
+ 'limit': typing.Union[LimitSchema, decimal.Decimal, int, ],
+ 'cursor': typing.Union[CursorSchema, str, ],
+ 'order': typing.Union[OrderSchema, ],
+ },
+ total=False
+)
+
+
+class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams):
+ pass
+
+
+request_query_chain = api_client.QueryParameter(
+ name="chain",
+ style=api_client.ParameterStyle.FORM,
+ schema=ChainSchema,
+ explode=True,
+)
+request_query_limit = api_client.QueryParameter(
+ name="limit",
+ style=api_client.ParameterStyle.FORM,
+ schema=LimitSchema,
+ explode=True,
+)
+request_query_cursor = api_client.QueryParameter(
+ name="cursor",
+ style=api_client.ParameterStyle.FORM,
+ schema=CursorSchema,
+ explode=True,
+)
+request_query_order = api_client.QueryParameter(
+ name="order",
+ style=api_client.ParameterStyle.FORM,
+ schema=OrderSchema,
+ explode=True,
+)
+# Path params
+TokenAddressSchema = schemas.StrSchema
+RequestRequiredPathParams = typing_extensions.TypedDict(
+ 'RequestRequiredPathParams',
+ {
+ 'token_address': typing.Union[TokenAddressSchema, str, ],
+ }
+)
+RequestOptionalPathParams = typing_extensions.TypedDict(
+ 'RequestOptionalPathParams',
+ {
+ },
+ total=False
+)
+
+
+class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams):
+ pass
+
+
+request_path_token_address = api_client.PathParameter(
+ name="token_address",
+ style=api_client.ParameterStyle.SIMPLE,
+ schema=TokenAddressSchema,
+ required=True,
+)
+_auth = [
+ 'ApiKeyAuth',
+]
+SchemaFor200ResponseBodyApplicationJson = Erc20TokenOwnerCollection
+
+
+@dataclass
+class ApiResponseFor200(api_client.ApiResponse):
+ response: urllib3.HTTPResponse
+ body: typing.Union[
+ SchemaFor200ResponseBodyApplicationJson,
+ ]
+ headers: schemas.Unset = schemas.unset
+
+
+_response_for_200 = api_client.OpenApiResponse(
+ response_cls=ApiResponseFor200,
+ content={
+ 'application/json': api_client.MediaType(
+ schema=SchemaFor200ResponseBodyApplicationJson),
+ },
+)
+_status_code_to_response = {
+ '200': _response_for_200,
+}
+_all_accept_content_types = (
+ 'application/json',
+)
+
+
+class BaseApi(api_client.Api):
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ """
+ Get ERC20 token owners by contract
+ :param skip_deserialization: If true then api_response.response will be set but
+ api_response.body and api_response.headers will not be deserialized into schema
+ class instances
+ """
+ self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params)
+ self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params)
+ used_path = path.value
+
+ _path_params = {}
+ for parameter in (
+ request_path_token_address,
+ ):
+ parameter_data = path_params.get(parameter.name, schemas.unset)
+ if parameter_data is schemas.unset:
+ continue
+ serialized_data = parameter.serialize(parameter_data)
+ _path_params.update(serialized_data)
+
+ for k, v in _path_params.items():
+ used_path = used_path.replace('{%s}' % k, v)
+
+ prefix_separator_iterator = None
+ for parameter in (
+ request_query_chain,
+ request_query_limit,
+ request_query_cursor,
+ request_query_order,
+ ):
+ parameter_data = query_params.get(parameter.name, schemas.unset)
+ if parameter_data is schemas.unset:
+ continue
+ if prefix_separator_iterator is None:
+ prefix_separator_iterator = parameter.get_prefix_separator_iterator()
+ serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator)
+ for serialized_value in serialized_data.values():
+ used_path += serialized_value
+
+ _headers = HTTPHeaderDict()
+ # TODO add cookie handling
+ if accept_content_types:
+ for accept_content_type in accept_content_types:
+ _headers.add('Accept', accept_content_type)
+
+ response = self.api_client.call_api(
+ resource_path=used_path,
+ method='get'.upper(),
+ headers=_headers,
+ auth_settings=_auth,
+ stream=stream,
+ timeout=timeout,
+ )
+
+ if skip_deserialization:
+ api_response = api_client.ApiResponseWithoutDeserialization(response=response)
+ else:
+ response_for_status = _status_code_to_response.get(str(response.status))
+ if response_for_status:
+ api_response = response_for_status.deserialize(response, self.api_client.configuration)
+ else:
+ api_response = api_client.ApiResponseWithoutDeserialization(response=response)
+
+ if not 200 <= response.status <= 299:
+ raise exceptions.ApiException(api_response=api_response)
+
+ return api_response
+
+
+class GetTokenOwners(BaseApi):
+ # this class is used by api classes that refer to endpoints with operationId fn names
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ return self._get_token_owners_oapg(
+ query_params=query_params,
+ path_params=path_params,
+ accept_content_types=accept_content_types,
+ stream=stream,
+ timeout=timeout,
+ skip_deserialization=skip_deserialization
+ )
+
+
+class ApiForget(BaseApi):
+ # this class is used by api classes that refer to endpoints by path and http method names
+
+ @typing.overload
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def get(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ return self._get_token_owners_oapg(
+ query_params=query_params,
+ path_params=path_params,
+ accept_content_types=accept_content_types,
+ stream=stream,
+ timeout=timeout,
+ skip_deserialization=skip_deserialization
+ )
+
+
diff --git a/src/openapi_evm_api/paths/erc20_token_address_owners/get.pyi b/src/openapi_evm_api/paths/erc20_token_address_owners/get.pyi
new file mode 100644
index 0000000..1d7a638
--- /dev/null
+++ b/src/openapi_evm_api/paths/erc20_token_address_owners/get.pyi
@@ -0,0 +1,373 @@
+# coding: utf-8
+
+"""
+
+
+ Generated by: https://openapi-generator.tech
+"""
+
+from dataclasses import dataclass
+import typing_extensions
+import urllib3
+from urllib3._collections import HTTPHeaderDict
+
+from openapi_evm_api import api_client, exceptions
+from datetime import date, datetime # noqa: F401
+import decimal # noqa: F401
+import functools # noqa: F401
+import io # noqa: F401
+import re # noqa: F401
+import typing # noqa: F401
+import typing_extensions # noqa: F401
+import uuid # noqa: F401
+
+import frozendict # noqa: F401
+
+from openapi_evm_api import schemas # noqa: F401
+
+from openapi_evm_api.model.erc20_token_owner_collection import Erc20TokenOwnerCollection
+from openapi_evm_api.model.chain_list import ChainList
+from openapi_evm_api.model.order_list import OrderList
+
+# Query params
+ChainSchema = ChainList
+
+
+class LimitSchema(
+ schemas.IntSchema
+):
+ pass
+CursorSchema = schemas.StrSchema
+OrderSchema = OrderList
+RequestRequiredQueryParams = typing_extensions.TypedDict(
+ 'RequestRequiredQueryParams',
+ {
+ }
+)
+RequestOptionalQueryParams = typing_extensions.TypedDict(
+ 'RequestOptionalQueryParams',
+ {
+ 'chain': typing.Union[ChainSchema, ],
+ 'limit': typing.Union[LimitSchema, decimal.Decimal, int, ],
+ 'cursor': typing.Union[CursorSchema, str, ],
+ 'order': typing.Union[OrderSchema, ],
+ },
+ total=False
+)
+
+
+class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams):
+ pass
+
+
+request_query_chain = api_client.QueryParameter(
+ name="chain",
+ style=api_client.ParameterStyle.FORM,
+ schema=ChainSchema,
+ explode=True,
+)
+request_query_limit = api_client.QueryParameter(
+ name="limit",
+ style=api_client.ParameterStyle.FORM,
+ schema=LimitSchema,
+ explode=True,
+)
+request_query_cursor = api_client.QueryParameter(
+ name="cursor",
+ style=api_client.ParameterStyle.FORM,
+ schema=CursorSchema,
+ explode=True,
+)
+request_query_order = api_client.QueryParameter(
+ name="order",
+ style=api_client.ParameterStyle.FORM,
+ schema=OrderSchema,
+ explode=True,
+)
+# Path params
+TokenAddressSchema = schemas.StrSchema
+RequestRequiredPathParams = typing_extensions.TypedDict(
+ 'RequestRequiredPathParams',
+ {
+ 'token_address': typing.Union[TokenAddressSchema, str, ],
+ }
+)
+RequestOptionalPathParams = typing_extensions.TypedDict(
+ 'RequestOptionalPathParams',
+ {
+ },
+ total=False
+)
+
+
+class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams):
+ pass
+
+
+request_path_token_address = api_client.PathParameter(
+ name="token_address",
+ style=api_client.ParameterStyle.SIMPLE,
+ schema=TokenAddressSchema,
+ required=True,
+)
+SchemaFor200ResponseBodyApplicationJson = Erc20TokenOwnerCollection
+
+
+@dataclass
+class ApiResponseFor200(api_client.ApiResponse):
+ response: urllib3.HTTPResponse
+ body: typing.Union[
+ SchemaFor200ResponseBodyApplicationJson,
+ ]
+ headers: schemas.Unset = schemas.unset
+
+
+_response_for_200 = api_client.OpenApiResponse(
+ response_cls=ApiResponseFor200,
+ content={
+ 'application/json': api_client.MediaType(
+ schema=SchemaFor200ResponseBodyApplicationJson),
+ },
+)
+_all_accept_content_types = (
+ 'application/json',
+)
+
+
+class BaseApi(api_client.Api):
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def _get_token_owners_oapg(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ """
+ Get ERC20 token owners by contract
+ :param skip_deserialization: If true then api_response.response will be set but
+ api_response.body and api_response.headers will not be deserialized into schema
+ class instances
+ """
+ self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params)
+ self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params)
+ used_path = path.value
+
+ _path_params = {}
+ for parameter in (
+ request_path_token_address,
+ ):
+ parameter_data = path_params.get(parameter.name, schemas.unset)
+ if parameter_data is schemas.unset:
+ continue
+ serialized_data = parameter.serialize(parameter_data)
+ _path_params.update(serialized_data)
+
+ for k, v in _path_params.items():
+ used_path = used_path.replace('{%s}' % k, v)
+
+ prefix_separator_iterator = None
+ for parameter in (
+ request_query_chain,
+ request_query_limit,
+ request_query_cursor,
+ request_query_order,
+ ):
+ parameter_data = query_params.get(parameter.name, schemas.unset)
+ if parameter_data is schemas.unset:
+ continue
+ if prefix_separator_iterator is None:
+ prefix_separator_iterator = parameter.get_prefix_separator_iterator()
+ serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator)
+ for serialized_value in serialized_data.values():
+ used_path += serialized_value
+
+ _headers = HTTPHeaderDict()
+ # TODO add cookie handling
+ if accept_content_types:
+ for accept_content_type in accept_content_types:
+ _headers.add('Accept', accept_content_type)
+
+ response = self.api_client.call_api(
+ resource_path=used_path,
+ method='get'.upper(),
+ headers=_headers,
+ auth_settings=_auth,
+ stream=stream,
+ timeout=timeout,
+ )
+
+ if skip_deserialization:
+ api_response = api_client.ApiResponseWithoutDeserialization(response=response)
+ else:
+ response_for_status = _status_code_to_response.get(str(response.status))
+ if response_for_status:
+ api_response = response_for_status.deserialize(response, self.api_client.configuration)
+ else:
+ api_response = api_client.ApiResponseWithoutDeserialization(response=response)
+
+ if not 200 <= response.status <= 299:
+ raise exceptions.ApiException(api_response=api_response)
+
+ return api_response
+
+
+class GetTokenOwners(BaseApi):
+ # this class is used by api classes that refer to endpoints with operationId fn names
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def get_token_owners(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ return self._get_token_owners_oapg(
+ query_params=query_params,
+ path_params=path_params,
+ accept_content_types=accept_content_types,
+ stream=stream,
+ timeout=timeout,
+ skip_deserialization=skip_deserialization
+ )
+
+
+class ApiForget(BaseApi):
+ # this class is used by api classes that refer to endpoints by path and http method names
+
+ @typing.overload
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: typing_extensions.Literal[False] = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ ]: ...
+
+ @typing.overload
+ def get(
+ self,
+ skip_deserialization: typing_extensions.Literal[True],
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ ) -> api_client.ApiResponseWithoutDeserialization: ...
+
+ @typing.overload
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = ...,
+ ) -> typing.Union[
+ ApiResponseFor200,
+ api_client.ApiResponseWithoutDeserialization,
+ ]: ...
+
+ def get(
+ self,
+ query_params: RequestQueryParams = frozendict.frozendict(),
+ path_params: RequestPathParams = frozendict.frozendict(),
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
+ stream: bool = False,
+ timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None,
+ skip_deserialization: bool = False,
+ ):
+ return self._get_token_owners_oapg(
+ query_params=query_params,
+ path_params=path_params,
+ accept_content_types=accept_content_types,
+ stream=stream,
+ timeout=timeout,
+ skip_deserialization=skip_deserialization
+ )
+
+
diff --git a/src/openapi_evm_api/paths/wallets_address_history/get.py b/src/openapi_evm_api/paths/wallets_address_history/get.py
index e076e4d..e9f4894 100644
--- a/src/openapi_evm_api/paths/wallets_address_history/get.py
+++ b/src/openapi_evm_api/paths/wallets_address_history/get.py
@@ -53,7 +53,8 @@ class MetaOapg:
inclusive_minimum = 0
FromDateSchema = schemas.StrSchema
ToDateSchema = schemas.StrSchema
-InternalTransactionsSchema = schemas.BoolSchema
+IncludeInternalTransactionsSchema = schemas.BoolSchema
+IncludeInputDataSchema = schemas.BoolSchema
NftMetadataSchema = schemas.BoolSchema
CursorSchema = schemas.StrSchema
OrderSchema = OrderList
@@ -79,7 +80,8 @@ class MetaOapg:
'to_block': typing.Union[ToBlockSchema, decimal.Decimal, int, ],
'from_date': typing.Union[FromDateSchema, str, ],
'to_date': typing.Union[ToDateSchema, str, ],
- 'internal_transactions': typing.Union[InternalTransactionsSchema, bool, ],
+ 'include_internal_transactions': typing.Union[IncludeInternalTransactionsSchema, bool, ],
+ 'include_input_data': typing.Union[IncludeInputDataSchema, bool, ],
'nft_metadata': typing.Union[NftMetadataSchema, bool, ],
'cursor': typing.Union[CursorSchema, str, ],
'order': typing.Union[OrderSchema, ],
@@ -123,10 +125,16 @@ class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams)
schema=ToDateSchema,
explode=True,
)
-request_query_internal_transactions = api_client.QueryParameter(
- name="internal_transactions",
+request_query_include_internal_transactions = api_client.QueryParameter(
+ name="include_internal_transactions",
style=api_client.ParameterStyle.FORM,
- schema=InternalTransactionsSchema,
+ schema=IncludeInternalTransactionsSchema,
+ explode=True,
+)
+request_query_include_input_data = api_client.QueryParameter(
+ name="include_input_data",
+ style=api_client.ParameterStyle.FORM,
+ schema=IncludeInputDataSchema,
explode=True,
)
request_query_nft_metadata = api_client.QueryParameter(
@@ -287,7 +295,8 @@ class instances
request_query_to_block,
request_query_from_date,
request_query_to_date,
- request_query_internal_transactions,
+ request_query_include_internal_transactions,
+ request_query_include_input_data,
request_query_nft_metadata,
request_query_cursor,
request_query_order,
diff --git a/src/openapi_evm_api/paths/wallets_address_history/get.pyi b/src/openapi_evm_api/paths/wallets_address_history/get.pyi
index fd93a1c..fb7c73d 100644
--- a/src/openapi_evm_api/paths/wallets_address_history/get.pyi
+++ b/src/openapi_evm_api/paths/wallets_address_history/get.pyi
@@ -45,7 +45,8 @@ class ToBlockSchema(
pass
FromDateSchema = schemas.StrSchema
ToDateSchema = schemas.StrSchema
-InternalTransactionsSchema = schemas.BoolSchema
+IncludeInternalTransactionsSchema = schemas.BoolSchema
+IncludeInputDataSchema = schemas.BoolSchema
NftMetadataSchema = schemas.BoolSchema
CursorSchema = schemas.StrSchema
OrderSchema = OrderList
@@ -68,7 +69,8 @@ RequestOptionalQueryParams = typing_extensions.TypedDict(
'to_block': typing.Union[ToBlockSchema, decimal.Decimal, int, ],
'from_date': typing.Union[FromDateSchema, str, ],
'to_date': typing.Union[ToDateSchema, str, ],
- 'internal_transactions': typing.Union[InternalTransactionsSchema, bool, ],
+ 'include_internal_transactions': typing.Union[IncludeInternalTransactionsSchema, bool, ],
+ 'include_input_data': typing.Union[IncludeInputDataSchema, bool, ],
'nft_metadata': typing.Union[NftMetadataSchema, bool, ],
'cursor': typing.Union[CursorSchema, str, ],
'order': typing.Union[OrderSchema, ],
@@ -112,10 +114,16 @@ request_query_to_date = api_client.QueryParameter(
schema=ToDateSchema,
explode=True,
)
-request_query_internal_transactions = api_client.QueryParameter(
- name="internal_transactions",
+request_query_include_internal_transactions = api_client.QueryParameter(
+ name="include_internal_transactions",
style=api_client.ParameterStyle.FORM,
- schema=InternalTransactionsSchema,
+ schema=IncludeInternalTransactionsSchema,
+ explode=True,
+)
+request_query_include_input_data = api_client.QueryParameter(
+ name="include_input_data",
+ style=api_client.ParameterStyle.FORM,
+ schema=IncludeInputDataSchema,
explode=True,
)
request_query_nft_metadata = api_client.QueryParameter(
@@ -270,7 +278,8 @@ class BaseApi(api_client.Api):
request_query_to_block,
request_query_from_date,
request_query_to_date,
- request_query_internal_transactions,
+ request_query_include_internal_transactions,
+ request_query_include_input_data,
request_query_nft_metadata,
request_query_cursor,
request_query_order,
diff --git a/src/openapi_evm_api/test/test_models/test_erc20_token_owner.py b/src/openapi_evm_api/test/test_models/test_erc20_token_owner.py
new file mode 100644
index 0000000..94771e0
--- /dev/null
+++ b/src/openapi_evm_api/test/test_models/test_erc20_token_owner.py
@@ -0,0 +1,25 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+import unittest
+
+import openapi_evm_api
+from openapi_evm_api.model.erc20_token_owner import Erc20TokenOwner
+from openapi_evm_api import configuration
+
+
+class TestErc20TokenOwner(unittest.TestCase):
+ """Erc20TokenOwner unit test stubs"""
+ _configuration = configuration.Configuration()
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/src/openapi_evm_api/test/test_models/test_erc20_token_owner_collection.py b/src/openapi_evm_api/test/test_models/test_erc20_token_owner_collection.py
new file mode 100644
index 0000000..e06aaaa
--- /dev/null
+++ b/src/openapi_evm_api/test/test_models/test_erc20_token_owner_collection.py
@@ -0,0 +1,25 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+import unittest
+
+import openapi_evm_api
+from openapi_evm_api.model.erc20_token_owner_collection import Erc20TokenOwnerCollection
+from openapi_evm_api import configuration
+
+
+class TestErc20TokenOwnerCollection(unittest.TestCase):
+ """Erc20TokenOwnerCollection unit test stubs"""
+ _configuration = configuration.Configuration()
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/src/openapi_evm_api/test/test_models/test_native_transfer.py b/src/openapi_evm_api/test/test_models/test_native_transfer.py
new file mode 100644
index 0000000..ce58b06
--- /dev/null
+++ b/src/openapi_evm_api/test/test_models/test_native_transfer.py
@@ -0,0 +1,25 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+import unittest
+
+import openapi_evm_api
+from openapi_evm_api.model.native_transfer import NativeTransfer
+from openapi_evm_api import configuration
+
+
+class TestNativeTransfer(unittest.TestCase):
+ """NativeTransfer unit test stubs"""
+ _configuration = configuration.Configuration()
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/src/openapi_evm_api/test/test_models/test_wallet_history_erc20_transfer.py b/src/openapi_evm_api/test/test_models/test_wallet_history_erc20_transfer.py
new file mode 100644
index 0000000..3b3cb04
--- /dev/null
+++ b/src/openapi_evm_api/test/test_models/test_wallet_history_erc20_transfer.py
@@ -0,0 +1,25 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+import unittest
+
+import openapi_evm_api
+from openapi_evm_api.model.wallet_history_erc20_transfer import WalletHistoryErc20Transfer
+from openapi_evm_api import configuration
+
+
+class TestWalletHistoryErc20Transfer(unittest.TestCase):
+ """WalletHistoryErc20Transfer unit test stubs"""
+ _configuration = configuration.Configuration()
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/src/openapi_evm_api/test/test_models/test_wallet_history_nft_transfer.py b/src/openapi_evm_api/test/test_models/test_wallet_history_nft_transfer.py
new file mode 100644
index 0000000..97a65f5
--- /dev/null
+++ b/src/openapi_evm_api/test/test_models/test_wallet_history_nft_transfer.py
@@ -0,0 +1,25 @@
+# coding: utf-8
+
+"""
+ EVM API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: 2.2
+ Generated by: https://openapi-generator.tech
+"""
+
+import unittest
+
+import openapi_evm_api
+from openapi_evm_api.model.wallet_history_nft_transfer import WalletHistoryNftTransfer
+from openapi_evm_api import configuration
+
+
+class TestWalletHistoryNftTransfer(unittest.TestCase):
+ """WalletHistoryNftTransfer unit test stubs"""
+ _configuration = configuration.Configuration()
+
+
+if __name__ == '__main__':
+ unittest.main()