toCardanoBaseAddress method
Future<CardanoAddress>
toCardanoBaseAddress(
- Bip32PublicKey spend,
- Bip32PublicKey stake,
- NetworkId networkId, {
- CredentialType paymentType = CredentialType.key,
- CredentialType stakeType = CredentialType.key,
inherited
Implementation
@override
Future<CardanoAddress> toCardanoBaseAddress(
Bip32PublicKey spend,
Bip32PublicKey stake,
NetworkId networkId, {
CredentialType paymentType = CredentialType.key,
CredentialType stakeType = CredentialType.key,
}) async {
final dynamic $res;
try {
final $sr = _$Ser(contextAware: true);
$res = await send(
_$toCardanoBaseAddressId,
args: [
$sr.$2(spend),
$sr.$2(stake),
$sr.$11(networkId),
$sr.$15(paymentType),
$sr.$15(stakeType),
],
);
} finally {}
try {
final $dsr = _$Deser(contextAware: true);
return $dsr.$18($res);
} finally {}
}