You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bytes array representation of a WebAssembly compiled smart contract
Yes
$args
DeployNamedArg[]
The runtime arguments for the installment deploy
Yes
$paymentAmount
string
The gas payment in motes, where 1 mote = 10^-9 CSPR
Yes
$sender
CLPublicKey
CLPublicKey of the sender of the installment deploy
Yes
$chainName
string
The name of the network the installment deploy will be sent to
Yes
$signingKeys
AsymmetricKey[]
An array of keypairs used to sign the deploy. If you are signing with one key, use an array with only the one keypair. If instead you are utilizing multi-sig functionality, provide multiple keypair objects in the array
Creates and put new Install deploy object into the network. Returns created deploy hash
Parameters
Name
Type
Description
Required
$rpcClient
RpcClient
RpcClient instance
Yes
$wasm
array
Bytes array representation of a WebAssembly compiled smart contract
Yes
$args
DeployNamedArg[]
The runtime arguments for the installment deploy
Yes
$paymentAmount
string
The gas payment in motes, where 1 mote = 10^-9 CSPR
Yes
$sender
CLPublicKey
CLPublicKey of the sender of the installment deploy
Yes
$chainName
string
The name of the network the installment deploy will be sent to
Yes
$signingKeys
AsymmetricKey[]
An array of keypairs used to sign the deploy. If you are signing with one key, use an array with only the one keypair. If instead you are utilizing multi-sig functionality, provide multiple keypair objects in the array
Name of an entrypoint of a smart contract that you wish to call
Yes
$args
DeployNamedArg[]
The runtime arguments for the installment deploy
Yes
$paymentAmount
string
The gas payment in motes, where 1 mote = 10^-9 CSPR
Yes
$sender
CLPublicKey
CLPublicKey of the sender of the installment deploy
Yes
$chainName
string
The name of the network the installment deploy will be sent to
Yes
$signingKeys
AsymmetricKey[]
An array of keypairs used to sign the deploy. If you are signing with one key, use an array with only the one keypair. If instead you are utilizing multi-sig functionality, provide multiple keypair objects in the array
Yes
$ttl
int
The time that the deploy has to live. If the deploy awaits execution longer than this interval, in milliseconds, then the deploy will fail. The default value is 1800000, which is 30 minutes
Creates CallEntryPoint object and put created object into the network. Returns created deploy hash
Parameters
Name
Type
Description
Required
$entrypoint
string
Name of an entrypoint of a smart contract that you wish to call
Yes
$args
DeployNamedArg[]
The runtime arguments for the installment deploy
Yes
$paymentAmount
string
The gas payment in motes, where 1 mote = 10^-9 CSPR
Yes
$sender
CLPublicKey
CLPublicKey of the sender of the installment deploy
Yes
$chainName
string
The name of the network the installment deploy will be sent to
Yes
$signingKeys
AsymmetricKey[]
An array of keypairs used to sign the deploy. If you are signing with one key, use an array with only the one keypair. If instead you are utilizing multi-sig functionality, provide multiple keypair objects in the array
Yes
$ttl
int
The time that the deploy has to live. If the deploy awaits execution longer than this interval, in milliseconds, then the deploy will fail. The default value is 1800000, which is 30 minutes