binaryCodec property

BorshStructCodec get binaryCodec

The encoders/decoders of this class' properties.

Implementation

static BorshStructCodec get binaryCodec {
  return borsh.struct({
    'lamports': borsh.u64,
    'owner': borsh.string(),
    'data': borsh.array(borsh.string(), 2),
    'executable': borsh.boolean,
    'rentEpoch': borsh.u64,
  });
}