parseContractByteCode

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

Return

SorobanContractInfo containing the parsed environment version, spec entries, and meta entries

Parameters

byteCode

The WASM byte code of the Soroban contract

Throws

if the byte code is invalid or cannot be parsed