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.$10(networkId),
$sr.$14(paymentType),
$sr.$14(stakeType)
]);
} finally {}
try {
final $dsr = _$Deser(contextAware: true);
return $dsr.$17($res);
} finally {}
}