coinbase_agentkit.network package¶
Submodules¶
coinbase_agentkit.network.chain_definitions module¶
- class coinbase_agentkit.network.chain_definitions.BlockExplorer(**data)¶
Bases:
BaseModel
Represents 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:
BaseModel
Represents 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:
BaseModel
Represents 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:
BaseModel
Represents 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:
BaseModel
Represents 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:
BaseModel
Represents 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: