web3.swift
web3.swift copied to clipboard
How to create raw transaction?
how to get or create contract address on web3 ...please
how to create raw transaction using web3 ?
let rawtx = GethNewTransaction(nonce, toAccountAddress, amount, gasLimit.getInt64(), gasPrice, nil) I think it will help you. the last parameter in nil is a data you want to write into transaction.