build static method
Implementation
static String build(Network network, MorpheusAsset asset,
SecpPublicKey senderPubKey, int nonce) {
final nativeNetwork = network.networkNativeName.toNativeUtf8();
try {
return DartApi.native.morpheusTxBuilder
.build(nativeNetwork, asset._ffi, senderPubKey.ffi, nonce)
.extract((res) => res.asString);
} finally {
calloc.free(nativeNetwork);
}
}