Contracts

Examples

contracts

Reference

async ctc.evm.async_get_contract_creation_block(contract_address, provider=None, **search_kwargs)

get block number of when contract was created

  • caches result in local database

  • behavior is undefined for functions that have undergone SELF-DESTRUCT(S)

Parameters
  • contract_address (Address) –

  • provider (ProviderSpec) –

  • search_kwargs (Any) –

Return type

int | None