getDeployWalletTxParams method
Future<SenderArguments>
getDeployWalletTxParams(
{ - required InternalAddress ownerAddress,
- InternalAddress? excessAddress,
- BigInt? gasAmount,
- BigInt? queryId,
})
Implementation
Future<SenderArguments> getDeployWalletTxParams(
{required InternalAddress ownerAddress,
InternalAddress? excessAddress,
BigInt? gasAmount,
BigInt? queryId}) async {
final to = this.address;
final body = createDeployWalletBody(
ownerAddress: ownerAddress,
queryId: queryId,
);
final value = gasAmount ?? PtonV1.gasConstants.deployWallet;
return SenderArguments(value: value, to: to, body: body);
}