txOutputFor

Construct the proper derived-class transaction output object for the passed blockchain This object is created with default values that then need to be set to an actual output for use.


Construct the proper derived-class transaction output object for the passed blockchain, and initialize it from the passed serialized data


Construct the proper derived-class transaction output object for the passed blockchain, and initialize it from the passed data


fun txOutputFor(address: PayAddress, tokenAmount: Long, tokenType: GroupId, nativeAmount: Long? = null): iTxOutput
fun txOutputFor(dest: PayDestination, tokenAmount: Long, tokenType: GroupId, nativeAmount: Long? = null): iTxOutput

Construct the proper derived-class transaction output object to send tokens (and some native). Only works for Nexa family.