Package-level declarations

Types

Link copied to clipboard

Represents a prepared transaction ready for signing and submission.

Link copied to clipboard
data class ClientOptions(val sourceAccountKeyPair: KeyPair, val contractId: String, val network: Network, val rpcUrl: String, val baseFee: Int = 100, val transactionTimeout: Long = 300, val submitTimeout: Int = 30, val simulate: Boolean = true, val restore: Boolean = true, val autoSubmit: Boolean = true)

Configuration options for ContractClient initialization and contract invocation.

Link copied to clipboard

A client to interact with Soroban smart contracts.

Link copied to clipboard

Utility class for working with Soroban contract specifications.

Link copied to clipboard
sealed class NativeUnionVal

Represents a union value for Soroban contract specifications. Used when passing union type values to contract functions.

Link copied to clipboard
data class SimulateHostFunctionResult(val auth: List<SorobanAuthorizationEntryXdr>?, val transactionData: SorobanTransactionDataXdr, val returnedValue: SCValXdr)

Result data from transaction simulation.

Link copied to clipboard
data class SorobanContractInfo(val envInterfaceVersion: ULong, val specEntries: List<SCSpecEntryXdr>, val metaEntries: Map<String, String>)

Stores information parsed from a Soroban contract byte code, including Environment Meta, Contract Spec Entries, and Contract Meta Entries.

Link copied to clipboard

Parses a Soroban contract byte code to extract Environment Meta, Contract Spec, and Contract Meta.

Link copied to clipboard

Exception thrown when the SorobanContractParser fails to parse the given byte code.