Preparing search index...
The search index is not available
@ensemble-ai/sdk
@ensemble-ai/sdk
ContractService
Class ContractService
Index
Constructors
constructor
Methods
create
Contract
validate
Network
Constructors
constructor
new
ContractService
(
provider
:
Provider
,
signer
:
Signer
)
:
ContractService
Parameters
provider
:
Provider
signer
:
Signer
Returns
ContractService
Methods
create
Contract
createContract
(
address
:
string
,
abi
:
any
)
:
Contract
Parameters
address
:
string
abi
:
any
Returns
Contract
validate
Network
validateNetwork
(
expectedChainId
:
number
)
:
Promise
<
void
>
Parameters
expectedChainId
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Contract
validate
Network
@ensemble-ai/sdk
Loading...