dotnet-stellar-sdk
dotnet-stellar-sdk copied to clipboard
Enhance RevokeSponsorshipOperation.Builder
Is your feature request related to a problem? Please describe.
At the moment the revoke sponsorship operations are quite difficult to use, for example RevokeSponsorshipOperation.Builder only takes an xdr
object (RevokeSponsorshipOp
)
Describe the solution you'd like
Have an operation class for each of the different revoke sponsorship types:
This is the approach the Java sdk takes, for example they have the classes:
- RevokeAccountSponsorshipOperation
- RevokeClaimableBalanceSponsorshipOperation
- RevokeDataSponsorshipOperation
- RevokeOfferSponsorshipOperation
- RevokeSignerSponsorshipOperation
- RevokeTrustlineSponsorshipOperation
Describe alternatives you've considered
Enhance the existing builder to support the various attributes of a revoke sponsorship rather than take an xdr
object