titan-api-types 5.0.0

Definitions of types used across the Titan API
Documentation

Titan API Types

Contains type definitions for the wire protocol used by the Titan API.

Features

The following features are enabled by default:

  • pubkey-str: Enables conversions of Pubkey to/from string via five8.
  • pubkey-fromstr-const: Enables runtime parsing of Base58 strings to Pubkey via five8_const, and enables the pubkey! macro.
  • serde: Enables serde serialization for all types.

The following optional features are also available:

  • enum-other: Adds an additional Other value to most enums to allow for handling unknown Client and Server message types. Adds a dependency on rmpv.
  • solana-pubkey-convert-v2: Adds conversions to/from the Pubkey type in version 2 of the solana_pubkey crate.
  • solana-instruction-convert-v2: Adds conversions to/from the Instruction and AccountMeta types in version 2 of the solana_instruction crate. Enables solana-pubkey-convert-v2.
  • solana-pubkey-convert-v3: Adds conversions to/from the Pubkey type in version 3 of the solana_pubkey crate.
  • solana-instruction-convert-v3: Adds conversions to/from the Instruction and AccountMeta types in version 3 of the solana_instruction crate. Enables solana-pubkey-convert-v2.