js-stellar-sdk icon indicating copy to clipboard operation
js-stellar-sdk copied to clipboard

Support `getVersionInfo` in the RPC client (`rpc.Server`)

Open Shaptic opened this issue 1 year ago • 0 comments

The getVersionInfo RPC call was introduced in https://github.com/stellar/soroban-rpc/pull/132 with the following API response:

interface Response {
    version: string;
    commit_hash: string;
    build_time_stamp: string;
    captive_core_version: string;
    protocol_version: number; // uint32
}

Notice that the fields are underscored rather than the camelCase for the other endpoints. This was a mistake on release and will be rectified when Protocol 22 is released by https://github.com/stellar/soroban-rpc/pull/164 to avoid breaking changes in the meantime.

Shaptic avatar Jul 01 '24 18:07 Shaptic