Class SorobanResources

java.lang.Object
org.stellar.sdk.xdr.SorobanResources
All Implemented Interfaces:
XdrElement

public class SorobanResources extends Object implements XdrElement
SorobanResources's original definition in the XDR file is:
 struct SorobanResources
 {
     // The ledger footprint of the transaction.
     LedgerFootprint footprint;
     // The maximum number of instructions this transaction can use
     uint32 instructions;

     // The maximum number of bytes this transaction can read from disk backed entries
     uint32 diskReadBytes;
     // The maximum number of bytes this transaction can write to ledger
     uint32 writeBytes;
 };
 
  • Constructor Details

    • SorobanResources

      public SorobanResources()
    • SorobanResources

      public SorobanResources(LedgerFootprint footprint, Uint32 instructions, Uint32 diskReadBytes, Uint32 writeBytes)
      Creates a new SorobanResources instance.
      Parameters:
      footprint - the footprint field value
      instructions - the instructions field value
      diskReadBytes - the diskReadBytes field value
      writeBytes - the writeBytes field value
  • Method Details