validateForeignCallJSON(Defined in: src/modules/validation.ts:400 Parses a JSON string and returns Either a ForeignCallJSON object or an error.foreignCall):Either<RulesError[],ForeignCallJSON>
Parameters
| Parameter | Type | Description |
|---|---|---|
foreignCall | string | string to be parsed. |
Returns
Either<RulesError[], ForeignCallJSON>
Either the parsed ForeignCallJSON object or an error.