fun sign(nonce: UInt256, gasPrice: Wei, gasLimit: Gas, to: Address?, value: Wei, payload: Bytes, chainId: Int?): Transaction
Creates and signs a transaction