sdk.uplcencoder.encodeterm
Home > @blaze-cardano/sdk > UPLCEncoder > encodeTerm
UPLCEncoder.encodeTerm() method
Encodes a UPLC term.
Signature:
encodeTerm(term: ParsedTerm): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| term | ParsedTerm | The parsed term to encode. | 
Returns:
void
Exceptions
{Error} If the term type is not supported.