Package org.stellar.sdk.xdr
Class SorobanTransactionData
java.lang.Object
org.stellar.sdk.xdr.SorobanTransactionData
SorobanTransactionData's original definition in the XDR file is:
struct SorobanTransactionData { ExtensionPoint ext; SorobanResources resources; // Amount of the transaction `fee` allocated to the Soroban resource fees. // The fraction of `resourceFee` corresponding to `resources` specified // above is *not* refundable (i.e. fees for instructions, ledger I/O), as // well as fees for the transaction size. // The remaining part of the fee is refundable and the charged value is // based on the actual consumption of refundable resources (events, ledger // rent bumps). // The `inclusionFee` used for prioritization of the transaction is defined // as `tx.fee - resourceFee`. int64 resourceFee; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionSorobanTransactionData
(ExtensionPoint ext, SorobanResources resources, Int64 resourceFee) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SorobanTransactionData
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SorobanTransactionData
fromXdrBase64
(String xdr) static SorobanTransactionData
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
setExt
(ExtensionPoint ext) void
setResourceFee
(Int64 resourceFee) void
setResources
(SorobanResources resources) toString()
default String
default byte[]
-
Constructor Details
-
SorobanTransactionData
public SorobanTransactionData() -
SorobanTransactionData
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getResources
-
getResourceFee
-
setExt
-
setResources
-
setResourceFee
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-