revokeDataSponsorship method
Implementation
RevokeSponsorshipOperationBuilder revokeDataSponsorship(
String accountId, String dataName) {
if (_ledgerKey != null || _signerKey != null) {
throw new Exception("can not revoke multiple entries per builder");
}
_ledgerKey = XdrLedgerKey(XdrLedgerEntryType.DATA);
XdrAccountID accountID =
XdrAccountID(KeyPair.fromAccountId(accountId).xdrPublicKey);
XdrString64 dName = XdrString64(dataName);
_ledgerKey!.data = XdrLedgerKeyData(accountID, dName);
return this;
}