toJson

fun toJson(): String

Serialize back to JSON for passing to spend_coin FFI.