toXdrJsonValue method

Object? toXdrJsonValue()

Returns the SEP-0051 rendering of this XdrContractCodeEntry.

Implementation

Object? toXdrJsonValue() => <String, Object?>{
  'ext': _ext.toXdrJsonValue(),
  'hash': _hash.toXdrJsonValue(),
  'code': XdrJsonHelper.hex(_code, type: 'XdrContractCodeEntry', key: 'code'),
};