coinbase_agentkit.network package¶
Submodules¶
coinbase_agentkit.network.chain_definitions module¶
- class coinbase_agentkit.network.chain_definitions.BlockExplorer(**data)¶
Bases:
BaseModelRepresents a block explorer for a blockchain network.
-
api_url:
str¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
name:
str¶
-
url:
str¶
-
api_url:
- class coinbase_agentkit.network.chain_definitions.Chain(**data)¶
Bases:
BaseModelRepresents a blockchain network.
-
block_explorers:
dict[str,BlockExplorer]¶
-
id:
str¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
name:
str¶
-
native_currency:
NativeCurrency¶
-
network:
str|None¶
-
testnet:
bool|None¶
-
block_explorers:
- class coinbase_agentkit.network.chain_definitions.Contract(**data)¶
Bases:
BaseModelRepresents a contract on a blockchain network.
-
address:
str¶
-
block_created:
int|None¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
address:
- class coinbase_agentkit.network.chain_definitions.NativeCurrency(**data)¶
Bases:
BaseModelRepresents the native currency for a blockchain network.
-
decimals:
int¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
name:
str¶
-
symbol:
str¶
-
decimals:
coinbase_agentkit.network.network module¶
- class coinbase_agentkit.network.network.Network(**data)¶
Bases:
BaseModelRepresents a blockchain network.
-
chain_id:
str|None¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
network_id:
str|None¶
-
protocol_family:
str¶
-
chain_id:
Module contents¶
- class coinbase_agentkit.network.Network(**data)¶
Bases:
BaseModelRepresents a blockchain network.
-
chain_id:
str|None¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
network_id:
str|None¶
-
protocol_family:
str¶
-
chain_id: