SorobanContractParser
public final class SorobanContractParser : Sendable
Parses a soroban contract byte code to get Environment Meta, Contract Spec and Contract Meta. see: Stellar developer docs
-
Parses a soroban contract byteCode to get Environment Meta, Contract Spec and Contract Meta. see: Stellar developer docs Returns SorobanContractInfo containing the parsed data. Throws SorobanContractParserError if any exception occurred during the byte code parsing. E.g. invalid byte code.
Declaration
Swift
public static func parseContractByteCode(byteCode: Data) throws -> SorobanContractInfo
View on GitHub
Install in Dash