getSolCodec

function getSolCodec(): FixedSizeCodec<Sol | Lamports, Sol, 8>;

Returns a codec combining getSolEncoder and getSolDecoder. The encoder accepts either Sol or Lamports; the decoder always returns Sol.

Returns

FixedSizeCodec< | Sol | Lamports, Sol, 8>

See

On this page