getLamportsEncoder
Returns an encoder that you can use to encode a Lamports value to a byte array.
You must supply a number decoder that will determine how encode the numeric value.
Type Parameters
| Type Parameter |
|---|
TEncoder extends NumberEncoder |
Parameters
| Parameter | Type |
|---|---|
innerEncoder | TEncoder |
Returns
Encoder<Lamports> & ExtractAdditionalProps<TEncoder, NumberEncoder>