CompiledInstruction.fromJson constructor

CompiledInstruction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CompiledInstruction.fromJson(Map<String, dynamic> json) {
  return CompiledInstruction(
      programIdIndex: json['programIdIndex'],
      accounts: (json['accounts'] as List).cast(),
      data: SolanaRequestEncoding.decode(json['data']));
}