getDeployWalletTxParams method

Future<SenderArguments> getDeployWalletTxParams({
  1. required InternalAddress ownerAddress,
  2. InternalAddress? excessAddress,
  3. BigInt? gasAmount,
  4. 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);
}