Pezkuwi API
GitHub
npm
Preparing search index...
@pezkuwi/api-contract
ContractPromise
Class ContractPromise
Hierarchy
Contract
<
"promise"
>
ContractPromise
Index
Constructors
constructor
Properties
_
decorate
Method
_
is
Revive
_
is
Weight
V1
abi
address
api
Accessors
query
registry
tx
Constructors
constructor
new
ContractPromise
(
api
:
ApiPromise
,
abi
:
string
|
Record
<
string
,
unknown
>
|
Abi
,
address
:
string
|
AccountId
|
AccountId20
,
)
:
ContractPromise
Parameters
api
:
ApiPromise
abi
:
string
|
Record
<
string
,
unknown
>
|
Abi
address
:
string
|
AccountId
|
AccountId20
Returns
ContractPromise
Properties
Protected
Readonly
_
decorate
Method
_decorateMethod
:
DecorateMethod
<
"promise"
>
Protected
Readonly
_
is
Revive
_isRevive
:
boolean
Protected
Readonly
_
is
Weight
V1
_isWeightV1
:
boolean
Readonly
abi
abi
:
Abi
Readonly
address
address
:
AccountId
|
AccountId20
Description
The on-chain address for this contract
Readonly
api
api
:
ApiBase
<
"promise"
>
Accessors
query
get
query
()
:
MapMessageQuery
<
ApiType
>
Returns
MapMessageQuery
<
ApiType
>
registry
get
registry
()
:
Registry
Returns
Registry
tx
get
tx
()
:
MapMessageTx
<
ApiType
>
Returns
MapMessageTx
<
ApiType
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
decorate
Method
_
is
Revive
_
is
Weight
V1
abi
address
api
Accessors
query
registry
tx
GitHub
npm
Pezkuwi API
Loading...
Description
The on-chain address for this contract