validateASADefs( asaDefs: Record < string , { clawback?: string ; decimals: number | bigint ; defaultFrozen?: boolean ; freeze?: string ; manager?: string ; metadataHash?: string | Uint8Array | Buffer ; name?: string ; note?: string ; noteb64?: string ; optInAccNames?: string [] ; reserve?: string ; total: string | number | bigint ; unitName?: string ; url?: string ; } > , accounts: RuntimeAccountMap | AccountMap , filename: string ) : types.ASADefs
Parameters
asaDefs: Record < string , { clawback?: string ; decimals: number | bigint ; defaultFrozen?: boolean ; freeze?: string ; manager?: string ; metadataHash?: string | Uint8Array | Buffer ; name?: string ; note?: string ; noteb64?: string ; optInAccNames?: string [] ; reserve?: string ; total: string | number | bigint ; unitName?: string ; url?: string ; } >
filename: string
Returns types.ASADefs
Parses, overrides and validates asset defs map. Filaname parameter is used to indicate an ASA definition source when reporting errors.