Returns {
authority: null | PublicKey;
canonical: boolean;
compression: MetadataCompression;
data: Buffer;
dataLength: number;
dataSource: number;
discriminator: number;
encoding: MetadataEncoding;
format: Json;
mutable: boolean;
program: PublicKey;
seed: string;
}
the decoded account fields
canonical: boolean
data: Buffer
dataLength: number
dataSource: number
discriminator: number
mutable: boolean
seed: string
Decode an IDL account.
Note: Only JSON IDLs are supported.