sendTransferNativeCoinTest method
Implementation
Future<BlockchainResponse> sendTransferNativeCoinTest(String txhex) async {
final res = await networkClient.postHTTP(
BitcoinBlockChainNetworkUrls.listOfUrls.first + '/txs/decode',
{'tx': txhex});
if (res.data['error'] != null) {
return BlockchainResponse(
data: res.data['error'],
status: BlockchainResponses.error,
);
}
return BlockchainResponse(
data: {"data": res.data},
status: BlockchainResponses.success,
);
}