build Base64
Builds and returns the SorobanTransactionData as a base64-encoded XDR string.
Convenience method equivalent to build().toXdrBase64(). Useful for debugging or when working with APIs that expect XDR strings.
Example
val xdr = builder.setResourceFee(1000).buildBase64()
println("Soroban data: $xdr")Content copied to clipboard
Return
Base64-encoded XDR string